- Understand the purpose of the main parts of a processor
- Describe how memory is organised using unique binary addresses
- Explain how the address bus and data bus link the processor and memory
- I can identify the ALU, control unit and registers from a description of their role
- I can explain that every memory location has a unique binary address
- I can state that the address bus carries addresses from processor to memory, and the data bus carries data both ways
- I can apply these ideas to simple exam-style scenarios about fetching data or executing instructions
Answer before the lesson begins. These check prior knowledge — it's fine if you're unsure.
1. What is the main job of a processor?
2. Which type of memory can be read from and written to, but loses its contents when power is switched off?
3. What does binary allow a computer system to represent?
Key vocabulary
Computer Structure
The stored program computer
A computer system takes input, processes it, stores data where needed and sends output. The key idea behind modern computer structure is the stored program concept: program instructions and data are both stored in memory as binary. The processor fetches instructions from memory, carries them out, and uses memory again when it needs to read or write data.
This matters because the same hardware can run many different programs. A laptop can edit a photo, play a video or run a Python program because the instructions in memory change. The processor is not redesigned each time; it simply follows the next set of binary instructions.
Inside the processor
The processor, or CPU, is the part of the computer that carries out instructions. At National 5, you need to know three main parts: the Arithmetic and Logic Unit (ALU), the control unit and registers.
The ALU performs arithmetic operations such as addition, subtraction and multiplication. It also performs comparison operations such as >, < and =, and logic operations such as AND, OR and NOT. For example, when a program checks whether score > 50, that comparison is carried out by the ALU.
The control unit coordinates the work of the processor. It fetches instructions from memory, decodes what each instruction means, and sends control signals to the correct part of the processor or computer system. If the processor needs a value from RAM, the control unit manages that request.
Registers are tiny, fast storage locations inside the processor. They temporarily hold data, instructions, addresses and calculation results while the processor is working. Registers do not store large amounts of data. Anything needed for longer is stored in main memory.
Memory locations and addresses
Main memory stores the programs and data currently being used by the computer. Each memory location has a unique binary address. This means the processor can ask for one exact location rather than searching randomly. Addressing normally starts at 0 and continues upwards in binary.
Think of a memory address like a house number. The house number is not the person living there; it is the way to find the place. In the same way, a memory address is not the data itself. It identifies where the data or instruction is stored.
RAM can be read from and written to. It is used for the operating system, open programs and current data, but it needs power to keep its contents. ROM can be read from but is not normally changed. It stores instructions needed when the computer starts up.
Buses link processor and memory
A bus is a set of electrical pathways used to transfer binary values between components. The address bus carries the memory address being accessed from the processor to memory. It is unidirectional, meaning it travels one way: processor to memory. If the processor wants memory location 01001110, that address is sent along the address bus.
The data bus carries the actual data or instruction. It is bidirectional, meaning it can transfer data from memory to the processor when reading, or from the processor to memory when writing. This distinction is a common exam point: the address bus identifies where; the data bus transfers what.
| Component | Purpose | Exam clue |
|---|---|---|
| ALU | Arithmetic, comparisons and logic | calculate, compare, AND/OR/NOT |
| Control unit | Coordinates instructions and data movement | fetch, decode, control signals |
| Registers | Temporary storage inside the processor | holds current data/address/instruction/result |
| Address bus | Carries memory addresses to memory | which location? |
| Data bus | Carries data between processor and memory | what value/instruction? |
Worked examples
A program contains the instruction SET total TO price * quantity. Which part of the processor carries out the multiplication?
The processor needs the value stored at memory address 01001110. Explain how the buses are used.
01001110 on the address bus.A question says: "Every location in memory has a unique binary address." What does this mean?
A program runs the following instruction:
SET points TO points + bonus
Answer the following:
- Which processor part adds
pointsandbonus? - Which processor part coordinates fetching the instruction from memory?
- Which processor part temporarily holds the values while the instruction is being processed?
- ALU — addition is an arithmetic operation.
- Control unit — it coordinates fetching and decoding instructions.
- Registers — they temporarily hold values, addresses, instructions or results while the processor works.
For a describe question, give the role of the component clearly. For an explain question, link components together. Example: "The address bus carries the address of the required memory location from the processor to memory; the data bus then carries the data from that location back to the processor."
Watch for command words such as state, describe and explain. One-word answers are only enough when the question asks you to identify or state a component.
Questions 1–5 are auto-checked. Questions 6–9 are self-marked — write your answer, then reveal the model answer to check your work.
1. Which part of the processor carries out comparisons such as > and <? TYPE 1
2. Which component coordinates the fetching and decoding of instructions? TYPE 1
3. What does a register do? TYPE 1
4. Which bus carries the memory address from the processor to memory? TYPE 1
5. The data bus is bidirectional. What does this mean? TYPE 1
6. Describe the purpose of the ALU, control unit and registers. TYPE 2
7. Explain how every memory location can be accessed by the processor. TYPE 2
8. A program executes the line SET answer TO a * b. State which part of the processor would: (a) hold the values of a and b temporarily, (b) multiply the values, and (c) coordinate fetching the instruction from memory. TYPE 3
(b) The ALU multiplies the values because multiplication is an arithmetic operation.
(c) The control unit coordinates fetching and decoding the instruction.
9. The processor needs to read data stored at memory address 10110010. Explain how the address bus and data bus are used. TYPE 3
10110010 to memory using the address bus. The address bus identifies the memory location to be accessed. The data stored at that location is then sent from memory back to the processor using the data bus. The address bus carries where to look; the data bus carries the data found there.Suggested timing: 60 minutes. Warm up 6 min; vocabulary 6 min; notes and diagram 20 min; worked examples 10 min; now you try 5 min; task set 13 min.
Key misconception to address: Pupils often treat "processor", "ALU" and "control unit" as interchangeable. Keep returning to exam clue words: calculate/compare = ALU; fetch/decode/coordinate = control unit; temporarily hold = registers.
Live demo suggestion: Draw a simple memory table on the board with binary addresses and values. Ask all pupils to act as the processor: first point to the address, then retrieve the data. This makes the address/data bus distinction concrete.
Extension question: Ask why increasing address bus width lets a computer access more memory locations. Keep this conceptual at N5: more address bits means more unique binary addresses.
SQA command words covered: "state", "identify", "describe", "explain".