Primary and Secondary Storage
Aligned to the OCR J277 specification
- Topic
- Memory and storage
- Level
- Foundational
- Reading time
- 7 min
- Published
- 12 June 2026
- Updated
- 1 July 2026
On this page
Key takeaways
- RAM is volatile primary storage that holds currently running programs and data; its contents are lost when the computer loses power.
- ROM is non-volatile primary storage that holds the boot program; it retains its contents without power and cannot normally be written to by the user.
- Virtual memory uses part of secondary storage as an overflow when RAM is full; it is much slower than RAM and heavy use causes thrashing, not the same as having more RAM.
- The three types of secondary storage are magnetic (HDDs - large capacity, low cost, moving parts), optical (CDs/DVDs - portable, low capacity), and solid state (SSDs/USB drives - fast, durable, no moving parts but more expensive per GB).
- A common mistake is thinking virtual memory is extra RAM; it is secondary storage used as temporary overflow and causes performance problems when used heavily.
How much of this have you taken in?
Quiz yourself on this section, free, no card needed.
Key terms
- RAM
- Random Access Memory - volatile primary storage that holds currently running programs and data; contents are lost when power is removed.
- ROM
- Read-Only Memory - non-volatile primary storage that holds the boot program; contents are retained without power and cannot normally be rewritten.
- Cache
- A small amount of very fast volatile memory on or near the CPU that stores copies of frequently accessed instructions and data to reduce wait time.
- Virtual memory
- A section of secondary storage used as temporary overflow when RAM is full; much slower than RAM and heavy use causes thrashing.
- Thrashing
- A severe slowdown caused by the OS frequently swapping data between RAM and secondary storage when virtual memory is in heavy use.
- Volatile
- Describes memory whose contents are lost when power is removed, such as RAM and cache.
- Non-volatile
- Describes storage that retains its contents without power, such as ROM and all secondary storage.
- Magnetic storage
- Secondary storage that uses magnetised regions on spinning discs or tape; examples include HDDs. Large capacity at low cost but has moving parts.
- Optical storage
- Secondary storage that uses a laser to read/write pits and lands on a reflective disc; examples include CDs and DVDs. Portable but low capacity.
- Solid state storage
- Secondary storage that uses flash memory with no moving parts; examples include SSDs and USB drives. Fast, durable, silent, but more expensive per GB.
Frequently asked questions
RAM is volatile read/write memory that holds currently running programs and data; contents are lost when power is removed. ROM is non-volatile read-only memory that holds the boot program and retains its contents without power.
Virtual memory is a section of secondary storage used as an extension of RAM when RAM is full. The OS swaps data between RAM and the page file on secondary storage. Because secondary storage is much slower than RAM, frequent swapping (called thrashing) noticeably reduces performance.
Solid state storage (SSDs, USB drives) is the fastest secondary storage because it uses electrical charges in transistors with no moving parts, allowing very fast read and write speeds compared to magnetic or optical drives.
Generate revision on any topic you study
Type any topic you're studying and Aicademy generates a complete lesson, quiz, and flashcard set, personalised to your level.
Lessons on anything
Structured, level-matched lessons on any topic you study
Practice quizzes
Find out what you actually know before the exam does
Flashcard sets
Lock in key concepts with instant revision cards
Ask Aica
Stuck on something? Get a clear explanation, any time
CPU Performance and Embedded Systems
Number Systems and Data Units
Related lessons
6 min
7 min