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 · 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.
Step through the trace — every value is the lesson’s, not run by the page.
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?
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
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?
What do RAM and ROM have in common?
What is RAM used for?
What access does RAM give?
What does volatile mean?
How does an application get to run?
Why is the application loaded into RAM rather than run from secondary storage?
What does non-volatile mean for ROM?
What does read-only mean, and who usually sets ROM up?
What is ROM's capacity like?
What is stored in ROM?
What is virtual memory?
What is a page in virtual memory?
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 Edexcel GCSE Computer Science topics
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.