GCSE · Computer Science · Eduqas · Spec C500QS

Cache memory

Every time your processor needs something, it asks one tiny question. The answer decides how long it waits.

Computer Science · Primary storage

One request, one question: is it in cache?

The processor has checked cache. Pick what it finds, then see where the item ends up being read from.

Is the item in cache?

2 route taken by the request.

On The processor needs an instruction or data item. 2 branches to choose from.

Follow a single request from the processor. It needs one instruction or data item, and it checks cache first.

Why cache helps

?

Reason it through

Why does having cache make the processor spend less time waiting?

Link 1 of 4

First link · your turn

Start with the one fact about how cache and RAM compare for access. What is it?

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

Cache vs RAM

Cache memoryvsRAM

Four differences, two things in common. Start with the one people mix up most: speed.

Focus

Speed of access

Cache memory

Very fast to access

RAM

Slower to access than cache

The insight

This is why the processor checks cache first.

Storage capacity

Cache memory

Small, much smaller than RAM

RAM

Much larger than cache

Cost per unit of storage

Cache memory

More expensive

RAM

Cheaper per unit of storage

Location

Cache memory

Very close to the processor, commonly on or next to the CPU chip

RAM

Further from the processor than cache

Volatile?

Cache memory

Yes, contents lost when the power is off

RAM

Yes, contents lost when the power is off

Type of storage

Cache memory

Primary storage

RAM

Primary storage

Pick the idea closest to yours

What happens when the power goes off, and why is cache so small?

A computer is switched off at the wall, then switched on again. Cache is much smaller than RAM, even though cache is the faster store.

Which idea is closest to what you think about cache?
How sure are you?

Now you write it

Explain cache in your own words

Explain the purpose of cache memory and why it reduces the time the processor spends waiting. [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 small, fast store the processor checks first, before it bothers RAM.

What you need to know

  • Cache memory is primary storage, which means main memory the processor can reach directly. RAM is primary storage too.
  • Cache holds frequently used (or soon-to-be-needed) instructions and data so the processor can reach them quickly.
  • It sits very close to the processor, commonly on or next to the CPU chip, closer than RAM.
  • Have a goA classmate says: 'Cache? That's just a fancy name for RAM, they're the same thing.' Confident, but is it right? Give one fact from above that shows they are separate.

    No: cache is a separate store, located closer to the processor than RAM.

    Both are primary storage, which is why they get mixed up, but cache sits closer to the processor, so the two are not the same store.

  • When the processor needs an instruction or data item, it checks cache first.
  • If the item is in cache, it is read from there. If not, it is fetched from RAM, which takes longer.
  • Cache is very fast to access, faster than RAM, so the processor spends less time waiting.
  • Have a goThe processor needs the same item ten times. Case 1: found in cache every time. Case 2: fetched from RAM every time. Which case leaves it waiting longer in total?

    Case 2, the RAM case.

    Each fetch from RAM takes longer than a read from cache, so ten slower fetches add up to more waiting than ten quick reads.

  • Cache has a small capacity, much smaller than RAM, and is expensive per unit of storage, which is one reason it stays small.
  • Have a goFinish the sentence: compared with RAM, cache has ______ capacity and costs ______ per unit of storage.

    A smaller capacity, and costs more per unit of storage.

    Speed is not the reason it stays small: cost per unit of storage is one reason, so cache is small, fast and expensive.

  • Cache is volatile, so its contents are lost when the power is switched off, as with RAM.

The big picture

Cache memory is a small, very fast, expensive, volatile type of primary storage close to the processor. The processor checks it first: an item found there is read quickly, and an item that is not is fetched from slower RAM. Holding frequently used instructions and data in cache cuts the time the processor spends waiting.

Key points

1Cache memory is primary storage, like RAM, located very close to the processor, commonly on or next to the CPU chip.
2The processor checks cache first: an item found there is read from cache, otherwise it is fetched from RAM, which takes longer.
3Cache is useful because it is faster to access than RAM, so holding frequently used instructions and data there reduces waiting time.
4Compared with RAM, cache is faster, smaller in capacity, more expensive per unit of storage and closer to the processor.
5Cache and RAM are both volatile primary storage, so both lose their contents when the power is switched off.

Worked example

Problem

The processor needs two items. Item P is already in cache. Item Q is not in cache. Trace each request and say which one makes the processor wait longer.

⚠ Watch out

Treating cache as 'just another name for RAM', or thinking it keeps its contents when the power is off. Cache is a separate, smaller, faster, more expensive primary store closer to the processor, and it is volatile.

🧠

Memory hook

Desk drawer first, cupboard second: the processor checks cache, and only goes to RAM if the item is not there. (The analogy breaks down on one point: unlike a cupboard, RAM loses its contents without power, and so does cache.)

✓

Check yourself

Without looking back: which store does the processor look in first, and what happens if the item it wants is not there? Then name two ways that store differs from RAM.

Flashcards

(12)
What is cache memory?
A type of primary storage that holds frequently used (or soon-to-be-needed) instructions and data so the processor can reach them quickly.
What does 'primary storage' mean?
Main memory that is directly accessible by the processor. Cache and RAM are both examples.
Where is cache memory located?
Very close to the processor, commonly on or next to the CPU chip, and closer than RAM.
What does the processor do first when it needs an instruction or data item?
It checks cache first.
What happens if the item is in cache?
It is read from cache, which is the quick route.
What happens if the item is not in cache?
It is fetched from RAM, which takes longer.
Why is cache useful?
It is faster to access than RAM, so holding frequently used instructions and data there cuts the time the processor spends waiting.
Is cache faster or slower to access than RAM?
Faster. Very fast to access is one of its key characteristics.
How does cache capacity compare with RAM?
Cache has a small capacity, much smaller than RAM.
Is cache cheap or expensive per unit of storage compared with RAM?
Expensive. This is one reason its capacity is kept small.
What happens to the contents of cache when the power is switched off?
They are lost: cache is volatile, as with RAM.
Name two things cache and RAM have in common.
Both are primary storage and both are volatile.

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.