KS3 · Computer Science
What the CPU does
Your computer can't think. Its 'brain', the CPU, just follows tiny instructions like 'add two numbers', one at a time. So how does it run a game? Watch.
Computing · Inside the computer
Watch a tiny program run
This is a made-up mini computer with 8 memory boxes. The grey numbers down the side are the boxes' addresses. Each box holds a pattern of 0s and 1s, and we've written what it means next to it.
Before you press Next: what number do you think ends up in box 8?
1 0001 0110 LOAD box 62 0010 0111 ADD box 73 0011 1000 STORE in box 84 0100 1000 OUTPUT box 85 0000 0000 STOP6 0000 0111 the number 77 0000 0101 the number 58 0000 0000 empty (for the answer)
| Box | What's in it | CPU is holding |
|---|---|---|
| 1 | LOAD box 6 | — |
Output
Step 1: The CPU starts at box 1 and reads what's there: 0001 0110. In our mini computer that means 'load the number from box 6'. It doesn't have the number yet, just the instruction.
Press Next and watch which box the CPU reaches into each time. Real CPUs use much longer patterns, but the idea is the same.
Memory and storage
Reason it through
If the CPU works from main memory, why aren't your programs just kept there?
First link · your turn
What happens to everything in main memory (RAM) when you switch the computer off?
WHAT YOU'VE LEARNED
A quick recap of today's lesson.
How a computer follows a program: one simple instruction at a time, billions of times a second.
What you need to know
- The CPU carries out a program's instructions and processes data. Main memory holds the instructions and data it is using.
- A program is a list of simple instructions, stored as binary at numbered addresses and carried out one after another.
- Programs live on secondary storage because RAM forgets when the power goes, and a CPU's speed is linked to its clock speed and cores.
The big picture
The CPU (central processing unit) processes data and carries out the instructions of programs. A program is a list of simple instructions, stored with its data as binary at numbered addresses in main memory. The CPU reads the instructions one after another, finds data by its address and can write results back. RAM is volatile, so programs live on secondary storage and are loaded into main memory when needed. The CPU and main memory are the process part of input, process, output and storage, and a CPU's speed is linked to its clock speed and cores.
Key points
Worked example
Problem
Two laptops have different CPUs. CPU A has a clock speed of 3 GHz and 2 cores. CPU B has a clock speed of 2 GHz and 4 cores. Which CPU can carry out more instruction cycles each second in total, if a program can keep every core busy?
⚠ Watch out
Thinking the CPU is where programs and files are kept, because it's called the 'brain'. The CPU carries out instructions. Main memory holds what is being used right now, and secondary storage keeps things when the power is off.
Memory hook
Storage KEEPS it, memory HOLDS it, the CPU DOES it.
Check yourself
Without looking back, explain what happens when you open a program and it runs, using the words secondary storage, main memory, address and CPU. Then say why it can't just live in RAM.
Flashcards
(14)What does the CPU do?
What is a computer program?
What does main memory (RAM) hold?
Can the CPU change what's in main memory?
In what form are instructions and data stored in memory?
What is a memory address?
What does 'volatile' mean for RAM?
Where are programs and files kept when the computer is off?
What has to happen to a program before the CPU can run it?
Name the four parts of the input, process, output and storage picture.
Which part of the input, process, output and storage picture do the CPU and main memory belong to?
What does clock speed measure?
How many cycles each second is 1 GHz?
What is a core, and why can more cores help?
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 KS3 Computer Science topics
- Abstraction in computational thinking
- Adding binary numbers
- Binary to denary conversion
- Boolean logic: AND, OR, NOT
- Bubble sort
- Building truth tables
- Client-server vs peer-to-peer
- Collecting and recording data
- Comparing sorting algorithms
- Compressing data
- Creating a 3D animation
- Decomposition: splitting problems up
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 30 September 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.