AQA GCSEOCR GCSECambridge IGCSE

Types of Storage — RAM, ROM, HDD & SSD | GCSE CS

Storage questions come up every year at GCSE. You need to know the difference between primary and secondary storage, between RAM and ROM, and be able to compare HDD, SSD and optical storage. This page covers everything you need — including exam technique tips.

Key points to know

Storage comparison

Type Category Volatile? Speed Capacity Use
RAM Primary Yes — data lost on power off Very fast GB Running programs and data
ROM Primary No — permanent Very fast MB Firmware / BIOS
Cache Primary Yes Fastest KB–MB CPU's fast-access buffer
SSD Secondary No Fast GB–TB OS, programs, files
HDD Secondary No Slower GB–TB Large file storage, backup
USB Flash Secondary No Medium GB Portable file transfer
Optical Secondary No Slow GB Software distribution, archiving

Exam tip — the "volatile" question

Every year an exam question asks students to "state what is meant by volatile memory" or to identify which type of storage is volatile. The answer is always: volatile means data is lost when power is removed. Only RAM (and cache) are volatile. All secondary storage types are non-volatile.

Exam-style questions

Try these before expanding the hints. Write your answer, then compare.

1

State the difference between RAM and ROM.

AQA GCSE style [2 marks]

Mark scheme hint: RAM is volatile — data is lost when power is removed [1]; ROM is non-volatile — data is permanently stored [1]. OR: RAM is read/write; ROM is read-only [1+1]. OR: RAM stores currently running programs; ROM stores firmware/BIOS startup program [1+1].

2

A student is choosing between an HDD and an SSD for their laptop. State two advantages of choosing an SSD.

OCR J277 style [2 marks]

Mark scheme hint: Any 2 from: faster data access speeds [1]; no moving parts — more reliable and shock-resistant [1]; quieter operation [1]; lighter weight [1]; lower power consumption [1].

3

Explain what is meant by virtual memory and describe one disadvantage of using it.

AQA GCSE style [3 marks]

Mark scheme hint: Virtual memory uses part of the hard drive/SSD as additional RAM when RAM is full [1]; the OS swaps unused data from RAM to a swap file on disk [1]. Disadvantage: secondary storage is much slower than RAM, so when data must be retrieved from virtual memory the computer noticeably slows down [1].

4

A hospital stores patient records that must not be lost if power fails. State the most suitable type of storage and justify your choice.

Cambridge 0478 style [2 marks]

Mark scheme hint: Secondary storage (hard drive or SSD) [1]; because it is non-volatile — data is permanently retained even when power is removed, unlike RAM which would lose all data [1].

Hundreds more exam-style questions with full mark schemes — all free.

Question Bank →

Common exam mistakes

"ROM cannot be written to at all" — this is oversimplified.

ROM is "read-only" in the sense that it cannot be written to during normal operation. However, modern EEPROM (flash ROM) can be reprogrammed slowly — this is how firmware updates work. For GCSE purposes: ROM is non-volatile and read-only; data is not lost when power is removed.

Saying "SSD is better than HDD" without justifying for the specific use case.

SSD is better for speed and portability (laptops, phones). HDD is better for cost per gigabyte on large storage (servers, desktop backup). Always consider the use case — 2 marks for feature + justification, not just "it's faster".

Confusing "primary" and "main" storage — thinking primary means "most important".

Primary storage = directly accessible by the CPU (RAM, ROM, cache). Secondary storage = not directly accessible, used for permanent storage (HDD, SSD). "Primary" refers to access method, not importance.

Still struggling with this topic?

One-to-one online tutoring with an experienced Computer Science teacher. Work through exactly the topics you find hardest — exam technique, algorithms, programming and more.

Frequently asked questions

What is the difference between RAM and ROM?

RAM (Random Access Memory) is volatile — data is lost when power is removed. It stores currently running programs and data. ROM (Read-Only Memory) is non-volatile — data is permanently stored and not lost when power is removed. ROM typically stores firmware (the BIOS/UEFI startup program). You can write to RAM freely; ROM is read-only (or very slow to write).

What is the difference between primary and secondary storage?

Primary storage (RAM and ROM) is directly accessible by the CPU and is much faster than secondary storage. It is volatile (RAM) or small capacity (ROM). Secondary storage (hard drives, SSDs, USB flash drives, optical discs) is non-volatile, holds data permanently, and has much larger capacity — but is slower to access than RAM.

What is virtual memory?

Virtual memory uses part of the secondary storage (hard drive or SSD) as an extension of RAM when RAM is full. The OS moves unused data from RAM to a "swap file" on the disk, freeing up RAM for the active programs. This allows programs larger than physical RAM to run, but accessing the swap file is much slower than RAM — causing the system to slow down noticeably.

Which type of storage is fastest — HDD, SSD or optical?

SSD (Solid State Drive) is fastest — no moving parts, uses flash memory chips. HDD (Hard Disk Drive) is slower — mechanical spinning disk with read/write heads. Optical (CD/DVD/Blu-ray) is slowest for random access. In terms of cost per gigabyte: HDDs are cheapest, then SSDs, with optical in the middle.

Related resources