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.
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?
First link · your turn
Start with the one fact about how cache and RAM compare for access. What is it?
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
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?
What does 'primary storage' mean?
Where is cache memory located?
What does the processor do first when it needs an instruction or data item?
What happens if the item is in cache?
What happens if the item is not in cache?
Why is cache useful?
Is cache faster or slower to access than RAM?
How does cache capacity compare with RAM?
Is cache cheap or expensive per unit of storage compared with RAM?
What happens to the contents of cache when the power is switched off?
Name two things cache and RAM have in common.
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 Eduqas GCSE Computer Science topics
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.