Memory · Cambridge syllabus 3.3 · Lesson 2 of 2
Memory and Storage Comparison
Compare primary and secondary storage by purpose, volatility, access speed and capacity. Primary storage, RAM and ROM, is accessed directly by the CPU; RAM holds the programs and data in use. Secondary storage is not accessed directly by the CPU and keeps data permanently.
By the end, you can
- Distinguish memory from secondary storage.
- Compare volatility, speed and capacity.
- Select appropriate memory/storage for a scenario.
Primary versus secondary storage
Primary storage is what the CPU accesses directly; secondary storage is everything it cannot, and which therefore has to be copied into RAM before it can be used. Secondary storage is needed for more permanent storage of data. Opening a file means copying it from secondary storage into RAM; saving means copying it back.
The two differ in every property, and in a consistent direction. Memory is much faster and much smaller, and RAM is volatile. Storage is slower and much larger — hundreds of times the capacity for the same money — and is always non-volatile.
Choosing for a scenario follows from that. Anything being processed now goes in RAM. Anything that must survive a power cut goes in secondary storage. If it must be fast and robust, use solid-state; if it must be large and cheap, use magnetic; if it must be posted or handed over, use optical or a flash drive. A backup goes somewhere separate from the original.
Worth remembering
- Primary storage is directly accessed by the CPU; secondary storage is not.
- Primary storage is faster but smaller; secondary storage is larger and permanent.
- RAM for what is in use now, secondary storage for what must survive power off.
Worked example
A photo remains on an SSD after shutdown but the working copy being edited in RAM does not persist unless saved.
Practice
Warm-up · not marked
Check your understanding
Answer in your own words, then compare with the worked answer. Nothing here is saved or scored.
Worked answer
RAM is volatile working memory for active programs; an SSD is non-volatile secondary storage for files and software.
Check your method, units and explanation against it.
Marked practice
Set 1 of 4 · easiest first · Checked as you go, with the worked answer. Sign in or create a free account to save your progress.