GCSE · Computer Science · Edexcel · Spec 1CP2

RAM (main memory)

Pull the plug on your computer and one kind of memory forgets everything. The other still knows how to wake the machine up.

Computer Science · Hardware

RAM, ROM, both, or neither?

Each card is a fact about memory. Tick RAM, ROM, both or neither for each one, then check. Start with the cards you're sure about.

  • A RAM
  • B ROM
  1. Main memory (also called primary storage)
  2. Directly accessed by the CPU
  3. Temporary
  4. Holds the data and instructions currently being processed
  5. Read and write access
  6. Volatile: loses everything when switched off
  7. Non-volatile: keeps its instructions without power
  8. Read-only
  9. Usually programmed by the manufacturer
  10. Small capacity
  11. Stores the BIOS and the first instructions needed to start the computer
  12. Secondary storage, where an application is loaded from before it runs

Computer Science · Memory in motion

Following an application through memory

A simplified story with the application's pages shown as A, B and C. Step through it and watch where things are at each moment.

Where is the application at each step? Say it out loud before you press Next.

Phase: Before opening

Secondary storage

App stored

RAM

—

CPU

—

Output

 

Step 1: The application sits in secondary storage. Nothing of it is in RAM yet.

1 / 5

Step through the trace — every value is the lesson’s, not run by the page.

Step 1 of 5: The application sits in secondary storage. Nothing of it is in RAM yet..

Computer Science · Memory vs storage

The power goes out. Where's your story?

You are halfway through typing a story. It is on screen, and the CPU is working on it. Then the power cuts out and the computer switches off.

What do you think has happened to the story that was held in RAM?
How sure are you?

Predict, then check

Two computers are the same in every way except the amount of RAM.

One computer has 4 gigabytes of RAM and the other has 16 gigabytes. Which statement is true?

Computer Science · Explain it

Why is the start-up code in ROM?

Explain why a computer keeps the first instructions it needs to start up in ROM rather than in RAM. [3 marks]

0 words · your answer stays on this page and is not sent anywhere.

WHAT YOU'VE LEARNED

A quick recap of today's lesson.

Two memories the CPU reads directly. One forgets when the power goes. One doesn't.

What you need to know

  • Main memory, also called primary storage, is memory the processor accesses directly to fetch and execute instructions.
  • RAM and ROM are both main memory, and the CPU accesses both of them directly.
  • Have a goTrue or false: the CPU can only reach RAM directly. ROM is something else entirely.

    False. ROM is main memory too, and the CPU accesses it directly.

    Both are main memory, so being directly accessed by the CPU doesn't separate them. Something else has to.

  • RAM is temporary memory holding the data and instructions being processed while the computer runs, with read and write access.
  • RAM is volatile: it needs constant power, so everything in it is lost when the computer is switched off.
  • An application is loaded from secondary storage into RAM, and the CPU then fetches and executes its instructions from RAM.
  • Have a goA classmate double-clicks a game and says: "The CPU is now fetching the game's instructions straight from the hard drive." Do you agree?

    No. The game is loaded into RAM first, and the CPU fetches its instructions from RAM.

    Secondary storage is where the application is kept. RAM is where the CPU fetches instructions from while it runs.

  • RAM is faster for the CPU to access than files stored in secondary storage.
  • Too little RAM makes a computer run slowly, and more RAM can usually be added using slots on the motherboard.
  • ROM is non-volatile and read-only, usually programmed by the manufacturer, and has a small capacity.
  • Have a goA friend wants to save their coursework in ROM because "ROM never forgets". What stops them?

    ROM is read-only, so new work can't simply be written to it.

    Non-volatile only means ROM keeps its contents without power. It doesn't mean you can save new work there.

  • ROM stores the BIOS and the first instructions needed to start the computer.
  • Virtual memory moves pages not actively being used from RAM to secondary storage, and back into RAM when the CPU needs them.

The big picture

Main memory is memory the CPU accesses directly. RAM is temporary, volatile working memory for whatever is being processed right now; ROM is non-volatile, read-only memory that holds the start-up instructions. Applications are loaded from secondary storage into RAM, too little RAM slows a computer down, and virtual memory moves unused pages out to secondary storage and back.

Key points

1Main memory is the memory the CPU accesses directly. RAM and ROM are both types of it.
2RAM is temporary, volatile working memory with read and write access. It holds the data and instructions being processed now.
3ROM is non-volatile and read-only, so it keeps the BIOS and the first start-up instructions without power.
4Applications are loaded from secondary storage into RAM so the CPU can fetch and execute them from there.
5Too little RAM makes a computer run slowly, and virtual memory moves pages between RAM and secondary storage when RAM is short.

Worked example

Problem

A school laptop has 4 gigabytes of RAM. It crawls whenever several applications are open at once. Explain why it is slow, and say what could be done about it.

⚠ Watch out

Saying RAM is where your files are saved. It isn't. RAM is temporary working memory for the data and instructions being processed right now, and it is volatile, so it is emptied when the computer is switched off.

🧠

Memory hook

RAM is the workbench: whatever you're working on sits there, cleared when the lights go out. ROM is the instruction card fixed to the wall: always there, read-only.

✓

Check yourself

A computer is switched off, then on again. Which main memory kept its contents, and which holds the start-up instructions?

Flashcards

(13)
What is main memory?
Memory directly accessed by the processor, which uses it to fetch and execute instructions. Also called primary storage.
What do RAM and ROM have in common?
Both are types of main memory, and both are directly accessed by the CPU.
What is RAM used for?
Storing the data and instructions the CPU needs while the computer is running, that is, the ones currently being processed.
What access does RAM give?
Read and write access: data can be read from and written to memory addresses.
What does volatile mean?
The memory needs a constant supply of power to keep its data, so everything is lost when the power goes.
How does an application get to run?
It is loaded from secondary storage into RAM, then the CPU fetches its instructions from RAM and executes them.
Why is the application loaded into RAM rather than run from secondary storage?
RAM is faster for the CPU to access than files stored in secondary storage.
What does non-volatile mean for ROM?
ROM keeps its instructions without power.
What does read-only mean, and who usually sets ROM up?
ROM can be read but not written to in the way RAM can. It is usually programmed by the manufacturer.
What is ROM's capacity like?
Small.
What is stored in ROM?
The BIOS and the first instructions needed to start the computer.
What is virtual memory?
A way of coping when there is not enough RAM: data or instructions not actively being used are moved from RAM to secondary storage.
What is a page in virtual memory?
The unit of data or instructions moved between RAM and secondary storage. When the CPU needs a page it is moved back into RAM.

Tap any card to flip it, or use Study as deck to go through them one at a time. In the full lesson these run as a spaced-repetition deck — you rate each card Hard, Good or Easy and the tricky ones keep coming back until they stick.

Learning with Lightbulb is opening soon

You can use this lesson now. Join the waitlist and we'll let you know when the full Lightbulb experience is ready.

Keep me posted

More Edexcel GCSE Computer Science topics

See the full Edexcel Computer Science curriculum →

How this lesson was checked. This Edexcel GCSE Computer Science (specification 1CP2)lesson was published through Lightbulb Learning's human-designed editorial process — the educational standards, accuracy rules and publication checks it must pass were authored and approved by Philip Halpin. It passed subject-specific assessment, automated educational checks and technical publication verification before going live (publication checks completed 21 November 2026). Published pages are monitored, human spot-checking is ongoing across the lesson library, and anything found wrong is corrected or withdrawn. How our lessons are made and checked. Spotted a mistake? Email hello@lightbulblearning.co and we'll review it.