This mini-lesson covers OCR 1.1: what is inside a processor, how it executes an instruction, what genuinely makes it fast, and how data is held when the power goes off.
Work through each screen, answer the questions as you go (some are recall, some are calculations you must actually work out) and collect โญ stars. Press Start when you're ready.
The CPU has three parts and a set of tiny, extremely fast stores called registers.
| Register | Job |
|---|---|
| PC โ Program Counter | Address of the next instruction |
| MAR โ Memory Address Register | The address about to be read from or written to |
| MDR โ Memory Data Register | The data or instruction just fetched (or about to be written) |
| CIR โ Current Instruction Register | The instruction now being decoded and executed |
| ACC โ Accumulator | Holds the results of ALU operations |
Buses: the address bus is unidirectional and its width fixes how much memory can be addressed (n lines โ 2โฟ locations). The data bus is bidirectional and its width fixes how many bits move at once. The control bus carries read, write, clock and interrupt signals.
Interrupts: at the end of each cycle the processor checks the interrupt register. If a higher-priority interrupt is waiting, the current contents of the registers are pushed onto a stack, the appropriate interrupt service routine runs, and the saved state is then popped back so the interrupted program resumes exactly where it left off.
Why the PC is incremented during fetch: so that a branch executed a moment later can simply overwrite it. If the increment came afterwards, every jump would immediately be undone.
The point about cache: a register takes under a nanosecond, cache a few nanoseconds, main memory around 100 nanoseconds. The processor is not waiting on arithmetic โ it is waiting on memory. Cache exists to hide that gap, and the hit rate is what decides real-world speed.
| Von Neumann | Harvard |
|---|---|
| One memory for instructions and data | Separate instruction and data memories |
| One shared bus โ the von Neumann bottleneck | Separate buses โ instruction and data fetched at once |
| Cheap, simple, flexible; general-purpose PCs | Faster and more predictable; embedded systems and DSPs |
| RISC | CISC |
|---|---|
| Few, simple, fixed-length instructions, mostly one cycle | Many, complex, variable-length instructions, several cycles |
| Pipelines beautifully; more registers | Pipelining is hard; fewer registers |
| The compiler does the hard work; more instructions per program | The hardware does it; fewer instructions per program |
| Low power โ ARM, in every phone | Historically x86 desktops |
A GPU has thousands of simple cores all executing the same instruction on different data โ the SIMD model. That is a perfect match for shading two million pixels, or for the matrix multiplications inside machine learning. Give a GPU a branch-heavy sequential task, however, and it is slower than a CPU.
| Type | How it works | Trade-offs |
|---|---|---|
| Magnetic (HDD) | Magnetised platters, a moving read/write head | Cheap per GB, huge capacity; moving parts, slow seek, fragile |
| Flash / SSD | NAND transistors trapping charge; no moving parts | Fast, silent, shock-proof, low power; dearer; finite write cycles |
| Optical (CD/DVD) | A laser burns pits into a reflective layer | Very cheap, portable, long-lived; slow, small capacity, easily scratched |
Why an SSD feels so much faster: not raw transfer rate, but latency. A hard disk must physically move a head and wait for the platter to rotate โ several milliseconds. An SSD addresses any block electronically in microseconds. For thousands of small scattered reads, that is a thousandfold difference.
Tap an item, then tap the group it belongs to.
Tap an item on the left, then its partner on the right.
Processor: ALU ยท control unit ยท registers (PC, MAR, MDR, CIR, ACC) ยท address, data and control buses
FDE: MAR โ PC ยท PC โ PC + 1 ยท MDR โ memory ยท CIR โ MDR ยท decode ยท execute; interrupts checked each cycle
Performance: clock speed ยท cores ยท cache hit rate ยท pipelining (flushed by branches) ยท bus width
Architecture: von Neumann (one memory, bottleneck) vs Harvard (separate, embedded) ยท RISC vs CISC ยท GPU = SIMD
Memory: RAM volatile ยท ROM holds the BIOS ยท virtual memory pages to disk and can thrash
Storage: magnetic (cheap, moving parts) ยท flash (fast, finite writes) ยท optical (cheap, slow, fragile)
That is the whole of OCR 1.1. Press Finish to see your score.
You've worked through Characteristics of processors & devices for OCR A-level Computer Science (H446). ๐
Your stars: 0 / 0
Next: test yourself in the Evaluate stage Confidence Quiz, then lock it in with Verify.