This subtopic pulls together everything you know about memory and storage into one structured comparison, using four criteria the IEB consistently tests: speed, bandwidth, capacity and reliability.
Primary memory (also called main memory) is memory the CPU can access directly and immediately:
Secondary storage holds data permanently and is not directly accessed by the CPU — data must first be copied into RAM before it can be processed:
| Criterion | Primary memory (Registers → Cache → RAM) | Secondary storage (SSD → HDD → Cloud) |
|---|---|---|
| Speed | Extremely fast (nanoseconds) | Much slower (SSD: microseconds; HDD: milliseconds; cloud: depends on network speed) |
| Bandwidth | Very high — can transfer large amounts of data per second directly to the CPU | Lower — limited by the storage interface (e.g. SATA) or, for cloud, by internet connection speed |
| Capacity | Small (registers: bytes; cache: MB; RAM: GB) | Large (drives: GB–TB; cloud: often scalable/near-unlimited) |
| Reliability / Volatility | Volatile — data lost when power is removed (except in some cache designs) | Non-volatile — data is retained without power, generally considered more reliable for long-term storage |
The general rule across the whole memory hierarchy: the closer a storage type is to the CPU, the faster and more expensive per byte it is, but the smaller its capacity.
💡 Exam Tip
Comparison questions want you to address all four criteria explicitly and in both directions (e.g. 'RAM is faster but has a smaller capacity than an SSD') — a one-sided answer only earns partial marks.