All exams← All GCSE Computer Science (OCR) notes

Computer systems & architecture: GCSE Computer Science (OCR) revision notes

Revision notes

The CPU and the fetch-execute cycle

The CPU (Central Processing Unit) carries out instructions from programs. It runs the fetch-decode-execute cycle constantly: fetch an instruction from memory, decode what it means, execute it, then move on.

  • PC (Program Counter): holds the address of the NEXT instruction to fetch.
  • MAR (Memory Address Register): holds the address currently being read/written.
  • MDR (Memory Data Register): holds the data/instruction just fetched.
  • Accumulator: stores results of calculations during execution.

CPU performance factors

Three things affect how fast a CPU runs:

  • Clock speed: measured in GHz (billions of cycles per second). Higher = more fetch-execute cycles per second.
  • Number of cores: each core can process instructions independently, so more cores can mean more done in parallel (but software must support multi-core use).
  • Cache size: small, very fast memory on the CPU that stores frequently used data, so the CPU spends less time waiting on slower RAM.

Common mistake: saying 'more cores always means faster' — it only helps if the software is written to use multiple cores.

Von Neumann architecture

Most computers use the Von Neumann model: one memory store holds both data AND instructions, and they share the same bus system. Key idea: since data and instructions look the same in memory, the CPU must know which is which from context.

Embedded systems

An embedded system is a computer built into a larger device to perform a specific, dedicated task (e.g. a washing machine controller, a car engine management system, a microwave). Common mistake: forgetting that embedded systems usually run ONE fixed program, unlike a general-purpose computer.

Primary storage: RAM and ROM

  • RAM (Random Access Memory): volatile (loses contents when powered off), holds currently running programs and data, read AND write.
  • ROM (Read Only Memory): non-volatile, holds start-up instructions (e.g. BIOS), cannot normally be written to.

Common mistake: confusing 'volatile' (loses data when off) with 'non-volatile' (keeps data when off) — RAM is volatile, ROM and storage like SSDs are non-volatile.

Buses

Data travels around the computer along buses:

  • Address bus: carries the memory address (one-directional, CPU to memory).
  • Data bus: carries the actual data or instruction (bi-directional).
  • Control bus: carries control signals like read/write commands.

Key facts

Practice questions

Computer systems & architecture: 5 practice questions

Q1. Which CPU component carries out arithmetic operations such as addition and subtraction, as well as logical comparisons?
  • A.  Control Unit (CU)
  • B.  Memory Address Register (MAR)
  • C.  Arithmetic Logic Unit (ALU)
  • D.  Cache
Show answer & explanation
✓ Answer: C. Arithmetic Logic Unit (ALU)
The ALU performs all arithmetic calculations and logical operations (like AND, OR, comparisons) within the CPU. The Control Unit instead manages and coordinates the fetch-decode-execute cycle, and the MAR simply holds memory addresses.
Q2. What is the purpose of the Control Unit (CU) inside the CPU?
  • A.  To manage and coordinate the fetch-decode-execute cycle
  • B.  To temporarily hold the result of the last calculation
  • C.  To perform arithmetic calculations
  • D.  To store the currently executing instruction
Show answer & explanation
✓ Answer: A. To manage and coordinate the fetch-decode-execute cycle
The Control Unit directs the operation of the processor, sending timing and control signals that coordinate fetching, decoding and executing instructions. Storing the current instruction is the job of the Current Instruction Register (CIR), and calculations are done by the ALU, not the CU.
Q3. Which register holds the memory address of the next instruction to be fetched?
  • A.  Memory Data Register (MDR)
  • B.  Current Instruction Register (CIR)
  • C.  Accumulator
  • D.  Program Counter (PC)
Show answer & explanation
✓ Answer: D. Program Counter (PC)
The Program Counter keeps track of the address of the next instruction so the CPU knows where to fetch from. The MDR temporarily holds data being transferred to or from memory, and the CIR holds the instruction currently being decoded and executed.
Q4. During the fetch-decode-execute cycle, what happens immediately after an instruction is fetched from memory?
  • A.  The Program Counter is reset to zero
  • B.  The instruction is executed
  • C.  The instruction is decoded so the CPU understands what to do
  • D.  The result is written back to memory
Show answer & explanation
✓ Answer: C. The instruction is decoded so the CPU understands what to do
After fetching, the instruction must be decoded by the Control Unit so the CPU can interpret what operation is required before it can be executed. Writing back results only happens after execution, and the Program Counter is incremented (not reset) to point to the next instruction.
Q5. A student says increasing a CPU's clock speed will always make a computer perform better with no downsides. Why is this an oversimplification?
  • A.  Clock speed has no effect on performance at all
  • B.  Higher clock speeds generate more heat and can cause the CPU to throttle or overheat
  • C.  Clock speed only affects the hard disk, not the CPU
  • D.  Increasing clock speed automatically reduces the number of cores available
Show answer & explanation
✓ Answer: B. Higher clock speeds generate more heat and can cause the CPU to throttle or overheat
While a higher clock speed generally means more fetch-decode-execute cycles per second, pushing it too high increases heat output, which can force thermal throttling and reduce reliability or even damage components. Performance is also limited by other factors such as cache size and number of cores, not clock speed alone.
Test yourself
See the GCSE Computer Science (OCR) page

More GCSE Computer Science (OCR) topics