GCSE · Computer Science · Eduqas · Spec C500QS

Random access memory (RAM)

You type for an hour, the power cuts out, and your work vanishes. Why?

Computer science · Where is it right now?

RAM or secondary storage? Or both?

A laptop is switched on and working. For each thing, tick where it is right now: in RAM, on secondary storage, or both. Then check.

  • A In RAM
  • B On secondary storage
  1. The parts of the operating system that are running
  2. A game you have just opened
  3. An essay you saved yesterday and have open now
  4. The three new sentences you have typed but not saved
  5. A photo you saved last month and have not opened
  6. An installed app you have not opened today
  7. A school project saved last week and not opened since

Computer science · The life of a file

Put a program's working life in order

the order things happen in, from a file sitting in storage to the work being kept

1 · Happens first5 · Happens last
  1. As you work, data in RAM is read and overwritten

  2. You save, and the changed data goes to secondary storage

  3. The program and its data are kept on secondary storage

  4. The processor fetches instructions and data from RAM

  5. You open it, and its instructions and data are copied into RAM

RAM against secondary storage

RAM (primary storage)vsSecondary storage

Start with the first row. It is the difference people mix up most.

Focus

When the power is switched off

RAM (primary storage)

Volatile: its contents are lost

Secondary storage

Non-volatile: its contents are kept

The insight

This is the big one. It is why unsaved work disappears in a power cut, and why anything you want to keep has to be saved to secondary storage.

How the processor reaches it

RAM (primary storage)

The processor can access it directly

Secondary storage

The contents are copied into RAM before the processor uses them

Speed of access

RAM (primary storage)

Fast, much faster than secondary storage

Secondary storage

Slower than RAM

What it holds

RAM (primary storage)

The programs and data in use right now

Secondary storage

The programs and data you keep for later

Computer science · The word 'random'

What does 'random access' mean?

RAM stands for random access memory. The word 'random' makes it sound like a lucky dip.

Which idea is closest to what you think 'random access' means?
How sure are you?

Why volatility matters

?

Reason it through

Why do you have to save your work to secondary storage?

Link 1 of 4

First link · your turn

The power is switched off. What happens to everything in RAM?

2
Locked — reveal the link above first
3
Locked — reveal the link above first
4
Locked — reveal the link above first

Exam practice · Component 1

Write it, then mark it

Explain why a computer holds the programs it is running in RAM, and why work must be saved to secondary storage. [4 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.

The computer's working space: where a program and its data sit while they run.

What you need to know

  • RAM is primary storage, also called main memory: memory the processor (CPU) can access directly.
  • It holds the programs (instructions) and data that are in use right now, so the processor can fetch them while they run.
  • That means the running parts of the operating system, open applications and the data they are working on.
  • When you open a program, its instructions and data are copied from secondary storage into RAM. The saved copy stays where it was.
  • Have a goYour friend says: "Opening a file MOVES it into RAM, so it's gone from the hard drive until I close it." Are they right?

    No. Opening copies it, so the saved copy stays on secondary storage.

    A copy goes into RAM so the processor can reach it, but the file you saved does not get taken out of secondary storage.

  • RAM is volatile: its contents are lost when the power is switched off.
  • RAM is read and write memory, so its contents can be read and changed (overwritten) while the computer is running.
  • Have a goYou change one figure in a spreadsheet you have open. Which feature of RAM lets that change happen?

    RAM is read and write memory.

    Its contents can be changed (overwritten) while the computer runs, not just read, and volatility is about power loss, not about being able to change.

  • RAM has fast access, much faster than secondary storage, which is why programs and data in use are held there.
  • 'Random access' means any location can be read or written directly, by its address, without passing through other locations in order.
  • Have a goA program needs the contents of location 5000. Does the computer have to read locations 1 to 4999 first?

    No. It can go straight to address 5000.

    Random access means any location can be read or written directly by its address, not by passing through the others in order.

  • Because RAM is volatile, work and programs you need to keep are saved to non-volatile secondary storage.

The big picture

RAM is the computer's working space. When you open a program, its instructions and data are copied from secondary storage into RAM, so the processor can reach them directly and quickly. RAM is volatile, read and write memory with fast access, and 'random access' means any location can be reached directly by its address. Because it forgets everything without power, work you want to keep is saved to secondary storage.

Key points

1RAM is primary storage: the processor can access it directly. It holds the programs and data in use right now.
2Opening a program copies its instructions and data from secondary storage into RAM, and the saved copy stays on secondary storage.
3RAM is volatile, read and write, and fast. Its contents are lost when the power goes off, they can be read and changed, and access is much faster than secondary storage.
4'Random access' means any location can be read or written directly by its address, without passing through other locations in order.
5Because RAM is volatile, work and programs you need to keep must be saved to non-volatile secondary storage.

Worked example

Problem

Priya opens her saved geography project, types a new paragraph, and the laptop loses power before she saves. Say where the project and the new paragraph are at each stage, and what she finds when the laptop starts up again.

⚠ Watch out

Thinking 'random access' means data is stored or found at random, and thinking that opening a file moves it into RAM. Random access means any location can be reached directly by its address. Opening copies the program and data into RAM, and the saved copy stays on secondary storage.

🧠

Memory hook

RAM is your desk; secondary storage is the filing cabinet. Switch the lights off and the desk is cleared, so anything not filed is gone. (Difference: the computer puts a copy on the desk, it doesn't take the file out.)

✓

Check yourself

You open a saved document, add a sentence, then the power goes off before you save. Just before it goes, where is the new sentence?

Flashcards

(10)
What is RAM?
Primary storage (main memory): memory that the processor (CPU) can access directly.
What does RAM hold while a computer is running?
The programs (instructions) and data that are currently in use, so the processor can fetch them while they run.
Which parts of the system are in RAM while it runs?
The parts of the operating system that are running, open applications and the data they are working on.
What happens to a program's instructions and data when it is opened?
They are copied from secondary storage into RAM. The saved copy stays on secondary storage.
What does 'volatile' mean for RAM?
Its contents are lost when the power is switched off.
Why is RAM called read and write memory?
Its contents can be both read and changed (overwritten) while the computer is running.
How does RAM's speed compare with secondary storage?
RAM has fast access, much faster than secondary storage.
What does 'random access' mean?
Any location can be read or written directly, by its address, without passing through other locations in order.
Does 'random' mean RAM stores data in random places?
No. It means any location can be reached directly by its address.
Why must work you want to keep be saved?
RAM is volatile, so work and programs that must be kept are saved to non-volatile secondary storage.

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 Eduqas GCSE Computer Science topics

See the full Eduqas Computer Science curriculum →

How this lesson was checked. This Eduqas GCSE Computer Science (specification C500QS)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 16 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.