Slide 1 of 7 · Settling starter · Maths · Year 7
5 minutesNumber Machine Flowcharts
A number machine takes a number in, does something to it and gives a number out. Draw it as a flowchart and it becomes an algorithm: steps so exact that anyone, or any computer, gets the same answer.
While the register is called: write your name, class and date on your worksheet, then read the 4 flowchart symbols near the top of the sheet.
Starter question: Find each of the 4 symbols in the big Step 5 flowchart. Which symbol is used for a yes or no question?
Slide 2 of 7 · Today’s brief and key words · Maths · Year 7
3 minutesYour brief: run machines forwards, backwards and in loops
You will run machines forwards and backwards, find a hidden machine from clues, trace a flowchart with a loop, and finish with a flowchart that seems to read minds.
Number machine
Takes a number in, does something to it box by box, and gives a number out.
Algorithm
A set of steps so exact that anyone following them gets the same answer.
Loop
Arrows that go back up a flowchart, so the same boxes run again and again.
Slide 3 of 7 · Steps 1 and 2: Machine A forwards and backwards · Maths · Year 7
16 minutesStep 1 & Step 2: run Machine A, then undo it
Machine A: IN → × 4 → − 3 → OUT. Run 2, 5, 10 and 0 through it (8 minutes). Then undo each box, last box first, to find what went in (8 minutes).
| IN | After × 4 | After − 3 | OUT |
|---|---|---|---|
| 2 | 8 | 5 | 5 |
| Backwards: OUT 29 → 29 + 3 = 32, then 32 ÷ 4 = 8. Check: 8 × 4 = 32, 32 − 3 = 29. | |||
Slide 4 of 7 · Steps 3 and 4: order and the mystery machine · Maths · Year 7
14 minutesStep 3 & Step 4: does order matter, and what is the hidden machine?
Machine B: + 3 then × 2. Machine C: × 2 then + 3. Run 1, 4 and 10 through both and find the difference (7 minutes). Then crack the mystery machine from its 4 clues (7 minutes).
Step 3 model row: IN 1 → Machine B: 1 + 3 = 4, 4 × 2 = 8. Machine C: 1 × 2 = 2, 2 + 3 = 5. Difference B − C = 3.
Step 4 clue: IN 1, 2, 4, 10 gives OUT 5, 8, 14, 32. Look at how much OUT goes up when IN goes up by 1. The machine is × ____ then + ____.
Slide 5 of 7 · Steps 5 and 6: the loop and the mind-reader · Maths · Year 7
20 minutesStep 5 & Step 6: halve-or-triple, then the mind-reading machine
Step 5 (12 minutes): write the number down. Is it 1? Stop. Is it even? Halve it. If not, × 3 then + 1. Loop back. A step is one trip round the loop. Step 6 (8 minutes): double it, + 10, halve it, take away the number you first thought of.
| IN | Numbers written down, in order | Steps to reach 1 |
|---|---|---|
| 3 | 3, 10, 5, 16, 8, 4, 2, 1 | 7 |
| Mind-reading model row: IN 4 → double 8 → + 10 gives 18 → halve 9 → take away 4 gives 5. | ||
Slide 6 of 7 · Self and partner check · Maths · Year 7
4 minutesCheck your work against the success criteria
Swap worksheets with a partner or check your own. Tick each item on your sheet once you can point to the proof.
- I can run a number through a flowchart machine, doing the boxes in order.
- I can work backwards through a machine by undoing each box, last box first.
- I can explain why swapping the order of two boxes changes the answer.
- I can follow a flowchart with decisions and a loop, count the steps, and change a flowchart so it does something new.
Slide 7 of 7 · Plenary review · Maths · Year 7
3 minutesQuick-check answers before handing in
Check your main answers before your worksheets are collected.
| Question | Correct answer |
|---|---|
| What does Machine A turn 5 into? | 17 (5 × 4 = 20, 20 − 3 = 17). |
| What is the mystery machine in Step 4? | × 3 then + 2, so 100 goes to 302. |
| What does the mind-reading machine always give, and how do you make it give 7? | Always 5. Change + 10 to + 14. |