KS3 · Computer Science

RAM, ROM and storage

The power cuts out while you are typing an essay. Is it gone? That depends on where it was living.

Computer Science · Where data lives

Where does it live?

Pick an item, then pick where it lives: RAM, ROM or storage. Commit before you read the reason.

Still to sort

RAM (0)

Temporary memory for whatever is in use right now.

Where the line is: RAM or storage? Both hold data, but RAM loses its contents when the power goes off and storage keeps them.

ROM (0)

Permanent memory that holds the start-up instructions.

Where the line is: ROM or RAM? Both are main memory, but ROM keeps its contents with the power off and cannot be changed easily.

Storage (0)

Keeps saved files so you can use them again later.

Where the line is: Storage or RAM? Storage keeps its content with the power off, holds large amounts, and is slower to access.

7 of 7 still to sort.

Seven pieces of data. Three places they could be. Decide first, then read why.

Computer Science · Inside a running program

The processor keeps going back to RAM

Every computer has a processor, memory and storage: hardware you could physically touch. Here the processor and RAM do the work.

Step through a tiny two-instruction program. What does the processor do first, every time?

Phase: Fetch

Processor

Getting instruction 1…

RAM

Instruction 1: add 2 and 3 | Instruction 2: put the answer back in RAM

Output

 

Step 1: The program being run is held in RAM. The processor fetches instruction 1 from RAM.

1 / 6

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

Step 1 of 6: The program being run is held in RAM. The processor fetches instruction 1 from RAM..

Watch out: Count how many times the processor goes to RAM. Three times: once to fetch each instruction, and once more to write the answer back. That is why RAM has to be fast.

Computer Science · RAM, ROM and storage

Rebuild the grid

Tick every cell that is true for that item, then check your grid. Which row is the odd one out?

RAM
ROM
Storage

RAM versus storage

RAMvsStorage

Two places that both hold data, but built for different jobs. Start with speed, the difference people forget.

Focus

Speed

RAM

Built and designed for speed, so it can supply the processor quickly

Storage

Slower to access: storage devices are generally much slower than RAM

The insight

The processor is working through a running program, so it cannot wait around. Speed is RAM's whole point.

Purpose

RAM

Temporarily holds the data the computer is using right now

Storage

Saves data and files to be used again at another time

Designed to hold

RAM

The programs and data being worked on

Storage

Large amounts of data

Computer Science · Memory and storage

Which idea is closest to yours?

A friend is explaining how their laptop works.

Which of these is closest to what you think right now?
How sure are you?

WHAT YOU'VE LEARNED

A quick recap of today's lesson.

What you need to know

  • Every computer has a processor, memory and storage. Hardware is any part you could physically touch.
  • A computer has two types of main memory: RAM (Random Access Memory) and ROM (Read-Only Memory).
  • RAM is temporary memory. It holds the programs and data currently in use, like the text of a document you are typing.
  • Have a goDev has been typing a story for an hour without saving. His little brother trips over the power lead. Where was the story, and is it still there?

    It was in RAM, and it is gone.

    RAM holds what is in use, but it is volatile: its contents are lost when the power is turned off.

  • The processor can read from and write to RAM, and it fetches a running program's instructions from RAM one by one.
  • RAM is volatile, which means its contents are lost when the power is turned off.
  • Have a goFill the gap: RAM and ROM are both ___ memory, but only ROM keeps its contents when the power is off.

    main

    A computer has two types of main memory, RAM and ROM. ROM is permanent, so it is not lost when the power goes off.

  • ROM is permanent memory. Its data is not lost without power and cannot be changed easily. It holds the instructions the computer needs at start-up.
  • Storage is where files are saved to use again later. It is persistent: it keeps its content when the power is off.
  • When you save your work, it is moved from RAM into storage, so it is not lost when the power goes off.
  • Have a goSam saves a story, then types three more lines before the power cuts out. Which of the three new lines are in storage afterwards?

    None of them.

    Saving moved only the work that existed when Sam pressed save. The new lines were only in RAM, which is lost without power.

  • RAM is built for speed. Storage holds large amounts of data but takes longer to access.
  • Storage comes in many types of device: USB stick, SD card, hard disk drive (HDD), solid state drive (SSD), and CDs or DVDs.

The big picture

A computer holds data in three different places. RAM holds what you are working on right now, but forgets when the power goes off. ROM is permanent memory that holds the instructions needed at start-up. Storage keeps your saved files. Saving moves your work from RAM into storage.

Key points

1RAM is temporary, fast memory for the programs and data in use. It is lost when the power goes off.
2ROM is permanent memory that holds the instructions needed when the computer starts up.
3Storage keeps saved files for later, in larger amounts than RAM but slower to access.
4Saving moves your work from RAM into storage, so it is not lost when the power goes off.

Worked example

Problem

A school computer has been switched off all weekend. On Monday Zoe switches it on, opens a word processor, types a paragraph, presses save, and then the power goes off. Where is the paragraph at each moment?

⚠ Watch out

Thinking 'memory' and 'storage' are the same thing, or that all memory forgets when the power goes off. RAM forgets. ROM is memory that keeps its contents. Storage is a separate place where saved files are kept.

🧠

Memory hook

RAM is the desk you are working at right now, ROM is the start-up instructions the machine is built with, and storage is the filing cabinet where finished work is put away. The desk gets cleared when the power goes; the other two do not.

✓

Check yourself

The processor fetches every instruction of a running program from RAM, one by one. Why does that make it important for RAM to be built for speed?

Flashcards

(12)
What three basic parts does every computer have?
A processor, memory and storage.
What is hardware?
Any component of a computing system that you could physically touch, such as the processor, RAM and storage.
What are the two types of main memory?
RAM (Random Access Memory) and ROM (Read-Only Memory).
What does RAM hold?
The programs and data currently in use by the processor, for example the text of a document while you type.
What does 'volatile' mean?
Its contents are lost when the power is turned off. RAM is volatile.
What does ROM hold, and can it be changed easily?
It holds the instructions the computer needs when it starts up. Its data cannot be changed easily and is not lost when the power is off.
What does 'persistent' mean when we talk about storage?
Storage retains its content when the power is turned off.
What is storage for?
Saving data and files so they can be used again at another time.
Where does your work go when you press save?
It is moved from RAM into storage.
Which is faster to access, RAM or storage?
RAM. Storage devices are generally much slower than RAM.
Name five types of storage device.
USB stick, SD card, hard disk drive (HDD), solid state drive (SSD), and optical discs such as CDs or DVDs.
What does the processor do with each instruction of a running program?
It fetches the instruction from RAM, then decodes it and executes it.

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 KS3 Computer Science topics

See the full KS3 Computer Science curriculum →

How this lesson was checked. This KS3 Computer Sciencelesson 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 7 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.

Helpful guides for parents and students