Study Guide Instructor view

The CPU and Von Neumann Architecture

Teaching notes for Lesson 3.1, with controls for presenting it.

Keep this page on your own screen. Share only the lesson window. The lesson window holds no teaching notes, so sharing it cannot show them.

Presenting

  1. Open the lesson in its own window and share that window, not this one.
  2. Use Next and Previous here, or the lesson’s own, to move through the lesson. Next reveals one thing at a time: the next idea, or the answer to the question on screen, then the next step. Previous takes the last reveal back. The line below says what is on screen and what Next will show.
  3. Reveal hints and answers when the class is ready, and reset a demonstration before using it again.

The controls need JavaScript and a browser that supports BroadcastChannel. Without them, open the lesson in presentation mode and use its own controls.

The two windows talk to each other only inside this browser, on this device. Nothing is sent to a server, and no account is needed. A second device (a phone or another tablet) cannot follow the lesson window yet.

Lesson plan

Level
Beginner
Time
About 60 minutes; the steps below add up to 60

Pupils meet the CPU through a cook who follows numbered recipe cards from a folder, and build the Von Neumann idea, the units, the registers and the three buses from that picture before any name is given. The lesson ends with pupils applying the ideas to new cases (a muddled register, a program swap, a bus) and explaining the CPU in their own words, so you can see whether the parts are understood or only recited.

Objectives

  • Explain the role of the CPU in a computer, and what a microprocessor is
  • Explain the Von Neumann (stored-program) idea: instructions and data held together in one memory
  • State what the ALU and the control unit each do
  • State what the PC, MAR, MDR, CIR and ACC each hold
  • State what the address bus, the data bus and the control bus each carry

Before the lesson

  • Draw the kitchen on the board or a slide before the lesson: cupboard with the folder of cards (memory), a counter with a cook, a calculator and a notepad (the CPU), and an assistant walking between them. You will return to this picture in every step.
  • Mini whiteboards, one per pupil, for the think questions and for show-me answers to the checks.
  • Have the register names PC, MAR, MDR, CIR and ACC on separate cards or sticky notes to move around the picture in the registers step.
  • Decide whether pupils type into the two tables themselves or you fill them in together on the shared screen; both work, but ask for a prediction before each cell is revealed.

