CIE AS & A Level Computer Science, section 4.1 (Central Processing Unit (CPU) architecture)
Arithmetic and Logic Unit (ALU)
The ALU carries out arithmetic operations (add, subtract) and logic operations (AND, OR, NOT, comparisons, shifts). It uses the accumulator to hold the result, and sets flags in the status register.
Control Unit (CU)
The control unit coordinates the whole processor. It:
- fetches instructions from memory and decodes them,
- sends control signals to the ALU, memory and input/output devices so that they act at the right time,
- controls the flow of data between registers, memory and the ALU,
- handles interrupts.
System clock
The system clock produces a regular electronic pulse that synchronises all the operations in the computer. Each tick triggers the next step. The clock speed (in hertz, such as 3 GHz) is the number of cycles per second. A higher clock speed generally means more instructions are processed per second.
Immediate Access Store (IAS)
The immediate access store is the main memory (RAM). It holds the programs and data currently being used, and the processor can access it directly (unlike secondary storage).
How they work together
- The control unit fetches an instruction from the IAS.
- It decodes the instruction and sends signals.
- The ALU performs the calculation.
- Everything is timed by the clock.
| Component | Main job |
|---|---|
| ALU | calculations and comparisons |
| Control unit | decoding and coordinating |
| Clock | synchronising |
| IAS | holding programs and data in use |
Common mistake: saying the ALU "decides" what to do next. The control unit decodes and controls; the ALU just carries out the arithmetic or logic. Also, clock speed is not the only thing that decides performance.
Exam tip: give the function of each part in one clear sentence, and use correct terms such as "control signals", "synchronises" and "arithmetic and logic operations".
Check yourself
What does the ALU do?
It performs arithmetic and logic operations.
What is the purpose of the system clock?
It sends regular pulses that synchronise all the operations in the computer.
What is the immediate access store?
The main memory (RAM), holding the programs and data currently in use, directly accessible to the CPU.