GCSE · Computer Science · AQA · Spec 8525
Von Neumann architecture
Your phone is a camera one minute, a calculator the next, and nobody rewired it. So where does the program live? In memory, right next to the data.
Stored program · step by step
Follow a tiny program out of memory
Main memory has six locations here, numbered 0 to 5. Addresses 0 to 3 hold the program's instructions; addresses 4 and 5 hold its data. They're written as words and numbers so you can read them. Inside a real computer, every one of them is stored in binary.
Predict first: at step 3, will the CPU be reading an instruction or a piece of data from memory?
Phase: Fetch
Addr 0
▶ LOAD 4
Addr 1
ADD 5
Addr 2
OUTPUT
Addr 3
STOP
Addr 4
7
Addr 5
3
Address sent
0
On the bus
LOAD 4 (instruction)
CPU holds
—
Output
Step 1: The CPU sends address 0 to memory. Back along the bus comes an instruction: LOAD 4.
Press Next one step at a time. ▶ marks the memory location being used. Each time, check two things: which address the CPU asks for, and whether an instruction or data comes back.
Computer Science · Structure
The parts of a von Neumann computer
Tap each part to see its job. The lines are buses: pathways that carry instructions and data between the parts.
Tap any part of the diagram to see what it does.
Taking turns
Reason it through
Why can't the CPU fetch an instruction and the data it needs at the same moment?
First link · your turn
Start here: where do the instructions and the data both live?
WHAT YOU'VE LEARNED
A quick recap of today's lesson.
The program lives in memory, right next door to the data it works on.
What you need to know
- Von Neumann is a stored-program design: the program lives in memory, not in the wiring.
- The main parts are the CPU, main memory, input devices and output devices, joined by buses.
- Main memory holds the program's instructions and the data they use, together, both in binary.
- Every location in main memory has its own address. That's how the CPU says exactly which one it wants.
- Don't mix them up: the address is where something is; the contents are what's stored there.
Have a goAddress 6 holds the number 15. The CPU sends 6 to memory. Which number comes back along the bus: 6 or 15?
15, the contents of address 6.
6 is only where to look, and the CPU already knows it; what comes back is what is stored at that location, the contents.
- The CPU fetches the next instruction, decodes it, executes it, then repeats. Instructions run in order unless one changes what comes next.
- Carrying out an instruction can need another trip to memory, for example to read the data it works on.
Have a goLOAD 9 means "copy the value at address 9 into the CPU". From fetching LOAD 9 to finishing it, how many trips to memory does the CPU make?
Two: one to fetch LOAD 9, one to read the value at address 9.
Counting one is the trap: fetching only brings the instruction in, and carrying it out needs the data, which is a second trip to the same memory.
- Instructions and data share the same buses, so they travel one transfer at a time, never side by side.
Have a goYour classmate is sure ADD 5 and the number it needs can squeeze down the bus side by side to save time. Who actually travels first?
ADD 5 travels first; its data follows afterwards.
They can't go side by side on shared buses, and the CPU has to fetch and decode ADD 5 before it even knows which address its data is at.
- Want a different program? Load different instructions into memory. Same hardware, no rewiring.
The big picture
A von Neumann computer has a CPU, one main memory, input devices and output devices, all joined by buses. Main memory holds the program's instructions AND the data they use, in binary, each at its own address. The CPU fetches an instruction, decodes it and executes it, then moves on to the next. Because instructions and data share one memory and the same buses, they travel one after the other. And because the program is just stored in memory, a new program means new instructions, not new hardware.
Key points
Worked example
Problem
Main memory holds: address 10: LOAD 20, address 11: SUBTRACT 21, address 12: STORE 22, address 13: STOP, address 20: 9, address 21: 4, address 22: 0. LOAD copies a value into the CPU, SUBTRACT takes a value away from the one the CPU holds, and STORE writes the CPU's value into memory. The CPU starts at address 10. How many transfers happen between memory and the CPU, and what does address 22 hold at the end?
⚠ Watch out
Writing that the program is "stored in the CPU". It sounds right, because the CPU is where the work happens. But the CPU only carries out the instructions; the program is stored in main memory, in the same memory as the data.
Memory hook
Picture a row of numbered lockers with one narrow corridor to the CPU. Program and data share the lockers, and only one thing can walk down the corridor at a time. (Unlike real lockers, every one holds nothing but binary.)
Check yourself
Without scrolling up: name the four main kinds of part, say where a running program is kept and what shares that space, and explain why an instruction and its data cannot arrive together.
Flashcards
(12)What is the stored-program concept?
Name the main parts of a von Neumann computer.
What is a bus?
In what form are instructions and data held in main memory?
What is a memory address?
Address or contents? "Location 4 holds 7"
What three stages does the CPU repeat for every instruction?
What happens in the decode stage?
In what order does the CPU carry out a program's instructions?
What has to change for a computer to run a different program?
Why can't an instruction and its data be fetched at the same time?
What do input and output devices do?
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 AQA GCSE Computer Science topics
How this lesson was checked. This AQA GCSE Computer Science (specification 8525)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 30 October 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.