- Practice
- About 12 min
- 5 practice questions
Inside the CPU: ALU, control unit and registers
Name the parts of the CPU and state what each does, using exam-style matching questions.
If something looks wrong, please tell us.
The CPU is called the brain of the computer, and exam questions often ask what its internal parts do. Learn three parts and one more idea and you can answer nearly every question.
The three main parts
| Part | Job |
|---|---|
| Arithmetic Logic Unit (ALU) | Performs arithmetic (add, subtract) and logic (compare) operations |
| Control Unit (CU) | Directs and coordinates all other parts; fetches and decodes instructions |
| Registers | Tiny, extremely fast storage inside the CPU for data being worked on |
The instruction cycle
The CPU repeats a cycle: fetch an instruction from memory, decode it to understand it, then execute it. The control unit manages fetch and decode; the ALU does the calculation during execute.
Worked examples
Example 1. Which unit decides whether 15 is greater than 12? Comparison is a logic operation, so the ALU.
Example 2. Which unit tells the memory to send the next instruction? The control unit, because it coordinates the flow of data and instructions. The ALU never gives orders to other parts.
ALU calculates and compares. Control unit commands. Registers hold the data in use.
Key takeaways: ALU calculates, control unit controls, registers store temporarily, and the cycle is fetch, decode, execute.
Check your understanding
-
1. Which part of the CPU performs subtraction?
- Control Unit
- Arithmetic Logic Unit (ALU)
- Registers
- Expansion slot
Show answer
Answer: B. Arithmetic such as addition and subtraction is done by the ALU.
-
2. Which part of the CPU decides whether 15 is greater than 12?
- Control Unit
- Registers
- RAM
- Arithmetic Logic Unit (ALU)
Show answer
Answer: D. Comparison is a logic operation, and logic operations are done by the ALU.
-
3. What are registers?
- Tiny, extremely fast storage inside the CPU for data being worked on
- Slots on the motherboard for memory modules
- Large permanent storage on a hard disk
- Ports for connecting printers
Show answer
Answer: A. Registers sit inside the CPU and hold the data currently in use; they are the fastest storage.
-
4. What is the correct order of the instruction cycle?
- Decode, fetch, execute
- Execute, fetch, decode
- Fetch, decode, execute
- Fetch, execute, decode
Show answer
Answer: C. An instruction is first fetched from memory, then decoded, then executed.
-
5. Which part tells memory to send the next instruction and coordinates the other parts?
- ALU
- Registers
- Control Unit
- Monitor
Show answer
Answer: C. The Control Unit directs and coordinates all other parts; the ALU never gives orders.
Sign in to keep track of the lessons you finish.