GCSE · Computer Science · AQA · Spec 8525
Volatile vs non-volatile memory
A storm cuts the power. When the lights come back, one memory inside the computer is completely empty and the other is exactly as it was. Which is which?
Computer Science · Memory
The power-off test
The storm has cut the power. Pick a memory and follow it down: what does it need, and what's left when the lights come back?
Does it need power to keep its contents? → The power comes back on
Nothing has been deleted on purpose. The only thing that has changed is that there's no power. So the question is: which memories needed it?
2 possible fates for a memory when the power goes.
Walk both branches. The one question to carry into any memory problem: when the power comes back, is it still there?
AQA GCSE Computer Science (8525), section 3.4.5.
Hang on: why use RAM at all?
RAM loses everything when the power goes. So why does the computer bother putting apps there?
When you open an app, it's loaded from secondary storage into RAM instead of being run from where it's stored. What's the point of moving it?
WHAT YOU'VE LEARNED
A quick recap of today's lesson.
One question sorts RAM from ROM. Switch the power off, switch it back on, and check what each memory is still holding.
What you need to know
- Here's the test for any memory: switch the power off, then ask what's still stored when it comes back on.
- RAM (random access memory) is volatile: it needs a constant supply of power to keep the data stored on it.
- Switch the computer off and all the data and instructions in RAM are lost.
Have a goSam is forty minutes into a game when the cat knocks the plug out. Sam shrugs: “No worries, RAM will remember where I was.” Is Sam right about RAM?
No. Whatever the game was holding in RAM is gone.
Remembering without power is exactly what RAM can't do: it's volatile, so with no power every bit of data and every instruction in it is lost.
- ROM (read-only memory) is non-volatile: it still stores its instructions when there's no power.
- ROM holds the essential instructions for the computer to start up and operate, including the BIOS (basic input/output system).
- The BIOS is also called the start-up or bootstrap loader, and its instructions are the first ones executed to start the computer.
Have a goFinish the sentence: when a computer is switched on, its very first instructions can't come from RAM, because…
…RAM lost everything when the power went off, so it's empty.
RAM is volatile, so after a power-off there's nothing in it. The first instructions executed have to come from somewhere that kept them: non-volatile ROM.
- RAM temporarily stores the data and instructions being processed right now; apps are loaded into it from secondary storage when in use.
- Why load them into RAM? The CPU can access RAM faster than files stored in secondary storage.
- RAM gives read and write access: data can be read from and written to memory addresses.
- ROM is read-only. It's usually programmed by the manufacturer, can't easily be changed, and has a small memory capacity.
Have a goA game's score changes every second while you play. Which memory can hold it as it changes: RAM or ROM?
RAM.
The score keeps being written as it changes, and RAM gives read and write access. ROM is read-only and can't easily be changed, so it's no use for a value that keeps changing.
The big picture
Volatile memory needs a constant supply of power to keep its data; non-volatile memory keeps its contents with no power at all. RAM is volatile: it temporarily holds the data and instructions being processed right now, gives read and write access, and loses everything when the computer is switched off. Apps are loaded into it from secondary storage because the CPU can access RAM faster. ROM is non-volatile: it keeps the essential start-up instructions, including the BIOS, is read-only, is usually programmed by the manufacturer, can't easily be changed and has a small memory capacity.
Key points
Worked example
Problem
Practice question: a memory in a computer is described like this: 'Its contents are lost when the power is switched off, and the CPU writes data to it while a program runs.' Which memory is it, RAM or ROM? Is it volatile or non-volatile? Explain how you decided.
⚠ Watch out
Thinking 'volatile' means 'can be changed'. Volatile is only about power: a volatile memory like RAM loses its contents when the power goes. Whether a memory can be written to is a different property: RAM gives read and write access, ROM is read-only.
Memory hook
Pull the plug: RAM forgets, ROM remembers. Volatile means it vanishes when the power goes.
Check yourself
Cover the page. Run the power-off test on RAM and on ROM, use it to define volatile and non-volatile, then name two more ways they differ.
Flashcards
(12)What does 'volatile' mean for memory?
What does 'non-volatile' mean for memory?
RAM and ROM: which is volatile and which is non-volatile?
What do the letters RAM and ROM stand for?
What does RAM hold while the computer is running?
Where are apps loaded from when you open them, and where do they go?
Why is RAM used for the apps in use, rather than running them from secondary storage?
What does ROM store?
BIOS: what does it stand for, and what else is it called?
RAM vs ROM: what kind of access does each give?
Who usually programs ROM, and how easily can it be changed?
How big is ROM's memory capacity?
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 postedMore AQA GCSE Computer Science topics
How this lesson was checked. This AQA GCSE Computer Science (specification 8525)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 4 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.