FutureLogic Lesson → Hardware → Cambridge IGCSE 0478

RAM vs ROM vs Cache What’s the Difference?

RAM, ROM and cache all sound like “memory”, so why does a computer need three of them? This FutureLogic lesson builds one clear mental model instead of three definitions to memorise.

RAM vs ROM vs Cache: What’s the Difference?

Most students can define RAM, ROM and cache one at a time. The marks are lost when a question asks them to compare the three. Definitions learned in isolation do not join up under exam pressure.

The problem is that all three words sound like “memory”. So the natural question is a good one: if a computer already has RAM, why does it also need ROM and cache?

In this lesson we will build a single mental model. All three store data or instructions — but each has a different job, and that job is what the exam is really testing.

⏱ Estimated time: 12–15 minutes
🎯 Level: Cambridge IGCSE 0478
📚 Pairs with the Topic 3 revision notes

Before we begin…

If these three keep blurring together, it is almost never because the topic is hard. It is because they are usually taught as three separate definitions with nothing linking them.

So we will link them. One idea first: they all hold data, but a computer keeps them separate because it needs data in different places, at different speeds, for different lengths of time.

By the end of this lesson, you will be able to:

Describe the purpose of RAM.
Describe the purpose of ROM.
Describe the purpose of cache.
Explain what volatile and non-volatile mean.
Compare the three by the same characteristic.
Avoid the classic ROM misconception.

RAM: the computer’s working space

RAM stands for Random Access Memory. It is a type of primary storage — memory the CPU can reach directly.

Think of RAM as the desk you are working at. While a program is open, its data and instructions are held in RAM so the processor can get to them quickly. Close the program, and that space is freed up for something else.

  • It holds the programs and data currently in use.
  • Its contents can change constantly as you open and close things.
  • It is volatile: when the power is removed, the contents are lost.
  • More RAM allows more programs or data to be held at once while the computer is working.
Mental model: RAM is the desk. A bigger desk lets you keep more things open at the same time — but clear the desk (power off) and everything on it is gone.

ROM: the instructions that must survive a power cut

ROM stands for Read Only Memory. It is also primary storage, but its job is almost the opposite of RAM’s.

  • It is non-volatile: its contents remain when the power is removed.
  • It stores instructions or data that must not be lost when the machine is switched off.
  • It is normally associated with start-up / firmware instructions — the code that runs the moment you press the power button.

When a computer starts, firmware stored in non-volatile memory provides the instructions needed to begin the start-up process before the operating system and applications are loaded into RAM.

Cache: a small, very fast helper for the CPU

Cache is a small amount of very fast memory located close to — or built into — the CPU.

  • It stores frequently or recently used data and instructions.
  • Because it sits so close to the CPU, the processor can reach it faster than main RAM.
  • Its purpose is to reduce the time the CPU spends waiting for data.

The CPU is extremely fast. Fetching everything from RAM would leave it waiting. Cache keeps the most-needed items right next to the processor, so common requests are answered almost immediately.

Watch out: it is tempting to summarise this as “RAM fast, ROM slow, cache fastest”. Resist it. Speed is not what defines these components — their purpose and their volatility are. Answering on speed alone loses marks.

The comparison table

Here is the whole lesson on one screen. Notice the table compares the same characteristics across all three — that is exactly how a good exam answer is structured.

FeatureRAMROMCache
Volatile?YesNoYes
Main purposeCurrent programs / dataPermanent start-up instructionsFrequently needed data / instructions
Relative speedFastVery fast
CapacityLargerRelatively smallVery small

Worked scenario: starting up and loading a website

Let us walk through a real sequence and place each type of memory where it contributes.

  • You press the power button. The start-up instructions are read from ROM, because RAM is still empty and those instructions must be available immediately.
  • You open a browser. The browser’s program and data are loaded into RAM so the CPU can work with them.
  • You load a website and scroll around. Items the CPU keeps reaching for are held in cache, so it does not have to wait for RAM every time.

Same computer, one short task — and all three did a different job at a different moment. That is the whole idea.

Check Your Understanding

  1. Which type of memory is non-volatile?
  2. Where are the start-up instructions stored, and why not in RAM?
  3. What is the purpose of cache in one sentence?
Check the answer

1. ROM is non-volatile. 2. Start-up instructions are in ROM because RAM is empty at power-on and those instructions must already be present. 3. Cache stores frequently or recently used data close to the CPU to reduce the time the CPU spends waiting.

Exam Tip: compare the same characteristic

When a question asks for a difference, both halves of your answer must be about the same feature.

Good: “RAM is volatile whereas ROM is non-volatile.”

Weak: “RAM stores programs. ROM does not lose its contents.” — these describe two unrelated things, so they do not form a real comparison.

Common Mistake: “ROM means the computer can never change anything stored there.” At IGCSE level the point to hold onto is not permanence — it is non-volatility and purpose. ROM keeps essential instructions available across a power cycle; framing it as “nothing can ever change” is an oversimplification that examiners do not reward.

Final Summary

RAM

Volatile primary storage for programs and data currently in use.

ROM

Non-volatile primary storage for essential start-up / firmware instructions.

Cache

Small, very fast memory near the CPU for frequently used data.

Exam Success

State a difference by comparing the same characteristic — usually volatility or purpose.

RAM, ROM and cache are not three things to memorise. They are one system, sharing the work between them.
FutureLogic Education

Computer Science should feel clear, visual and achievable.

Download free revision PDFs, explore the Learning Hub, or try FutureLogic resources designed to help students move from confusion to confidence.