← Back to subjects
0
OCR GCSE Computer Science (J277) · Systems architecture
Mini-Lesson

Systems architecture

This mini-lesson covers OCR J277 · 1.1 Systems architecture: the purpose of the CPU, the Von Neumann architecture and its registers (MAR, MDR, PC, ACC), the fetch–decode–execute cycle, what affects CPU performance (clock speed, cores, cache) and embedded systems.

the CPU registers & F-D-E performance & embedded the CPU is the brain that processes all instructions

Work through each screen, answer the questions as you go (some are wordy, some are calculations) and collect ⭐ stars. Press Start when you're ready.

The processor · purpose

The purpose of the CPU

The Central Processing Unit (CPU) is the brain of the computer. Its job is to fetch, decode and execute the instructions of a program stored in memory, one after another.

  • It processes data and instructions to make the computer work.
  • It carries out the fetch–decode–execute cycle continuously.
  • Its main parts are the Control Unit (CU), the Arithmetic Logic Unit (ALU), the cache and the registers.

Key parts: the CU directs the operation of the processor and controls the flow of data; the ALU does all the arithmetic (add, subtract) and logic (AND, OR, comparisons); the cache is fast memory close to the CPU.

Quick check

What does the ALU do?

?Inside the CPU, which component carries out arithmetic calculations and logical comparisons?
The processor · architecture

Von Neumann architecture & registers

Most computers use the Von Neumann architecture: data and instructions are stored together in the same memory, and the CPU fetches them one at a time. Special-purpose, very fast stores inside the CPU are called registers.

CPU registers PC — address of the NEXT instruction MAR — the address being read/written MDR — the data/instruction itself ACC — result of ALU calculations Main memory (RAM) holds data + instructions together
The four key registers: PC, MAR, MDR and ACC.
  • MAR (Memory Address Register) — holds the address in memory to be read from or written to.
  • MDR (Memory Data Register) — holds the data or instruction just fetched from, or about to be written to, memory.
  • PC (Program Counter) — holds the address of the next instruction to be fetched.
  • ACC (Accumulator) — stores the result of calculations carried out by the ALU.
Quick check

Which register holds an address?

?The CPU needs to know where in memory to fetch the next instruction from. Which register stores that memory address while it is accessed?
The processor · the cycle

The fetch–decode–execute cycle

The CPU repeats the fetch–decode–execute cycle for every instruction:

1 · FETCH 2 · DECODE 3 · EXECUTE
Then it repeats — the PC increases to point at the next instruction.
  • Fetch — the instruction at the address in the PC is copied from memory into the CPU (via MAR & MDR); the PC is increased.
  • Decode — the CU works out what the instruction means.
  • Execute — the instruction is carried out (e.g. the ALU does a calculation; the result may go to the ACC).
Performance · clock, cores, cache

CPU performance

Three factors change how fast a CPU runs:

  • Clock speed — how many cycles per second, measured in hertz. A higher clock speed = more instructions per second. (e.g. 3.5 GHz = 3.5 × 10⁹ cycles/second.)
  • Number of cores — each core can fetch–decode–execute independently, so more cores can process more instructions at once. (Not always double the speed — some tasks can't be split.)
  • Cache size — cache is very fast memory inside/near the CPU. A bigger cache stores more frequently used data, so the CPU waits less for RAM.

Units: 1 kHz = 1,000 Hz, 1 MHz = 1,000,000 Hz, 1 GHz = 1,000,000,000 Hz. So a 2 GHz clock ticks 2 billion times a second.

Calculate

Your turn — clock cycles

1A CPU has a clock speed of 3 GHz. How many clock cycles does it perform in 1 second? Give your answer in billions (i.e. how many × 10⁹).
billion
Hint: 1 GHz = 1 billion cycles per second, so 3 GHz = 3 billion.
Quick check

Why add more cores?

?A laptop is upgraded from a single-core to a quad-core CPU at the same clock speed. What is the main benefit?
Embedded systems

Embedded systems

An embedded system is a computer built inside a larger device to do one specific job. It is dedicated to that task rather than being a general-purpose computer.

  • Examples: a washing machine controller, dishwasher, traffic lights, a car's engine management, a digital watch, a microwave.
  • They are usually cheaper, smaller, use less power and are more reliable than a general-purpose PC because they run fixed programs.

Contrast: a laptop or phone is general-purpose — it runs many different programs. An embedded system runs one dedicated control program.

Quick check

Spot the embedded system

?Which of these is an embedded system?
Sort it

Which register does what?

Tap a job, then tap the register (or part) it belongs to.

🎯 Holds an address

📦 Holds data/result

🧠 Control

Match it

Match term to meaning

Tap a term on the left, then its matching description on the right.

Term
Meaning
Recap

The big ideas to know

CPU purpose: fetch, decode & execute instructions (CU directs · ALU calculates)

Von Neumann: data & instructions stored together in one memory

Registers: MAR (address) · MDR (data) · PC (next instruction address) · ACC (result)

Cycle: fetch → decode → execute, repeated

Performance: clock speed (Hz) · number of cores · cache size

Embedded systems: dedicated computer inside a device (e.g. washing machine)

You've covered the whole topic. Press Finish to see your score.

🏆

Mini-lesson complete!

⭐⭐⭐

You've worked through Systems architecture for OCR GCSE Computer Science (J277). 🎉

Your stars: 0 / 0

Next: test yourself in the Evaluate stage Confidence Quiz, then lock it in with Verify.

📣 Smashed it? Share your score

Challenge a mate to beat your stars, or show a parent how you got on.

→ Back to all subjects