The Central Processing Unit (CPU) is the brain of the computer — it processes all instructions and data. The CPU has three main components:
The ALU performs all arithmetic calculations (addition, subtraction, multiplication, division) and logical operations (comparisons such as AND, OR, NOT, greater than, equal to).
The Control Unit directs the operation of the processor. It fetches instructions from memory, decodes them, and coordinates the execution. It does not process data itself — it manages the flow.
Registers are small, extremely fast storage locations inside the CPU. They hold data and instructions currently being processed. Key registers include:
| Register | Function |
|---|---|
| Program Counter (PC) | Holds the memory address of the next instruction to be fetched |
| Memory Address Register (MAR) | Holds the address in memory that is being read from or written to |
| Memory Data Register (MDR) | Holds the data that has been fetched from or is to be written to memory |
| Current Instruction Register (CIR) | Holds the current instruction being decoded and executed |
| Accumulator (ACC) | Holds the result of arithmetic and logical operations in the ALU |
The Von Neumann model is the foundational design of modern computers. It defines a computer that:
| Bus | Purpose | Direction |
|---|---|---|
| Address Bus | Carries memory addresses from CPU to memory/I-O | One-way (CPU → memory) |
| Data Bus | Carries actual data/instructions between CPU and memory | Two-way |
| Control Bus | Carries control signals (read/write commands, clock signals) | Two-way |
5 questions · 10 marks
| Term | Definition |
|---|
10 minutes · mixed marks