Steps

  1. Introduction Opening

    On screen: the lesson’s title, module and number; Next adds its objectives and key terms, as the lesson page lists them; Next again begins the first step.

    Objectives on screen

    • Explain the role of the CPU in a computer, and what a microprocessor is
    • Explain the Von Neumann (stored-program) idea: instructions and data held together in one memory
    • State what the ALU and the control unit each do
    • State what the PC, MAR, MDR, CIR and ACC each hold
    • State what the address bus, the data bus and the control bus each carry

    Purpose: Pupils meet the CPU through a cook who follows numbered recipe cards from a folder, and build the Von Neumann idea, the units, the registers and the three buses from that picture before any name is given. The lesson ends with pupils applying the ideas to new cases (a muddled register, a program swap, a bus) and explaining the CPU in their own words, so you can see whether the parts are understood or only recited.

  2. 1. A cook and a folder of cards Think 5 min

    Purpose: Start from a process pupils can picture, so that the program counter is later a name for something they have already worked out: the cook has to know which card is next.

    Ask

    • What does the cook need to keep track of?
    • What does the cook do between taking one card and the next?
    • What would go wrong if the cook lost their place?

    Responses to expect

    • The number of the next card
    • Fetch it, work out what it says, then do it
    • They would repeat a card or skip one

    Misconceptions to challenge

    • A learner may believe: “The cook just reads the whole folder from front to back in one go.” Respond: Point to the story: the cook takes one card, does it, then takes the next. Ask what happens if a card says “go to card 20”: the order is not always front to back.

    On the board or with the pen

    • Label the kitchen picture with the actions in the order pupils give them: fetch, work out, do. Leave space beside the cook for the notepad.

    What learners should notice

    • Three separate actions sit between two cards: fetch, work out, do.
    • The cook uses a notepad, not the cupboard, to remember the place.

    Checking understanding: Every pupil writes the three actions between cards on a mini whiteboard and shows them together; look for “fetch”, “work out” and “do” in any wording.

    Depending on the answers

    • If pupils say only “read the card”: ask where the card is before it is read and what the cook must know in order to ask for it; that is the place-keeping idea.
    • If most pupils name all three actions at once: move on quickly and ask them which of the three the notepad helps with.

    English as an additional language

    • Check the words card, folder, cupboard and cook before the question; point to each in the drawing.

    Discussion pause: Thirty seconds of silent thinking, then pairs agree an answer before anyone shares.

    In the lesson window

    • Think it through: To follow card after card without losing their place, what does the cook need to keep track of? And what do they do between taking one card and taking the next?
  3. 2. The part that follows the instructions Discover 6 min

    Purpose: Pupils sort a familiar act, using a calculator app, into input, processing and output, so that the CPU is the part that does the processing, not the whole computer.

    Ask

    • For the calculator app, what is the input, the processing and the output?
    • In the kitchen, which person is doing the processing?
    • Is the CPU the whole computer? Why not?

    Responses to expect

    • Taps are the input, adding is the processing, the 12 on the screen is the output
    • The cook
    • No, it is one small chip inside

    Misconceptions to challenge

    • A learner may believe: “The CPU is the tower, or the whole computer.” Respond: A laptop or phone has a CPU but is not a CPU. Ask what is inside the tower besides the chip, and use the misconception callout to settle it.
    • A learner may believe: “The screen is part of the CPU because the answer appears there.” Respond: The screen shows the output; the CPU produced it. Ask which part decided that 7 + 5 is 12.
    • A learner may believe: “The CPU stores the files, because the computer ‘remembers’ them.” Respond: Storing files is a different job (storage, later lessons). In the kitchen, is the folder of cards the cook, or something the cook uses?

    On the board or with the pen

    • Write input, processing, output in three boxes and put 7 + 5 = 12 against them, then draw the cook in the middle box.

    What learners should notice

    • Input, processing and output always come in that order.
    • A microprocessor is a CPU on a single chip, not a different thing.

    Checking understanding: The check question, cpu-role, shows who can separate the CPU’s job from storage and display; ask pupils to explain why the wrong options belong to other parts.

    Depending on the answers

    • If many choose the option about keeping files: return to the cook and the folder: ask whether the folder is the cook or something the cook uses, then link it to storage in later lessons.
    • If nearly everyone answers correctly: ask them to say what the CPU would be if the computer were a school (the part that follows the instructions, not the building).

    English as an additional language

    • Pre-teach input, processing and output with a simple drawing of arrows going in, a box, and an arrow out.

    In the lesson window

    • Think it through: You open a calculator app, tap 7, +, 5 and =, and 12 appears on the screen. Which part of this is the input, which is the processing and which is the output?
    • Check your understanding: Which sentence describes the role of the CPU?
  4. 3. Instructions and data in the same place Predict 6 min

    Purpose: Pupils discover that only the cards change when the menu changes, so a general CPU plus a stored program explains how one machine runs many programs: the Von Neumann idea.

    Ask

    • When the menu changes, what needs to change in the kitchen?
    • What does that tell you about how one computer runs many programs?
    • Where are the cards and the quantities kept in a Von Neumann computer?

    Responses to expect

    • Only the cards
    • The CPU stays the same and the program decides what it does
    • Together, in one memory (RAM)

    Misconceptions to challenge

    • A learner may believe: “A new program needs a new CPU or new wiring.” Respond: Ask who has to change when the menu changes: the cook or the cards. The wiring is the cook; the program is the cards.
    • A learner may believe: “Instructions and data live in two separate memories that the CPU swaps between.” Respond: Ask what the cook would need to do if the cards and quantities were in different cupboards, then restate the Von Neumann idea as one cupboard.

    On the board or with the pen

    • Add a second folder of cards labelled next term’s menu beside the cupboard in the picture, with the same cook staying put.

    What learners should notice

    • Instructions are stored as binary data, just as numbers and text are.
    • The CPU fetches instructions one at a time.

    Checking understanding: The stored-program check shows who has the idea of a shared memory; ask pupils to explain what is wrong with the ‘two memories’ option in kitchen words.

    Depending on the answers

    • If pupils choose the option about wiring: ask what is different on the day the menu is replaced and rebuild the answer from the cook and the cards.
    • If the class finds this easy: ask what advantage there would be in keeping instructions and data in one memory (any program can be loaded without changing the machine).

    Stretch

    • Why might a computer that treats instructions as data be easier to update but also easier to attack?

    English as an additional language

    • Link stored with kept; show a folder labelled program and numbers in one cupboard.

    Discussion pause: Ask pupils to decide silently what changes before anyone speaks.

    In the lesson window

    • Think it through: When the menu changes, what needs to change in the kitchen: the cook, the cooker and the counter, or just the cards in the folder? What does that tell you about how a computer can run many different programs?
    • Check your understanding: Which statement describes a computer with a Von Neumann architecture?
  5. 4. Two jobs inside the CPU Discover 6 min

    Purpose: Pupils classify the cook’s actions into calculating and directing so that the ALU and control unit are met as two jobs before they are named.

    Ask

    • Sort the four actions into two groups and name each group.
    • Which group would the CPU’s calculator be?
    • Which of these jobs is the control unit doing when memory is told to read?

    Responses to expect

    • Adding and checking the temperature: calculating and comparing
    • Choosing the next card and telling the assistant to fetch: directing
    • The ALU is the calculating part

    Misconceptions to challenge

    • A learner may believe: “Checking whether a value is above a limit belongs to the control unit, because it ‘decides’.” Respond: Comparing two values is logic, so it is done by the ALU. The control unit then uses the result to direct what happens next.
    • A learner may believe: “The control unit does the arithmetic as well.” Respond: Ask which part carries out 7 + 5. The control unit sends the signals; the ALU does the sum.

    On the board or with the pen

    • Draw two boxes labelled ALU and CU inside a larger CPU box and move the four actions into them as the class sorts.

    What learners should notice

    • Both units work together on every instruction.
    • The ALU does logic as well as arithmetic, which links back to the logic gates lessons.

    Checking understanding: Pupils complete the which-unit table; ask them to say aloud the clue word (calculate, compare, direct, tell) that told them each answer.

    Depending on the answers

    • If most pupils mis-sort the comparison: re-run it with a gate: AND, OR and NOT are logic, and the ALU applies them.
    • If the table is completed quickly: ask pupils to invent one more action for each unit.

    Support

    • Give the four actions on cards to be moved into two piles before any names are used.

    English as an additional language

    • Teach arithmetic and logic as two words with examples (7 + 5; is 9 greater than 5?).

    In the lesson window

    • Think it through: Sort these actions into two groups, and give each group a name: (1) adding the weights of two ingredients, (2) working out which card to take next, (3) checking whether the oven temperature is above 180 degrees, (4) telling the assistant to fetch an item from the cupboard.
  6. 5. Notes kept inside the CPU Think 5 min

    Purpose: Pupils work out why the cook keeps the next-card number on a notepad close by, so that a register is a small, fast store inside the CPU, and the program counter holds an address.

    Ask

    • Why is a notepad at the counter better than a note pinned inside the cupboard?
    • What does the program counter hold?
    • Is a register part of RAM?

    Responses to expect

    • It is right where the cook is, so no trip is needed
    • The address of the next instruction
    • No: it is inside the CPU

    Misconceptions to challenge

    • A learner may believe: “Registers are part of RAM.” Respond: RAM is a separate memory on wires; registers are inside the CPU, which is why they are fast and few. Use the misconception callout.
    • A learner may believe: “The program counter holds the instruction that is being carried out now.” Respond: It holds the address of the next one. Ask which would be the notepad entry: the card in the cook’s hand or the number of the next card.
    • A learner may believe: “The program counter counts how many programs are running.” Respond: Its word ‘counter’ misleads; it counts along the instructions of one program. Ask what the cook keeps on the notepad.

    On the board or with the pen

    • Put a notepad labelled PC beside the cook with a number on it, and change it as the class steps through cards 12, 13, 14.

    What learners should notice

    • A register holds a number, and what the number means depends on the register.
    • The PC changes as the program runs.

    Checking understanding: The program-counter check shows who can say address of the next instruction rather than the current one.

    Depending on the answers

    • If pupils choose ‘holds the instruction being carried out’: ask them to look at the notepad picture and say what is written on it: the card number, not the card.

    English as an additional language

    • Check register, counter and address; relate address to a house number.

    In the lesson window

    • Think it through: Why is a notepad at the counter a better place for “the number of the next card” than a note pinned inside the cupboard?
    • Check your understanding: Which statement about the program counter is correct?
  7. 6. Where things wait inside the CPU Discover 7 min

    Purpose: Pupils predict the three holding places the cook needs, then match MAR, MDR, CIR and ACC to them, separating addresses from contents.

    Ask

    • What three places would the cook need on the counter?
    • Which of the registers holds a place and which holds contents?
    • After the ALU adds 7 and 5, where is the 12 held?

    Responses to expect

    • One for what the assistant brings, one for the card being followed, one for the running total
    • MAR and PC hold addresses; MDR holds contents
    • In the accumulator

    Misconceptions to challenge

    • A learner may believe: “The accumulator stores the result in memory, or the MAR does.” Respond: The ALU’s result sits in the accumulator; it goes to memory only if a later instruction says so. The MAR holds only an address.
    • A learner may believe: “The current instruction register holds the sum because the sum is the instruction.” Respond: The CIR holds the instruction being decoded, not the answer to it. Ask what the CIR would show for 7 + 5: the instruction ADD, not 12.
    • A learner may believe: “All the registers hold the same kind of thing, only in different places.” Respond: Two hold addresses (PC, MAR); two hold data or instructions (MDR, CIR); one holds results (ACC). Sort them as the table does.

    On the board or with the pen

    • Add four labelled notes to the counter in the kitchen picture: MAR (where to look), MDR (what came back), CIR (card in hand), ACC (running total), and link PC to the notepad.

    What learners should notice

    • Each register has exactly one job.
    • A register is named for what it holds, not where it sits.

    Checking understanding: The match-the-registers table and the after-the-sum check; ask pupils to explain one wrong register in each case.

    Depending on the answers

    • If pupils confuse MAR and MDR: go back to the assistant: the MAR is the slip with the place on it; the MDR is the tray where the thing is put when it comes back.
    • If the table is completed correctly first time: ask which two registers would be involved in writing a value to memory (MAR and MDR).

    Support

    • Give the five names as cards to match to the five kitchen jobs before the table.

    Stretch

    • Why does the CPU have so few registers compared with the amount of RAM?

    English as an additional language

    • Check memory, data, address, instruction and accumulator; accumulate means collect.

    Discussion pause: Pairs agree three places before anyone says a register name.

    In the lesson window

    • Think it through: So the cook needs a place for what the assistant brings back, a place for the card being followed right now, and a place for the running total. In a CPU, what would you expect those three to be used for?
    • Check your understanding: The ALU works out 7 + 5. In which register is the answer, 12, held straight afterwards?
  8. 7. Three roads between the CPU and memory Think 7 min

    Purpose: Pupils reason out the three kinds of message between the CPU and memory before the buses are named, so that address, data and control each carry a different kind.

    Ask

    • When the CPU asks memory for something, what three kinds of information travel?
    • Which bus carries the address 520? Which carries the number 12?
    • Which of the three carries a command such as read?

    Responses to expect

    • Where to look, what is there, what to do
    • Address bus for 520, data bus for 12
    • The control bus

    Misconceptions to challenge

    • A learner may believe: “The address bus carries the number being stored.” Respond: Address says where; data says what. In a write to 520, the address bus carries 520 and the data bus carries 12.
    • A learner may believe: “The control bus carries data because it ‘controls’ memory.” Respond: It carries signals such as read or write, not the contents. Ask: which of the three messages is a command?
    • A learner may believe: “There is one set of wires that does all three jobs in turn.” Respond: Here they are three separate buses, one for each kind of message.

    On the board or with the pen

    • Draw three arrows between the counter and the cupboard labelled where, what, do what, then replace the labels with address, data and control after the discussion.

    What learners should notice

    • The address bus runs one way, from the CPU to memory; the data bus carries values both ways.
    • The three messages are needed together for every access.

    Checking understanding: The write-to-520 check shows whether pupils separate address from data; ask pupils to say which bus carries each of the three things in the question.

    Depending on the answers

    • If many choose the swapped option: ask which question is ‘where?’ and which is ‘what?’ in the sentence, and map them to the address and data buses.

    Support

    • Use three coloured arrows for the three messages and keep the colours for the bus names.

    English as an additional language

    • Contrast address (where), data (what) and control (do what) with one sentence each.

    In the lesson window

    • Think it through: When the CPU asks memory for something, what three different kinds of information need to travel between the CPU and memory?
    • Check your understanding: The CPU is going to store the number 12 at memory location 520. What travels on the address bus and what on the data bus?
  9. 8. Using what you know Apply 10 min

    Purpose: Pupils apply the units, registers and buses to new cases, including a mistaken explanation to correct, with no hint before answering.

    Ask

    • What has Sam mixed up about the MDR?
    • What is different inside the machine when the maths quiz runs, and what is the same?
    • Which part carried the signal that told memory to read?

    Responses to expect

    • Addresses and contents: the MDR holds contents; the PC holds the address
    • The instructions and data in RAM change; the CPU and its parts do not
    • The control bus

    Misconceptions to challenge

    • A learner may believe: “A register that deals with memory must hold an address.” Respond: Two registers deal with memory and do different jobs: MAR holds the place, MDR holds the contents.
    • A learner may believe: “Each program needs a different CPU, or registers that keep its instructions permanently.” Respond: Registers hold things for a moment only. The program is in RAM; the cook stays the same when the cards change.
    • A learner may believe: “The accumulator or data bus carried the read signal.” Respond: A command is not data and not a result. Ask what the control unit tells memory to do and which bus carries a ‘do what’.

    What learners should notice

    • Each wrong option on Sam’s question blames a different part, so each tests a different misunderstanding.

    Checking understanding: Show-me whiteboards for each question before discussing; ask one pupil to justify a wrong option without saying it is right.

    Depending on the answers

    • If pupils choose ‘nothing is wrong’ for Sam: ask them to name which registers hold addresses and then check whether the MDR is one of them.
    • If most are correct: ask pupils to write their own wrong explanation of a register for a partner to correct.

    Stretch

    • Sam’s mistake is plausible. Why might a beginner expect the register that talks to memory to hold addresses?

    English as an additional language

    • Offer a sentence frame: The ___ holds ___ because ___.

    In the lesson window

    • Apply it: Sam says: “The MDR holds the address of the next instruction, because it is the register that deals with memory.” What is wrong with Sam’s reasoning?
    • Apply it: A school computer runs a spelling game in the morning and a maths quiz in the afternoon. In a Von Neumann computer, what is different inside the machine when the maths quiz is running?
    • Apply it: The control unit has just sent a signal telling memory to read. Which part of the computer carried that signal?
  10. 9. Show what you know Consolidate 8 min

    Purpose: Pupils explain the CPU and the stored-program idea in their own words and read a value in the PC, which shows whether the ideas have been understood rather than memorised.

    Ask

    • Explain to a friend what the CPU does and why one computer can be a games machine and a spreadsheet.
    • The program counter holds 105: what does that tell you?

    Responses to expect

    • The CPU follows instructions from memory one at a time; loading a different program gives it different instructions
    • The next instruction is at address 105, not that 105 is running

    Misconceptions to challenge

    • A learner may believe: “The number in the PC is the instruction being carried out.” Respond: A value in the PC is an address, and it points to the next instruction. Return to the notepad: the card number, not the card.
    • A learner may believe: “A different program means a different CPU.” Respond: Use the kitchen: same cook, different cards.

    On the board or with the pen

    • Ask pupils to contribute sentences to a class answer using the words instruction, memory and program; write them under each other and underline the three words.

    Checking understanding: Collect the written explanations on mini whiteboards or paper; look for fetch, instructions in memory and a different program, and check the PC answer against the three options.

    Depending on the answers

    • If explanations only list the parts: ask them to follow one instruction through the parts in order, from the notepad to the result.
    • If most pupils are secure: ask them to explain which register and bus are used when the next instruction is fetched, as a bridge to the fetch-decode-execute cycle.

    Support

    • Offer starters: The CPU… The program is kept… A different program means…

    Stretch

    • Explain why two computers with the same CPU can do different jobs.

    English as an additional language

    • Allow the explanation to be drawn with labels first, then written.

    Discussion pause: Two minutes of silent writing for the explanation before pairs compare.

    In the lesson window

    • Think it through: In your own words, explain to a friend what the CPU does and why one computer can be a games machine at lunchtime and a spreadsheet at home time. Use the words instruction, memory and program.
    • Apply it: A programmer looks inside a CPU and sees that the program counter holds 105. What does this tell her?
  11. Lesson recap Closing

    On screen: the lesson’s objectives again; Next adds the closing question, which asks the class to explain each one in their own words without looking back. It says nothing about what anyone has learnt: use the answers to decide what to revisit.

    Points to listen for

    • Ask pupils to close their notes and redraw the kitchen with the CPU parts labelled: cook as CPU, calculator as ALU, the one who directs as control unit, notepad as PC, and the three roads as buses.
    • Take one wrong option from this lesson (for example that the MDR holds an address) and ask pupils to say what is true instead and where the idea came from.
    • Look ahead: next lesson uses these parts to follow one instruction through fetch, decode and execute, so pupils should be able to say which register holds an address and which holds contents.
    • Ask pupils to write one question they still have about the CPU, to be answered next lesson.

Consolidation

  • Ask pupils to close their notes and redraw the kitchen with the CPU parts labelled: cook as CPU, calculator as ALU, the one who directs as control unit, notepad as PC, and the three roads as buses.
  • Take one wrong option from this lesson (for example that the MDR holds an address) and ask pupils to say what is true instead and where the idea came from.
  • Look ahead: next lesson uses these parts to follow one instruction through fetch, decode and execute, so pupils should be able to say which register holds an address and which holds contents.
  • Ask pupils to write one question they still have about the CPU, to be answered next lesson.