Skip to content

Memory and storage

GCSE Computer Science revision notes, key terms and practice questions.

In short

RAM (random access memory) holds the programs and data that are in use. It is volatile: everything in it is lost when the power is turned off. It can be read from and written to.

For GCSE students in Years 10 and 11, on the AQA, OCR, Edexcel and Eduqas Computer Science courses.

Primary storage

  • RAM (random access memory) holds the programs and data that are in use. It is volatile: everything in it is lost when the power is turned off. It can be read from and written to.
  • ROM (read-only memory) holds the start-up (boot) instructions. It is non-volatile and normally can't be changed.
  • Cache and registers inside the CPU are also primary storage.

Virtual memory

  • When RAM is full, part of the secondary storage is used as virtual memory. Data that isn't needed right now is moved there to free up RAM.
  • Moving data between RAM and virtual memory is slow, so the computer slows down. Adding more RAM reduces the need for virtual memory.

Secondary storage

  • Secondary storage keeps data when the power is off (it is non-volatile), such as files and installed programs.
  • Magnetic storage (a hard disk drive) has a large capacity and is cheap per gigabyte, but it has moving parts, so it is slower and can be damaged if dropped.
  • Solid state storage (an SSD, USB stick or memory card) is fast, and has no moving parts, so it is durable and silent. It costs more per gigabyte.
  • Optical storage (CDs, DVDs and Blu-ray discs) is cheap and portable, but it has a small capacity, is slow and scratches easily.

Choosing storage

  • Compare capacity, speed, portability, durability, reliability and cost.
  • Cloud storage keeps files on remote servers that are reached over the internet. Files can be reached from anywhere and are backed up, but it needs an internet connection and relies on the provider's security.

Key terms

Primary storage
Memory the CPU can reach directly, such as RAM, ROM and cache.
RAM
Random access memory: volatile memory that holds the programs and data in use.
ROM
Read-only memory: non-volatile memory that holds the start-up instructions.
Volatile
Loses its contents when the power is turned off.
Virtual memory
Part of secondary storage used as extra RAM when RAM is full.
Secondary storage
Non-volatile storage that keeps data permanently, such as an SSD.
Solid state storage
Storage with no moving parts that uses flash memory.
Optical storage
Storage read by a laser, such as a DVD.
Cloud storage
Storing files on remote servers reached over the internet.

Quick questions on Memory and storage

Which memory loses its contents when the power is turned off?
RAM: RAM is volatile.
What is stored in ROM?
The start-up (boot) instructions: They are needed before anything else can load.
What does volatile mean?
The data is lost when the power is off: RAM is volatile; ROM is not.
When is virtual memory used?
When RAM is full: Part of secondary storage acts as extra RAM.
Why does using virtual memory slow a computer down?
Secondary storage is much slower than RAM: Data has to be moved back and forth.
What is one advantage of an SSD over a hard disk drive?
It is faster and has no moving parts: No moving parts also makes it more durable.
What is one advantage of a hard disk drive over an SSD?
It is cheaper per gigabyte: It is good for storing large amounts of data cheaply.
Which type of storage is a Blu-ray disc?
Optical: It is read by a laser.

Memory and storage: questions and answers

Which storage suits a photographer who travels a lot?
A portable SSD. It is fast, durable and portable.
What is cloud storage?
Storing files on remote servers reached over the internet. The files can be reached from any device.
Why is secondary storage needed?
To keep data permanently when the computer is off. RAM loses its data when the power goes off.

Practise Memory and storage: 12 questions

Download these notes as a PDF

Previous topic: CPU architecture and the fetch–execute cycleNext topic: Networks, topologies and protocols

More in Computer systems

LycoLearn is still loading…

This can take a little longer on a busy school or home network. If nothing happens, try refreshing the page.

LycoLearn didn’t load properly

Part of it didn’t arrive. Try refreshing the page in a minute, or open LycoLearn in another browser.