Memory and storage

Computers use several kinds of memory and storage, each balancing speed, size and cost.

Practise this lesson free (6 questions)

More tools

RAM and ROM

RAM holds the programs and data currently in use. It is volatile: its contents are lost when power is off.
ROM holds instructions needed to start the computer. It is non-volatile and usually read-only.

Secondary storage

Non-volatile storage for files and programs.
TypeExampleNotes
MagneticHard disk driveLarge capacity, cheap per gigabyte, has moving parts
OpticalCD, DVD, Blu-rayCheap and portable, small capacity
Solid stateSSD, USB stickFast, no moving parts, more expensive per gigabyte

Virtual memory

When RAM is full, part of secondary storage is used as virtual memory.
Secondary storage is much slower than RAM, so the computer slows down. Adding more RAM helps.
Worked example

Why does a laptop for travel usually use an SSD instead of a hard disk drive?

  1. An SSD has no moving parts, so it is not damaged by knocks.
  2. It is faster and uses less power, saving battery.
  3. So it suits a portable device.

Answer: It is more robust, faster and uses less power.

Key idea

RAM is volatile working memory; ROM is non-volatile startup memory. Secondary storage is magnetic, optical or solid state. Virtual memory uses storage when RAM is full, which is slow.

Key words
RAM
Volatile main memory holding the programs and data in use.
Volatile
Loses its contents when the power is off, like RAM.
ROM
Non-volatile memory holding instructions such as those used to start the computer.
Secondary storage
Non-volatile storage for files and programs: magnetic, optical or solid state.
Virtual memory
Part of secondary storage used as extra memory when RAM is full; it is much slower.

All GCSE and International GCSE Computer Science key terms and definitions โ†’

Quick check

Try two quick questions

See if it has sunk in. Answers are marked straight away.

Extra practice

2 more questions

Try each one, then tap to check.

  1. Which memory keeps its contents when the power is off?

    1. RAM
    2. Cache
    3. ROM
    4. Registers
    Show the answer

    Answer: ROM

    ROM is non-volatile.

  2. Which type of storage has no moving parts?

    1. Magnetic hard disk drive
    2. DVD drive
    3. Tape drive
    4. Solid state drive
    Show the answer

    Answer: Solid state drive

    SSDs use flash memory with no moving parts.

Check you have got it

Answer 6 quick questions with instant marking. If you get one wrong, GCSE-ready shows you why and gives you another go. It is free, and you do not need an account.

Video for this lesson coming soon. Subscribe on YouTube

Sources and references

Facts checked against the sources below, 17 October 2026. Last updated 2 October 2026. Spotted a mistake? Tell us and we will fix it.

What do exam command words like explain and evaluate mean? โ†’

Related lessons