Cambridge IGCSE · Topic 3.3
IGCSE Computer Science 0478 / Topic 3 / IGCSE

Memory the CPU can reach.

Primary storage is the memory the CPU can use directly. It comes in two kinds with opposite strengths: RAM, which the CPU can change but forgets when the power goes off, and ROM, which never forgets but cannot be changed.

The key idea

Primary storage is storage that is directly accessed by the CPU. RAM (random access memory) holds the programs and data currently in use; it can be read and written, and it is volatile, so its contents are lost when the power is off. ROM (read only memory) holds instructions that must never be lost, such as the start-up (bootstrap) instructions; it can only be read, and it is non-volatile. A computer needs both: ROM to start up, RAM to run programs.

CPU accesses directly RAM volatileread and writeprograms and datain use nowlarge (e.g. 16 GiB) ROM non-volatileread onlystart-up instructions(bootstrap / BIOS)small both are primary storage
Fig. 1: RAM and ROM are both primary storage, accessed directly by the CPU
Section 01

Primary storage.

When you open an app, it is copied from secondary storage (such as an SSD) into primary storage so the CPU can fetch its instructions. The CPU cannot run a program straight from secondary storage.

Examiner trap

Cache and registers are also inside or close to the CPU, but in this topic the two named types of primary storage are RAM and ROM.

Section 02

RAM and ROM.

Learn the comparison as pairs. Exam questions often ask for differences, and each difference needs both sides.

RAMROM
Full nameRandom access memoryRead only memory
Volatile?Volatile: contents lost when power is offNon-volatile: contents kept without power
Read / writeCan be read from and written toCan only be read (contents cannot normally be changed)
What it holdsThe operating system, programs and data currently in useThe start-up (bootstrap) instructions, firmware such as the BIOS
SizeUsually large, e.g. 8 GiB to 32 GiBUsually small
Contents change?Constantly, as programs are opened and closedFixed when the chip is made
Your turn
Give two differences between RAM and ROM.
Examiner trap

"RAM is temporary" on its own is vague. Say volatile: its contents are lost when the power is turned off.

Stage 1 · Learn

Check what the sim just showed you

Four quick checks. Each correct answer earns XP and records this skill on your profile.

Quick check+10 XP

What is primary storage?

Quick check+10 XP

What does it mean that RAM is volatile?

Quick check+10 XP

What is usually stored in ROM?

Quick check+10 XP

Why can the CPU not start up using only RAM?

Section 03

Why a computer needs both.

Neither kind can do the other's job, so every computer, from a laptop to a washing machine, has some of each.

Worked example Where is it stored?
State whether each is stored in RAM or ROM: (a) a document being edited; (b) the boot-up instructions; (c) the web browser you are using.
  1. (a) Being edited means it is in use and changing: RAM.
  2. (b) Needed with no power and must never change: ROM.
  3. (c) A program currently running: RAM.
Answer: RAM, ROM, RAM
Examiner trap

ROM does not store the operating system in a PC. ROM holds the start-up instructions, which load the operating system into RAM.

Stage 2 · Exam

Exam-style questions

Unlocks once the four checks above are done. Worth more XP, written to IGCSE Paper 1 standard.

Finish the four checks above to unlock the exam questions
Exam style+20 XP

Which statement about ROM is correct?

Exam style+20 XP

Which is stored in RAM while a computer is being used?

Exam style+20 XP

Which pair are both types of primary storage?

Exam style+20 XP

A washing machine stores the user's chosen wash settings. Where are they most likely to be stored while the wash runs?

Skill unlocked

Primary storage, mastered.

This skill is now recorded on your profile. Keep the chain going.

-Rank -Level -Score -Topics
Go deeper · practice
Six original Cambridge-style questions
What primary storage is, the roles of RAM and ROM, the differences between them and why a computer needs both.