All exams← All GCSE Computer Science (Edexcel) notes

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

Revision notes

The CPU and the Fetch-Decode-Execute Cycle

The CPU (Central Processing Unit) carries out instructions from programs. Its job is controlled by the fetch-decode-execute (FDE) cycle, which repeats constantly:

  • Fetch: the next instruction address is held in the Program Counter (PC); the instruction is fetched from memory into the Memory Address Register (MAR) then the Memory Data Register (MDR), and the PC increments.
  • Decode: the Control Unit (CU) works out what the instruction means.
  • Execute: the instruction is carried out, often using the Arithmetic Logic Unit (ALU) for maths or logic operations.
  • Registers are tiny, super-fast storage locations inside the CPU used to hold data during this cycle (PC, MAR, MDR, Accumulator).

Von Neumann Architecture

  • Edexcel GCSE is based on the Von Neumann model: a single shared memory stores both data and instructions, and a single bus system moves them.
  • Common mistake: forgetting that because instructions and data share the same memory and bus, the CPU cannot fetch an instruction and fetch/write data at exactly the same time (the Von Neumann bottleneck).

Factors Affecting CPU Performance

Three key factors, and you must be able to explain each:

  • Clock speed: measured in Hertz (Hz), typically GHz today; how many FDE cycles per second. Higher clock speed usually means faster processing.
  • Number of cores: a core is an independent processing unit; more cores allow more instructions to be processed in parallel (multi-core processing), but only if software is written to use them.
  • Cache size: a small, very fast memory built into or very close to the CPU that stores frequently used instructions/data, reducing the need to fetch from slower RAM. Bigger cache generally means fewer slow trips to RAM.

Embedded Systems

  • An embedded system is a computer system built into a larger device to perform a specific, dedicated function.
  • Examples: washing machines, microwave controllers, cars' engine management systems, digital watches, traffic lights.
  • Common mistake: confusing an embedded system with a general-purpose computer. Embedded systems usually run one fixed program and cannot run other software.

Common Exam Mistakes

  • Mixing up the roles of the CU (decodes/controls) and the ALU (performs calculations and logic).
  • Saying 'more cores always means faster' without qualifying that software must be able to use multiple cores.
  • Forgetting the PC holds the address of the NEXT instruction, not the current one.
  • Writing 'RAM' when the question is about CPU registers or cache (different types of memory, different speeds/locations).

Key facts

Flashcards

What are the three stages of the fetch-decode-execute cycle?
Fetch, decode, execute.
tap to reveal
What does the Program Counter (PC) store?
The memory address of the next instruction to be fetched.
tap to reveal
What is the role of the Memory Address Register (MAR)?
It holds the address of the data or instruction currently being fetched or written.
tap to reveal
What is the role of the Memory Data Register (MDR)?
It holds the actual data or instruction that has just been fetched or is about to be written.
tap to reveal
What does the Control Unit (CU) do?
Decodes instructions and coordinates and controls the operation of the CPU.
tap to reveal
What does the Arithmetic Logic Unit (ALU) do?
Performs arithmetic calculations and logical/comparison operations.
tap to reveal
What unit is clock speed measured in?
Hertz (Hz), commonly gigahertz (GHz) in modern CPUs.
tap to reveal
What architecture is Edexcel GCSE Computer Science based on?
Von Neumann architecture, with a single shared memory and bus for data and instructions.
tap to reveal
What is the Von Neumann bottleneck?
The limitation that the CPU cannot fetch an instruction and access data at the same time because they share one memory and one bus.
tap to reveal
What is a core in CPU terms?
An independent processing unit within the CPU; multiple cores allow parallel processing if the software supports it.
tap to reveal
What is cache memory and why does it help performance?
Small, very fast memory close to the CPU storing frequently used data/instructions, reducing slower trips to RAM.
tap to reveal
Define an embedded system and give an example.
A computer system built into a larger device to perform one specific dedicated function, e.g. a washing machine controller.
tap to reveal
Name three factors that affect CPU performance.
Clock speed, number of cores, and cache size.
tap to reveal
Why does a higher clock speed generally mean faster processing?
Because more fetch-decode-execute cycles can be completed per second.
tap to reveal
What common mistake do students make about multi-core CPUs?
Assuming more cores always means faster performance, without the software being written to use multiple cores in parallel.
tap to reveal
Practice questions

Computer systems & architecture: 5 practice questions

Q1. In the von Neumann architecture, what is stored together in the same memory?
  • A.  Data and instructions
  • B.  The ALU and control unit
  • C.  Input and output devices
  • D.  Only instructions, never data
Show answer & explanation
✓ Answer: A. Data and instructions
Von Neumann architecture stores both program instructions and the data they operate on in the same main memory, addressed in the same way. This is why a computer can treat instructions as data (e.g. when loading a new program). Keeping the ALU and control unit together describes the CPU, not memory.
Q2. Which CPU component performs arithmetic and logical operations such as addition and comparisons?
  • A.  Control unit (CU)
  • B.  Program counter
  • C.  Arithmetic logic unit (ALU)
  • D.  Cache
Show answer & explanation
✓ Answer: C. Arithmetic logic unit (ALU)
The ALU carries out all arithmetic (add, subtract) and logical (AND, OR, comparison) operations requested by an instruction. The control unit instead directs and coordinates the fetch-decode-execute cycle rather than doing the calculations itself.
Q3. What is the purpose of the control unit (CU) in the CPU?
  • A.  To hold data permanently even when powered off
  • B.  To manage and coordinate the fetch, decode and execute cycle
  • C.  To perform all arithmetic calculations
  • D.  To store the currently executing instruction only
Show answer & explanation
✓ Answer: B. To manage and coordinate the fetch, decode and execute cycle
The control unit directs the operation of the processor, sending control signals that manage fetching instructions from memory, decoding them, and coordinating their execution. Permanent storage without power describes non-volatile memory like ROM, not the CU.
Q4. During the fetch-decode-execute cycle, what does the Program Counter (PC) hold?
  • A.  The address of the next instruction to be fetched
  • B.  The current contents of the accumulator
  • C.  The instruction currently being decoded
  • D.  The result of the last calculation
Show answer & explanation
✓ Answer: A. The address of the next instruction to be fetched
The Program Counter stores the memory address of the next instruction to be fetched, and is normally incremented after each fetch so the CPU knows where to go next. The instruction itself, once fetched, is held in the Memory Data Register, not the PC.
Q5. Which register temporarily holds an instruction or data that has just been fetched from memory?
  • A.  Memory Address Register (MAR)
  • B.  Accumulator
  • C.  Program Counter
  • D.  Memory Data Register (MDR)
Show answer & explanation
✓ Answer: D. Memory Data Register (MDR)
The Memory Data Register (MDR) holds the data or instruction that has been read from, or is about to be written to, memory. The MAR, by contrast, holds the address in memory that is about to be accessed, not the content itself.
Test yourself
See the GCSE Computer Science (Edexcel) page

More GCSE Computer Science (Edexcel) topics