Skip to content

Memory and storage: GCSE Computer Science revision notes

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.

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, Eduqas, Edexcel IGCSE and Cambridge IGCSE 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.
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.
How can adding more RAM improve performance?
Less virtual memory is needed: More programs and data fit in fast memory.

Memory and storage: exam-style questions and mark schemes

  1. Which type of memory is non-volatile and stores the start-up instructions? [1 mark]

    Answer: ROM

  2. Explain what virtual memory is, and why using it can slow a computer down. [3 marks]

    • When RAM is full, part of the secondary storage is used as if it were RAM (1)
    • Data that isn't needed right now is moved from RAM into virtual memory (1)
    • Secondary storage is much slower than RAM, so moving data back and forth slows the computer (1)
  3. A school is choosing between hard disk drives and solid state drives for its new laptops. Compare the two types of storage. [4 marks]

    • SSDs read and write data faster (1)
    • SSDs have no moving parts, so they are more durable if a laptop is dropped (1)
    • Hard disk drives are cheaper per gigabyte (1)
    • So a hard disk drive gives a larger capacity for the same price (1)
  4. Give two differences between RAM and ROM. [2 marks]

    • RAM is volatile; ROM is non-volatile (1)
    • RAM can be written to and holds the programs in use; ROM is normally read-only and holds the start-up instructions (1)
  5. A film editor needs storage for large video files in the studio and a laptop to take on location. Compare magnetic, optical and solid-state storage, and recommend what they should use. [6 marks]

    • magnetic hard disks have a large capacity at a low cost per gigabyte
    • but they have moving parts, so they can be damaged if dropped, and are slower
    • solid-state drives have no moving parts, so they are durable and very fast
    • they use little power, which suits a laptop, but cost more per gigabyte
    • optical discs are cheap but have a small capacity and are slow
    • optical discs aren't suitable for editing large video files
    • recommendation: an SSD in the laptop
    • and magnetic hard disks in the studio for storing and backing up the large files

How to answer them: exam technique and command words.

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.