Skip to content
Tactiverge

Programme · Level 2 · Builder · 12 weeks

Twelve-week computational engineering

Turn formulas, sensor logs and machine rules into small Python programs, then test them against simulations the way engineers do.

Educator guide

How to run it

Twenty-four one-hour sessions over twelve weeks. Fourteen sessions teach Python through engineering problems (battery runtime, sensor logs, thresholds, traffic lights, a heater controller), using the browser-based Code Lab. Ten sessions reuse paper-first pack sessions from The maths behind machines, Machines that sense and decide and Signals in a noisy world, so learners have the maths and the ideas before they code them. Three Mission Labs and a Nexus project give learners a simulated system to improve and defend with evidence.

By the end, learners can

  • Write short Python programs with variables, arithmetic, decisions, loops and functions.
  • Turn an engineering formula into code, choose sensible units and check the result by estimation.
  • Summarise a sensor log with a loop and explain how noise and rounding affect it.
  • Describe a controller as a state machine or as a rule that reacts to an error, and test it in a simulation.
  • Find and fix bugs by reproducing them, forming a hypothesis and testing one change at a time.
  • Present a small engineering project with evidence: what was tested, what passed and what is still unknown.

Why this order

Each coding skill arrives just after learners have met the idea on paper: units before formulas in code, thresholds before if-statements, noisy readings before loops over logs, closed loops before controller models. The last two weeks join the skills in one project, so nothing in the project is brand new.

Before you start

  • Check that the Code Lab, the Simulation OS pages and the Mission Labs open on your devices and network. They run in the browser; nothing is installed.
  • Plan one device per pair for the fourteen coding sessions. If you have fewer, see the shared-device and no-computer notes before each session.
  • Print the worksheets for the next week. They hold questions only; the teacher solutions are on the protected educator page.
  • Try each week's coding task yourself first (about 15 minutes). The lessons linked in each session include worked examples.
  • Agree a simple rule for help: ask your partner, check the lesson, then ask an adult.
  • Learners do not need accounts. If your organisation uses accounts, follow its own rules for learner data.

Every session

  1. Start with a two-minute recap question on paper.
  2. Show the idea on one screen, then pairs try it: one types, one checks, and they swap halfway.
  3. Finish with the worksheet and one exit question; collect work rather than ranking it.

Adapting it

  • School timetable of 50-minute lessons: drop the warm-up and run the worksheet as homework, or split the two project sessions across three lessons.
  • Library or code club meeting once a week: run it over 24 weeks, one session per meeting; every session starts with a recap so gaps between meetings are fine.
  • Community group with no devices for some weeks: swap the order so paper sessions fall in device-free weeks, and use the trace-table alternatives described in each coding session.
  • Summer school: two sessions a day with a long break in between makes a six-day course; keep the project for the last two days.

Who it is for

Learners who can already use simple formulas, read a graph and follow a flowchart (Builder level). No coding experience is needed. Suits a school elective, a library code club or a community programme with access to devices.

Group: 6–24 learners, working in pairs at a device. One adult can run it for up to 24 if a second adult or a confident helper can circulate during coding time.

Before this: Learners should be comfortable with units, multiplying and dividing decimals, and reading a simple table. The Maths behind machines sessions in this programme revise the maths they need.

Honest time estimate

24 hours of teaching (24 × 60 minutes). Plan about 25 minutes of preparation per session, more for the first coding sessions and the project weeks: roughly 10–12 hours of preparation across the programme. Timings assume pairs at devices and a group of up to 24; first-time coders often need longer for the first three coding sessions.

Prep: about 25 minutes per session.

Staffing

One adult who is willing to learn the Python alongside the group; no programming background is assumed, but trying each task first matters. A second adult or helper is strongly recommended for groups over 16 during coding time.

Built from

10 sessions reuse existing packs; 14 are written for this programme. 46 optional interactives, each with an offline alternative, including 3 Mission Labs.

Curriculum map

Week by week, session by session.

Badges show computer use in words and shape: ○ no computer, ◐ optional, ▣ one shared screen, ● needs a computer.

  1. Week 1

    Why engineers compute

    By the end: Describe a calculation as a sequence of steps and say why units matter in every one.

  2. Week 2

    First programs

    By the end: Write and run a program that stores values in variables and prints a battery runtime.

  3. Week 3

    Formulas into code

    By the end: Translate a formula, including a lever, into Python and check it by estimation.

    Evidence: First self-checked calculation program.

  4. Week 4

    Ratios and decisions

    By the end: Use if, elif and else to act on a measurement, and connect gear ratios to code.

  5. Week 5

    Thresholds and testing edges

    By the end: Choose a threshold, test the boundary values and improve a heater controller in a Mission Lab.

  6. Week 6

    Loops over readings

    By the end: Summarise a sensor log with a loop and explain jitter and rounding.

  7. Week 7

    Filters and functions

    By the end: Package a calculation as a function and explain why a moving average is smooth but late.

  8. Week 8

    Debugging and coordinates

    By the end: Read a traceback, hunt a logic bug and place a robot on a grid.

    Evidence: Bug-hunt log with one fixed bug.

  9. Week 9

    Triangles and state machines

    By the end: Use trigonometry for reach and write a state machine for a traffic signal.

  10. Week 10

    Closing the loop in code

    By the end: Model a controller as a function and compare gains in a simulation.

  11. Week 11

    Evidence from many runs

    By the end: Use averages and spread to judge a design, and defend a choice in the Noisy Factory.

  12. Week 12

    Project: the smart junction

    By the end: Build, test and present a junction controller with evidence and honest limits.

    Evidence: Project presentation and README.

Editions

Three ways to run it

Full

Paper activities plus the optional browser labs, simulations and Mission Labs, on one shared screen or a device per pair.

Print the full edition

No kit

No kit of any kind is needed: no robots, no electronics. The paper sessions use paper, pencils, string and coins from the reused packs; each session says how to manage with paper and pencils alone.

Print the no-kit edition

No computer (partial)

Fourteen sessions need a computer to write and run code; a no-computer group can trace the printed programs by hand and use printed results for the Mission Labs and the project. That keeps the reasoning but loses the core experience of running and fixing your own code, so we call this edition partial rather than complete.

Needs a computer: sessions 3, 4, 5, 8, 11, 14, 15, 18, 20. Each says what its paper alternative cannot do.

Print the no-computer edition

Lesson plans and worksheets

Every session, minute by minute.

Objectives, timings, materials, activities with safety notes, differentiation, discussion prompts, edition notes and an answer-free worksheet.

Session 1 of 24 · Week 1 · 60 minutes

One shared screen

Why engineers compute

Objectives

  • Describe a calculation as an ordered list of steps.
  • Draw a flowchart with one decision and one loop.

Timing

Session 1 timing
MinPartWhat happens
10HookHow long will a torch run on a full charge? Pairs list everything they would need to know.
20Flowchart the calculationPairs turn their list into a flowchart with boxes, a decision diamond and a loop.
10Look at the Code LabShow one tiny program on a single screen and point out that each line is one step of a flowchart.
15WorksheetQuestions 1–3.
5Exit questionName one calculation you would rather a computer did, and why.

Differentiation

More support
Give a partly drawn flowchart with the shapes in place and let learners fill in the words.
Stretch
Add a second decision: what should the torch do when the charge is below 20 % but above 10 %?
Language
Put the key words (step, decision, loop, flowchart) on the board with a small sketch of each shape.

Discussion prompts

  • Why must every step in a flowchart be exact?
  • What goes wrong if one step uses hours and another uses minutes?

Activity · unplugged · 20 min

Flowchart a battery check

Materials: Paper, Pencils

  1. Pairs write the steps for working out how many hours a battery lasts, one step per line.
  2. Redraw the steps as a flowchart: rectangles for actions, a diamond for a yes/no question.
  3. Add a loop: keep checking the charge every hour until it is below 10 %.
  4. Swap with another pair, who follows the flowchart exactly and marks any step that is unclear.

Safety and supervision

  • Paper and pencils stay on the desks; hand sheets out rather than sliding them.
  • Paper edges can cut: hand sheets out rather than sliding them across desks.
  • Pencils are for writing and drawing only, never as levers, axles or pointers near faces.
  • A named adult from the host organisation supervises every session, follows that organisation's own safeguarding policy, and stays in the room throughout. No activity needs learners to go online alone, create an account or share personal information.

No computer

Skip the Code Lab demonstration and write the three-line program on the board instead; everything else is already on paper.

No kit (paper and pencils only)

Already paper and pencils only; nothing else is needed.

Online lessons (optional)

Interactive laboratories and offline alternatives

  • Studio: Code Lab. Show a three-line program on one screen and run it. Offline: Write the three lines on the board and walk through them as a class, one line at a time.

Student worksheet 1 · questions only

  1. 1. Draw a flowchart for making a cup of tea that includes one decision diamond.

    Drawing space on the printout.

  2. 2. A step says 'wait a bit'. Rewrite it so a machine could follow it exactly.

    3 answer lines on the printout.

  3. 3. Which shape shows a yes/no question in a flowchart?

    • Rectangle
    • Diamond
    • Circle
    • Arrow

From the online lesson “Flowcharts: drawing decisions and loops”

  1. 4. A tank starts with 55 L of water. The controller runs: while level < 100: level = level + 10 (one pump pass adds 10 L). How many times does the pump run before the loop stops? (passes)

  2. 5. In a flowchart, what does a diamond mean?

    • An action, such as 'pump on'
    • A decision with a yes exit and a no exit
    • The end of the algorithm

Learners check these in the lesson, which marks them on our server: Lite version · full lesson.

Teacher solutions for this worksheet are on the protected educator page, not here.

Session 2 of 24 · Week 1 · 60 minutes

Computer optional

A number without a unit is a mystery

From the pack The maths behind machines, session 1. Units come first: every program in this course carries units in its variable names, so learners need the habit before they start coding next week.

Objectives

  • Attach units to every measurement.
  • Make a sensible estimate and check it.

Timing

Session 2 timing
MinPartWhat happens
10HookWrite '12' on the board. Ask: is that big? Only a unit can tell us.
20Estimation stationsRun the estimation stations activity.
15Check and compareMeasure with paper rulers and compare with estimates.
10WorksheetQuestions 1–3.
5Exit questionName one unit and something it measures.

Differentiation

More support
Offer a unit word bank (cm, m, g, kg, s) and a benchmark card (a door is about 2 m).
Stretch
Ask learners to improve one estimate by using a known benchmark and say how much closer it got.
Language
Key words: estimate, measure, unit, difference. Show each unit next to a familiar object.

Discussion prompts

  • Which estimate was closest? What strategy helped?
  • When is a rough estimate good enough for an engineer?
  • What could go wrong if two engineers used different units?

Activity · unplugged · 20 min

Estimation stations

Materials: Paper, Coins (or paper counters), Pencils

  1. Set up four stations: length of a desk, mass of a pile of coins (compare with a known coin), number of sheets in a pile, time for ten slow claps.
  2. Pairs estimate each quantity and write it with a unit.
  3. Then measure or count where possible, and record the difference.

Safety and supervision

  • Coins stay at their station and are counted back in. Learners walk between stations.
  • Paper edges can cut: hand sheets out rather than sliding them across desks.
  • Coins are small objects: count them out and back in. Use flat paper counters instead with any group where someone may put small objects in their mouth.
  • Pencils are for writing and drawing only, never as levers, axles or pointers near faces.
  • A named adult from the host organisation supervises every session, follows that organisation's own safeguarding policy, and stays in the room throughout. No activity needs learners to go online alone, create an account or share personal information.

No computer

Skip the Equation Lab link; stations and the class discussion are the whole session.

No kit (paper and pencils only)

Replace the coin station with a paper-strip station (how many strips to cover a book) and measure with hand spans.

Online lessons (optional)

Interactive laboratories and offline alternatives

Student worksheet 2 · questions only

  1. 1. Record your estimates and measurements.

    Table: Station · Estimate (with unit) · Measured (with unit) · Difference (4 rows)

  2. 2. Explain one strategy you used to make a better estimate.

    3 answer lines on the printout.

  3. 3. Someone says a door is '2 tall'. Write two different things they might mean.

    2 answer lines on the printout.

From the online lesson “A number without a unit is a mystery”

  1. 4. Which of these is a complete measurement?

    • 42
    • 42 cm
    • Quite long
    • Forty-two
  2. 5. What does 'kilo' mean in kilometre and kilogram?

    • One hundredth
    • One thousand times
    • Ten times

Learners check these in the lesson, which marks them on our server: Lite version · full lesson.

From the online lesson “Good-enough numbers: the art of estimation”

  1. 6. A tree is really 12 m tall. Which guess is within a factor of 2?

    • 3 m
    • 8 m
    • 40 m
  2. 7. A classmate calculates that a school backpack holds 2,000 litres. What's the most likely problem?

    • Backpacks really are that big
    • A units or arithmetic mistake: a backpack holds about 20–30 litres
    • Litres can't measure volume

Learners check these in the lesson, which marks them on our server: Lite version · full lesson.

Teacher solutions for this worksheet are on the protected educator page, not here.

Session 3 of 24 · Week 2 · 60 minutes

Needs a computer

Your first program: battery runtime

Objectives

  • Write and run a program that prints a result.
  • Explain that Python runs lines from top to bottom.

Timing

Session 3 timing
MinPartWhat happens
5RecapWhy does a number need a unit?
10DemoType a two-line program that prints a battery runtime; run it; change one number and run it again.
25Pairs codePairs write the runtime program in the Code Lab, then change capacity and current to answer three what-if questions.
15WorksheetQuestions 1–3, including a trace table.
5Exit questionWhat happens if you swap two lines?

Differentiation

More support
Provide the program with blanks for the numbers; the learner fills them in and runs it.
Stretch
Print the runtime in hours and minutes, using whole hours and the remaining minutes.
Language
Sentence starter: 'The program first ..., then ..., so it prints ...'.

Discussion prompts

  • Why do we predict before we run?
  • What did the computer do that a calculator could not?

Activity · online-optional · 25 min

Battery runtime in Python

Materials: none

  1. Open the Code Lab and create variables for capacity (mAh) and current (mA), with the unit in each name.
  2. Divide capacity by current and print the runtime in hours.
  3. Change the current to double its value and predict the new runtime before running.
  4. Swap roles: the checker now types and the typist checks.

No computer

This session needs a computer for its core activity: writing and running Python in the Code Lab. With no computer, learners trace the printed programs by hand in a table (one row per line, one column per variable) and predict the output. They still learn to read code precisely, but they lose the most important part: running their own code, seeing errors and fixing them. Plan a device session later to catch up.

No kit (paper and pencils only)

Already paper and pencils only: the trace tables and the worksheet need nothing else.

Online lessons (optional)

Interactive laboratories and offline alternatives

  • Studio: Code Lab. Pairs write and run the runtime program. Offline: Print the session's programs and trace them by hand in a table: one row per line run, one column per variable, then write what is printed.

Student worksheet 3 · questions only

  1. 1. A battery holds 3000 mAh and a torch draws 600 mA. Write the two Python lines that store these values and one line that prints the runtime.

    4 answer lines on the printout.

  2. 2. Trace this program: a = 4, then b = a * 3, then a = b - 2, then print(a). Fill in each variable after each line.

    Table: Line · a · b · Printed (4 rows)

  3. 3. Explain why the order of the lines matters in a program.

    3 answer lines on the printout.

From the online lesson “Your first Python program: battery runtime”

  1. 4. A sensor node runs from a 2500 mAh battery and draws a steady 50 mA. A program computes hours = 2500 / 50 and then minutes = hours * 60. What value does minutes hold, in minutes? (Ignore the battery ageing or the voltage dropping.) (min)

  2. 5. What does print("3 + 4") show?

    • 7
    • 3 + 4
    • An error

Learners check these in the lesson, which marks them on our server: Lite version · full lesson.

From the online lesson “How the interpreter reads your program”

  1. 6. Trace this Python by hand: x = 8; x = x + 1; x = x * 4; x = x - 20; print(x). What number is printed?

  2. 7. a = 5; b = a * 2; a = 100; print(b). What is printed?

    • 10
    • 200
    • An error

Learners check these in the lesson, which marks them on our server: Lite version · full lesson.

Teacher solutions for this worksheet are on the protected educator page, not here.

Session 4 of 24 · Week 2 · 60 minutes

Needs a computer

Variables that track a changing machine

Objectives

  • Update a variable as a machine changes.
  • Tell an integer, a float, a string and a list apart.

Timing

Session 4 timing
MinPartWhat happens
5RecapTrace a two-line program on the board.
15Human variablesRun the labelled-box activity: each variable is a sheet of paper that can hold one value at a time.
20Pairs codePairs write a program that tracks a water tank level over four updates and prints each level.
15WorksheetQuestions 1–3.
5Exit questionWhich type would you use for a temperature, and why?

Differentiation

More support
Use only whole numbers in the tank tracker and give the update line ready-made.
Stretch
Store the four levels in a list and print the largest with max().
Language
Word wall: variable, value, assign, update, type; show each with a labelled-box picture.

Discussion prompts

  • Why does the old value disappear when we assign a new one?
  • What should a real tank program do if the level would go below zero?

Activity · unplugged · 15 min

Labelled boxes

Materials: Paper, Pencils

  1. Three volunteers hold a sheet labelled level, inflow and outflow.
  2. The teacher reads lines such as level = level + inflow; the holder rubs out and writes the new value.
  3. The class predicts each new value before the holder writes it.
  4. Discuss what happened to the old value each time.

Safety and supervision

  • Paper and pencils stay on the desks; hand sheets out rather than sliding them.
  • Paper edges can cut: hand sheets out rather than sliding them across desks.
  • Pencils are for writing and drawing only, never as levers, axles or pointers near faces.
  • A named adult from the host organisation supervises every session, follows that organisation's own safeguarding policy, and stays in the room throughout. No activity needs learners to go online alone, create an account or share personal information.

Activity · online-optional · 20 min

Tank tracker

Materials: none

  1. Set level_litres to 50 and inflow and outflow rates in litres per minute.
  2. Update the level four times, printing it after each update.
  3. Change the outflow so the tank empties and spot when the level goes below zero.

No computer

This session needs a computer for its core activity: writing and running Python in the Code Lab. With no computer, learners trace the printed programs by hand in a table (one row per line, one column per variable) and predict the output. They still learn to read code precisely, but they lose the most important part: running their own code, seeing errors and fixing them. Plan a device session later to catch up.

No kit (paper and pencils only)

Already paper and pencils only: the trace tables and the worksheet need nothing else.

Online lessons (optional)

Interactive laboratories and offline alternatives

  • Studio: Code Lab. Pairs write the tank tracker. Offline: Print the session's programs and trace them by hand in a table: one row per line run, one column per variable, then write what is printed.

Student worksheet 4 · questions only

  1. 1. level = 20, then level = level + 5, then level = level * 2, then level = level - 12. Write the value of level after each line.

    Table: After line · level (4 rows)

  2. 2. Which type is "23.5 °C" (with the quote marks) in Python?

    • int
    • float
    • str
    • list
  3. 3. Give one value from a robot that should be stored as an int and one that should be a float. Explain each choice.

    4 answer lines on the printout.

From the online lesson “Variables that track a changing machine”

  1. 4. A robot starts with distance_m = 0.0 and its loop runs distance_m = distance_m + speed_m_per_s * dt_s exactly 7 times, with speed_m_per_s = 2 and dt_s = 0.1. What is distance_m at the end, in metres? (m)

  2. 5. Which lines correctly swap a and b?

    • a = b then b = a
    • a, b = b, a
    • b = a then a = b

Learners check these in the lesson, which marks them on our server: Lite version · full lesson.

From the online lesson “int, float, str and list”

  1. 6. A machine makes 26 parts and packs them in boxes of 12. What does Python give for 26 // 12 (full boxes)? (parts)

  2. 7. What is the type of 7 // 2?

    • int
    • float
    • str

Learners check these in the lesson, which marks them on our server: Lite version · full lesson.

Teacher solutions for this worksheet are on the protected educator page, not here.

Session 5 of 24 · Week 3 · 60 minutes

Needs a computer

Translate a formula into Python

Objectives

  • Turn a written formula into a line of Python.
  • Check a computed answer by estimating first.

Timing

Session 5 timing
MinPartWhat happens
5RecapWhich type is a measured length?
10Estimate firstEstimate the time to travel 120 m at 1.5 m/s, then compute it.
25Pairs codePairs code three formulas (speed, power, area of a circle with math.pi) and compare each with their estimate.
15WorksheetQuestions 1–3.
5Exit questionOne sign that a computed answer is wrong.

Differentiation

More support
Give the formula already written with Python symbols beside the maths symbols (× becomes *, squared becomes ** 2).
Stretch
Rearrange the speed formula to find the distance for a given time and code both directions.
Language
Show a two-column table: maths sign and its Python symbol, with a worked example in each row.

Discussion prompts

  • Why estimate before you run?
  • What does the computer not know about your units?

Activity · online-optional · 25 min

Formula translator

Materials: none

  1. Write each formula on paper first, with units, then estimate the answer.
  2. Code it in the Code Lab with descriptive variable names.
  3. Compare the printed result with the estimate; if they differ by more than double, look for the bug.
  4. Use import math for the circle area and print the result rounded to two decimal places.

No computer

This session needs a computer for its core activity: writing and running Python in the Code Lab. With no computer, learners trace the printed programs by hand in a table (one row per line, one column per variable) and predict the output. They still learn to read code precisely, but they lose the most important part: running their own code, seeing errors and fixing them. Plan a device session later to catch up.

No kit (paper and pencils only)

Already paper and pencils only: the trace tables and the worksheet need nothing else.

Online lessons (optional)

Interactive laboratories and offline alternatives

  • Studio: Code Lab. Pairs code and check three formulas. Offline: Print the session's programs and trace them by hand in a table: one row per line run, one column per variable, then write what is printed.
  • Equation Lab: Equation Lab: Functions and graphs. Optional: drag a slider to see how the output of a formula changes with its input. Offline: Fill in a table of five inputs and outputs for the same formula and sketch the graph by hand.

Student worksheet 5 · questions only

  1. 1. Write one line of Python that computes power_w from voltage_v and current_a (power equals voltage times current).

    2 answer lines on the printout.

  2. 2. A program prints 7200 for the time in seconds to walk 120 m at 1.5 m/s. Estimate the real answer and say what bug might cause 7200.

    4 answer lines on the printout.

  3. 3. Which line computes the area of a circle with radius r?

    • area = math.pi * r * 2
    • area = math.pi * r ** 2
    • area = (math.pi * r) ** 2
    • area = math.pi + r ** 2

From the online lesson “Translate a formula into Python”

  1. 4. Which Python line correctly computes V_out = V_in·R2/(R1 + R2)?

    • v_out = v_in * r2 / r1 + r2
    • v_out = v_in * r2 / (r1 + r2)
    • v_out = (v_in * r2 / r1) + r2
  2. 5. What does Python give for -3 ** 2?

    • 9
    • -9
    • An error

Learners check these in the lesson, which marks them on our server: Lite version · full lesson.

From the online lesson “The math module: roots, angles and radians”

  1. 6. A loading ramp is 2.7 m long and rises at 5° to the floor. Python computes height_m = 2.7 * math.sin(math.radians(5)). What is the height, in metres? (m)

  2. 7. Which line correctly computes cos of 60°?

    • math.cos(60)
    • math.cos(math.radians(60))
    • math.radians(math.cos(60))

Learners check these in the lesson, which marks them on our server: Lite version · full lesson.

Teacher solutions for this worksheet are on the protected educator page, not here.

Session 6 of 24 · Week 3 · 60 minutes

Computer optional

Levers: small push, big lift

From the pack The maths behind machines, session 2. The lever rule is a formula learners can code next: after the paper lift, ask pairs to write the lever balance as one line of Python for homework or the next coding session.

Objectives

  • Balance a lever using distance and load.
  • Explain the trade between force and distance.

Timing

Session 6 timing
MinPartWhat happens
5HookHow can a small child balance a big adult on a see-saw?
25Coin leverRun the coin-lever activity.
15Find the patternGroups compare results and look for a rule.
10WorksheetQuestions 1–3.
5Wrap-upWhere are levers in the room?

Differentiation

More support
Use marks numbered on the lever and start with equal coins on each side.
Stretch
Ask for three different balanced arrangements for the same left side and a rule that predicts them all.
Language
Key words: pivot, lever, balance, distance. Starter: 'coins times distance on the left equals …'.

Discussion prompts

  • What do you notice about coins × distance on each side?
  • Why is a long spanner easier to turn?
  • What do you give up when a lever makes lifting easier?

Activity · paper-build · 25 min

Coin lever

Materials: Cardboard (from packaging), Coins (or paper counters), Pencils

  1. Use a pre-cut cardboard strip about 30 cm long with marks every 2 cm, and a folded cardboard triangle as the pivot.
  2. Balance the strip on the pivot at its middle.
  3. Put 2 coins at one mark on the left. Find where 1 coin must go on the right to balance.
  4. Try other combinations and record coins × distance on each side.

Safety and supervision

  • The pivot is folded cardboard (no pencils as pivots). Coins are counted back in at the end.
  • An adult pre-cuts any cardboard before the session. Learners fold, slot and stack only; no blades or scissors in learners' hands.
  • Coins are small objects: count them out and back in. Use flat paper counters instead with any group where someone may put small objects in their mouth.
  • Pencils are for writing and drawing only, never as levers, axles or pointers near faces.
  • A named adult from the host organisation supervises every session, follows that organisation's own safeguarding policy, and stays in the room throughout. No activity needs learners to go online alone, create an account or share personal information.

No computer

Skip the elevator build demo; the coin lever is the whole session.

No kit (paper and pencils only)

Draw the lever on paper and use pencil tally marks as coins; check balance by the coins-times-distance rule instead of by tilting.

Online lessons (optional)

Interactive laboratories and offline alternatives

  • Build: Engineer an Elevator. Level 1: how a lift trades force for distance. Offline: Lift a book with a string over a desk edge and compare the effort with lifting it directly.
  • Video: The Three Classes of Levers: An Explanation (Step by Step Science). Which class of lever was our coin lever? Offline: Find three levers in the room and sort them into the three classes.

Student worksheet 6 · questions only

  1. 1. Record your balanced levers.

    Table: Left coins · Left distance · Right coins · Right distance (4 rows)

  2. 2. Describe the pattern you found in your own words.

    3 answer lines on the printout.

  3. 3. 3 coins sit 4 marks left of the pivot. Where could 2 coins go to balance them? Explain how you know.

    3 answer lines on the printout.

From the online lesson “Levers: how a small push lifts a big load”

  1. 4. A 50 N load is 1 m from the pivot. You push 5 m from the pivot. What push balances it, in newtons? (N)

  2. 5. Why is a door handle put on the side far from the hinges?

    • It looks better
    • A push far from the pivot has a bigger turning effect
    • The door is lighter on that side
    • So the door closes by itself

Learners check these in the lesson, which marks them on our server: Lite version · full lesson.

From the online lesson “Levers and gears: small push, big result”

  1. 6. Where should you push a door to open it most easily?

    • Right next to the hinges
    • In the middle
    • At the edge furthest from the hinges
  2. 7. A long crowbar lets you lift a heavy rock with a small push. What do you give up?

    • Nothing: it's free force
    • Your end of the bar moves much further than the rock does
    • The rock gets lighter

Learners check these in the lesson, which marks them on our server: Lite version · full lesson.

Teacher solutions for this worksheet are on the protected educator page, not here.

Session 7 of 24 · Week 4 · 60 minutes

Computer optional

Gear ratios: speed or strength

From the pack The maths behind machines, session 3. Gear ratios are the second formula of the week; they also give the first decision in code (is the output faster or stronger?), which the next session builds on.

Objectives

  • Calculate a simple gear ratio.
  • Predict how fast a driven gear turns.

Timing

Session 7 timing
MinPartWhat happens
10HookWhy does a bicycle have different gears?
25Paper gearsRun the paper gears activity.
10Ratio talkWrite each result as a ratio.
10WorksheetQuestions 1–3.
5Exit questionBig gear driving small gear: faster or slower?

Differentiation

More support
Use circles with sizes in a simple ratio (one twice the other) and mark a start dot on each.
Stretch
Ask for a three-gear train and the overall ratio from first to last gear.
Language
Key words: gear, ratio, teeth, turn. Show 2 : 1 as two turns for one with a drawing.

Discussion prompts

  • Why does the small circle turn more?
  • What does a cyclist want on a steep hill?
  • Where do machines trade speed for strength?

Activity · paper-build · 25 min

Paper gears (string and circles)

Materials: Cardboard (from packaging), String, Pencils

  1. Use two pre-cut cardboard circles, one twice the diameter of the other, each with a mark on its edge.
  2. Wrap a loop of string around both like a belt, laid flat on the desk.
  3. Turn the big circle once and count turns of the small one.
  4. Swap which one you turn and repeat.

Safety and supervision

  • The string loop lies flat on the desk and is never wrapped round fingers. Circles are pre-cut by an adult.
  • An adult pre-cuts any cardboard before the session. Learners fold, slot and stack only; no blades or scissors in learners' hands.
  • String stays below shoulder height and is never looped around necks, wrists or fingers. Use lengths under 1 metre unless an adult holds the ends.
  • Pencils are for writing and drawing only, never as levers, axles or pointers near faces.
  • A named adult from the host organisation supervises every session, follows that organisation's own safeguarding policy, and stays in the room throughout. No activity needs learners to go online alone, create an account or share personal information.

No computer

Skip the kinematics playground; finish with a drawn bicycle and its gears on the board.

No kit (paper and pencils only)

Draw two touching circles and count turns by rolling a pencil-marked paper circle along a ruled line instead of using string.

Online lessons (optional)

Interactive laboratories and offline alternatives

  • Playground lab: Robotic kinematics lab. Optional: see rotation and speed in a moving arm. Offline: Turn the circles at a steady count and time the small one.
  • Video: Gears Explained - mechanical engineering (The Engineering Mindset). Watch how gear ratios are calculated from teeth. Offline: Count the teeth drawn on two paper gears and compare with your string results.

Student worksheet 7 · questions only

  1. 1. Your big circle turned once. How many times did the small one turn? Write it as a ratio.

    2 answer lines on the printout.

  2. 2. A gear with 30 teeth drives a gear with 10 teeth. Explain how you would work out which turns faster and by how much.

    3 answer lines on the printout.

  3. 3. Explain why a low gear helps a cyclist climb a hill.

    3 answer lines on the printout.

From the online lesson “What a ratio says”

  1. 4. A gear pair has 25 teeth on the driven gear and 5 teeth on the driver. Write the ratio 25 : 5 in its simplest form. What is the FIRST number?

  2. 5. A mixing machine uses 6 cups of flour for every 2 eggs. Keeping the same ratio, how many cups of flour go with 4 eggs?

Learners check these in the lesson, which marks them on our server: Lite version · full lesson.

From the online lesson “Gear ratios: speed or strength, pick one”

  1. 6. A driver gear with 15 teeth turns a driven gear with 30 teeth. What is the gear ratio (driven teeth ÷ driver teeth)?

  2. 7. A 10-tooth driver gear meshes with a 30-tooth driven gear. The driver turns 12 times. How many times does the driven gear turn? (turns)

Learners check these in the lesson, which marks them on our server: Lite version · full lesson.

Teacher solutions for this worksheet are on the protected educator page, not here.

Session 8 of 24 · Week 4 · 60 minutes

Needs a computer

Decisions from measurements

Objectives

  • Use if, elif and else to act on a reading.
  • Combine conditions with and, or and not for a safety interlock.

Timing

Session 8 timing
MinPartWhat happens
5RecapIs a gear ratio of 3 faster or stronger at the output?
10DemoA fan that turns on above 28 °C; trace it for three temperatures.
25Pairs codePairs write a machine guard: the motor may run only if the door is closed and the temperature is safe.
15WorksheetQuestions 1–3.
5Exit questionWhich is safer as a default: run or stop?

Differentiation

More support
Start with a single if and else; add elif only when that works.
Stretch
Add a third condition (an emergency stop) and explain the order the checks should go in.
Language
Read and, or and not aloud with hand signals; give example sentences such as 'run only if the door is closed AND it is cool'.

Discussion prompts

  • Why should a machine stop when it is unsure?
  • Why test every combination, not just the expected one?

Activity · online-optional · 25 min

Interlock in code

Materials: none

  1. Create door_closed (True or False) and temp_c.
  2. Write an if statement that prints RUN only when the door is closed and temp_c is below 60.
  3. Add elif and else branches that print why the machine stopped.
  4. Test four cases, one for each combination of door and temperature, and record the results in a table.

No computer

This session needs a computer for its core activity: writing and running Python in the Code Lab. With no computer, learners trace the printed programs by hand in a table (one row per line, one column per variable) and predict the output. They still learn to read code precisely, but they lose the most important part: running their own code, seeing errors and fixing them. Plan a device session later to catch up.

No kit (paper and pencils only)

Already paper and pencils only: the trace tables and the worksheet need nothing else.

Online lessons (optional)

Interactive laboratories and offline alternatives

  • Studio: Code Lab. Pairs write and test the interlock. Offline: Print the session's programs and trace them by hand in a table: one row per line run, one column per variable, then write what is printed.

Student worksheet 8 · questions only

  1. 1. temp = 31. The program says: if temp > 30 print HOT, elif temp > 20 print WARM, else print COOL. What is printed, and why only one line?

    3 answer lines on the printout.

  2. 2. Fill in the table for: run = door_closed and not overheated.

    Table: door_closed · overheated · run (4 rows)

  3. 3. Write an if statement that prints STOP when a distance reading is below 15 cm or the stop button is pressed.

    3 answer lines on the printout.

From the online lesson “Decisions from measurements: if, elif, else”

  1. 4. A cooling fan is set by: if temp_c >= 45: fan = 100, elif temp_c >= 35: fan = 50, else: fan = 0. What is fan, in %, when temp_c = 44.5? (%)

  2. 5. A rule is written: if temp_c >= 35: fan = 50, elif temp_c >= 50: fan = 100. What is wrong?

    • Nothing
    • The fan can never reach 100 %: any temperature ≥ 50 already matches the first test
    • It raises a SyntaxError

Learners check these in the lesson, which marks them on our server: Lite version · full lesson.

From the online lesson “and, or, not: safety interlocks in code”

  1. 6. guard, operator and fault are each True or False (8 combinations). For how many of the 8 combinations is this Python condition True: guard or operator? (rows)

  2. 7. Which condition is True exactly when temp_c is from 0 to 45 inclusive?

    • 0 < temp_c < 45
    • 0 <= temp_c <= 45
    • temp_c >= 0 or temp_c <= 45

Learners check these in the lesson, which marks them on our server: Lite version · full lesson.

Teacher solutions for this worksheet are on the protected educator page, not here.

Session 9 of 24 · Week 5 · 60 minutes

Computer optional

Thresholds: when is it 'too cold'?

From the pack Machines that sense and decide, session 4. Learners have just written if-statements; this paper session asks the harder question of where the threshold should go, which they test in code in the next session.

Objectives

  • Write an IF–THEN–ELSE rule with a threshold.
  • Explain the trade-off between a threshold that is too high and one that is too low.

Timing

Session 9 timing
MinPartWhat happens
10HookAsk: at what temperature should a heater switch on? Collect numbers and reasons.
20Threshold line-upRun the threshold line-up role-play.
15Rule writingPairs write rule cards for three machines.
10WorksheetQuestions 1–3.
5ShareTwo pairs read a rule aloud; the class tries to break it.

Differentiation

More support
Provide a rule template with blanks: IF ___ is below ___ (unit) THEN ___ ELSE ___.
Stretch
Ask for a rule with two thresholds (switch on below one, off above another) and why the gap stops flicker.
Language
Show a number line with a threshold flag on it. Key words: threshold, above, below, unit.

Discussion prompts

  • What goes wrong if the threshold is too low? Too high?
  • Is there one 'right' threshold?
  • Who should decide: the engineer or the person using the machine?

Activity · role-play · 20 min

Threshold line-up

Materials: Paper

  1. Give each learner a paper card with a 'temperature' written on it (the teacher prepares cards from 5 to 30).
  2. The Controller chooses a threshold and calls: 'IF below my number THEN heater on ELSE heater off.'
  3. Learners holding a number below the threshold step forward ('heater on').
  4. Try three thresholds. For each, ask: who is too cold? Who wastes energy?

Safety and supervision

  • Learners step forward one pace only, in a straight line, with space between them.
  • Clear a walking space first, walk (never run), keep hands to yourself, and let anyone take a non-moving role (caller, recorder, judge) instead.
  • Paper edges can cut: hand sheets out rather than sliding them across desks.
  • A named adult from the host organisation supervises every session, follows that organisation's own safeguarding policy, and stays in the room throughout. No activity needs learners to go online alone, create an account or share personal information.

No computer

Instead of the greenhouse simulation, read out a list of night temperatures and let the class act out the heater rule for each one.

No kit (paper and pencils only)

Already paper only. The line-up can be done with numbers written on scrap paper.

Online lessons (optional)

Interactive laboratories and offline alternatives

  • Simulation OS: Greenhouse through a cold night. Change the setpoint and watch energy use and plant temperature trade off. Offline: Repeat the line-up with a 'gap': heater on below 15, off above 18. What changes?
  • Video: Thermostats: Cooler than you think! (Technology Connections, 17:03). Watch the first ten minutes: how a thermostat chooses when to switch. Offline: Draw a thermometer on the board and mark where the class's chosen threshold sits.

Student worksheet 9 · questions only

  1. 1. Write an IF–THEN–ELSE rule for a night light. Include a threshold.

    3 answer lines on the printout.

  2. 2. Your night light switches on and off again and again at dusk. Explain why this might happen.

    3 answer lines on the printout.

  3. 3. A greenhouse heater rule uses a threshold that is far too high. What is most likely?

    • Plants freeze
    • Energy is wasted
    • The sensor breaks
    • Nothing changes

From the online lesson “Choosing a good threshold”

  1. 4. Rule: IF temperature > 40 °C THEN switch the fan on. The sensor reads 41 °C, 55 °C, 40 °C, 33 °C, 43 °C, 47 °C. For how many of these readings does the THEN branch run?

  2. 5. A doorbell camera alerts you when motion is above a threshold. Leaves blowing keep triggering it. What should you do?

    • Lower the threshold
    • Raise the threshold
    • Remove the threshold

Learners check these in the lesson, which marks them on our server: Lite version · full lesson.

From the online lesson “IF this, THEN that, ELSE the other”

  1. 6. IF light level < 30 THEN lamp on ELSE lamp off. The sensor reads 45. What happens?

    • Lamp on
    • Lamp off
    • Both
  2. 7. IF speed > 50 THEN beep. The speed is exactly 50. Does it beep?

    • Yes
    • No

Learners check these in the lesson, which marks them on our server: Lite version · full lesson.

Teacher solutions for this worksheet are on the protected educator page, not here.

Session 10 of 24 · Week 5 · 60 minutes

One shared screen

Test the edges: a heater that behaves

Objectives

  • Choose test values at and around a threshold.
  • Improve a simulated heater controller and justify the change with evidence.

Timing

Session 10 timing
MinPartWhat happens
5RecapWhere would you put the frost threshold, and why?
15Boundary huntPairs list the values they would test for 'heater on below 5 °C' and explain each.
25Mission LabOn one screen or in pairs, run the Unstable Greenhouse Level 1: try one change at a time and record what happens.
10WorksheetQuestions 1–3.
5Exit questionWhat did the heater do that surprised you?

Differentiation

More support
Give three of the four test values and ask for the missing one; pair with a confident reader for the briefing.
Stretch
Try Level 2 of the Mission Lab and explain the trade-off between warmth and heater switching.
Language
Teach just below, exactly at and just above with a number line drawn on the board.

Discussion prompts

  • Why test exactly at the threshold?
  • Why change only one thing at a time?

Activity · unplugged · 15 min

Boundary hunt

Materials: Paper, Pencils

  1. Write the rule on paper: heater on when temperature is below 5 °C.
  2. List test temperatures just below, exactly at and just above 5, plus one far away on each side.
  3. For each, write what the heater should do before anyone checks.
  4. Compare lists between pairs and agree which test is most likely to find a bug.

Safety and supervision

  • Paper and pencils stay on the desks; hand sheets out rather than sliding them.
  • Paper edges can cut: hand sheets out rather than sliding them across desks.
  • Pencils are for writing and drawing only, never as levers, axles or pointers near faces.
  • A named adult from the host organisation supervises every session, follows that organisation's own safeguarding policy, and stays in the room throughout. No activity needs learners to go online alone, create an account or share personal information.

Activity · online-optional · 25 min

Unstable Greenhouse, one change at a time

Materials: none

  1. Open the Mission Lab and read the briefing aloud.
  2. Run the starting controller once and note the coldest temperature and how often the heater switches.
  3. Change only one setting, run again and record both numbers.
  4. Decide which change is better and write one sentence of evidence.

No computer

Use the printed night-temperature table instead of the Mission Lab: pairs apply the heater rule hour by hour and count switches. The evidence is real but slower to gather and covers one night only.

No kit (paper and pencils only)

Already paper and pencils only; the temperature table is printed or copied onto the board.

Online lessons (optional)

Interactive laboratories and offline alternatives

  • Mission Lab: Mission Lab: The Unstable Greenhouse. Run Level 1 and record the effect of one change at a time. Offline: Give pairs a printed table of night temperatures; they apply the heater rule hour by hour on paper and count how often it switches.
  • Simulation OS: Greenhouse through a cold night. Optional: compare the same controller on a colder night. Offline: Repeat the paper table with every temperature lowered by 3 °C and compare.

Student worksheet 10 · questions only

  1. 1. A heater turns on when the temperature is below 5 °C. List four temperatures you would test and say why each one.

    4 answer lines on the printout.

  2. 2. The heater switches on and off every minute. Suggest one change to the rule and one downside of that change.

    4 answer lines on the printout.

  3. 3. You changed two settings at once and the result improved. What do you know?

    • Both changes helped
    • The first change helped
    • Something helped, but you cannot tell which
    • Nothing, the test was unfair

From the online lesson “Test the edges: boundary values”

  1. 4. A thermometer reports in steps of 0.5 °C. The alarm rule is if temp_c >= 30: alarm(). As the temperature rises from 28 °C one step at a time, what is the first reading that sets off the alarm, in °C? (°C)

  2. 5. A rule should pass readings from 10 to 60 inclusive, in steps of 1. Which set of tests is best?

    • 20, 30, 40
    • 9, 10, 11, 59, 60, 61
    • 0, 100

Learners check these in the lesson, which marks them on our server: Lite version · full lesson.

From the online lesson “On/off control and hysteresis”

  1. 6. A thermostat uses a setpoint of 20 °C and a total hysteresis band of 3 °C, centred on the setpoint. Below what temperature does the heater switch on, in °C? (°C)

  2. 7. With 'on below 17, off above 19', the heater is ON and the temperature is 18.2 °C. What does the controller do?

    • Switch off
    • Keep the heater on
    • Switch on

Learners check these in the lesson, which marks them on our server: Lite version · full lesson.

Teacher solutions for this worksheet are on the protected educator page, not here.

Session 11 of 24 · Week 6 · 60 minutes

Needs a computer

Loops over readings

Objectives

  • Use a for loop to summarise a list of sensor readings.
  • Use a while loop that stops when a condition is met.

Timing

Session 11 timing
MinPartWhat happens
5RecapWhat does a boundary test check?
10DemoLoop over five temperatures and print each; then add a running total.
25Pairs codePairs compute the average, minimum and maximum of a twelve-reading log, then write a while loop that counts how many minutes a tank takes to fill.
15WorksheetQuestions 1–3.
5Exit questionWhen would a while loop never stop?

Differentiation

More support
Give the loop with the running total already written; learners add the print and the average line.
Stretch
Count how many readings are above the average in a second loop.
Language
Act out a loop: one learner reads each value aloud while another keeps the running total on a sheet.

Discussion prompts

  • Why is a loop better than twelve separate lines?
  • How would you make sure a while loop always ends?

Activity · online-optional · 25 min

Sensor log summary

Materials: none

  1. Paste the twelve readings into a list.
  2. Use a for loop with a running total to find the average; check it against a calculator.
  3. Track the smallest and largest values inside the same loop.
  4. Write a while loop that adds 4 litres a minute until a 30-litre tank is full and prints the minutes taken.

No computer

This session needs a computer for its core activity: writing and running Python in the Code Lab. With no computer, learners trace the printed programs by hand in a table (one row per line, one column per variable) and predict the output. They still learn to read code precisely, but they lose the most important part: running their own code, seeing errors and fixing them. Plan a device session later to catch up.

No kit (paper and pencils only)

Already paper and pencils only: the trace tables and the worksheet need nothing else.

Online lessons (optional)

Interactive laboratories and offline alternatives

  • Studio: Code Lab. Pairs summarise the log and fill the tank. Offline: Print the session's programs and trace them by hand in a table: one row per line run, one column per variable, then write what is printed.

Student worksheet 11 · questions only

  1. 1. Trace: total = 0, then for r in [3, 5, 4]: total = total + r. Write r and total after each pass of the loop.

    Table: Pass · r · total (3 rows)

  2. 2. level = 0; while level < 10: level = level + 3. How many times does the loop body run, and what is level at the end?

    3 answer lines on the printout.

  3. 3. Describe in words how you would find the largest reading in a list using a loop.

    4 answer lines on the printout.

From the online lesson “for loops: summarise a sensor log”

  1. 4. A loop totals and counts these temperature readings (°C): [18.0, 25.4, 31.8, 31.6, 21.9, 26.6]. What is total / count, in °C? (°C)

  2. 5. How many times does the body of for r in readings: run if readings has 7 items?

    • 6
    • 7
    • 8

Learners check these in the lesson, which marks them on our server: Lite version · full lesson.

From the online lesson “while loops: repeat until it's done”

  1. 6. A motor is 75 °C hotter than the room. Each minute of cooling multiplies the difference by 0.5. The program runs: while excess > 5: excess = excess * 0.5; minutes = minutes + 1 (starting from excess = 75, minutes = 0). What is minutes when the loop ends? (min)

  2. 7. Which while loop never ends?

    • n = 0; while n < 5: n += 1
    • n = 10; while n > 0: n -= 2
    • n = 1; while n != 10: n += 2

Learners check these in the lesson, which marks them on our server: Lite version · full lesson.

Teacher solutions for this worksheet are on the protected educator page, not here.

Session 12 of 24 · Week 6 · 60 minutes

Computer optional

Rounding and jitter

From the pack Signals in a noisy world, session 3. Learners have just summarised a log; now they see why its readings jitter and round. Point back to last session's minimum and maximum: how much of that spread is noise?

Objectives

  • Describe quantisation as rounding to steps.
  • Tell quantisation from random noise.

Timing

Session 12 timing
MinPartWhat happens
5HookA ruler marked only every 5 cm: how tall is your pencil?
25Coarse rulersRun the coarse-ruler activity.
15Noise or steps?Compare jitter between learners with rounding from the ruler.
10WorksheetQuestions 1–3.
5Wrap-upWhich would a finer ruler fix: noise or steps?

Differentiation

More support
Give rulers with only whole-centimetre marks and a worked example of half a mark.
Stretch
Ask how a ruler with marks every 2 cm changes the biggest rounding error.
Language
Key words: quantisation, rounding, noise, resolution. Starter: 'It is the same every time because …'.

Discussion prompts

  • Which ruler gave the most repeatable readings? The most precise?
  • Why do five people get different readings with the same ruler?
  • How does a digital sensor 'round' its readings?

Activity · unplugged · 25 min

Coarse rulers

Materials: Paper, Pencils

  1. Make three paper rulers: marks every 5 cm, every 1 cm, and every 'half-fold' of a strip.
  2. Measure five objects with each ruler, rounding to the nearest mark.
  3. Five learners measure the same object with the 1 cm ruler; compare readings.

Safety and supervision

  • Measure objects on desks only; pencils for marking only.
  • Paper edges can cut: hand sheets out rather than sliding them across desks.
  • Pencils are for writing and drawing only, never as levers, axles or pointers near faces.
  • A named adult from the host organisation supervises every session, follows that organisation's own safeguarding policy, and stays in the room throughout. No activity needs learners to go online alone, create an account or share personal information.

No computer

Skip the distributions explorer; the coarse rulers are the whole session.

No kit (paper and pencils only)

Already paper and pencils only.

Online lessons (optional)

Interactive laboratories and offline alternatives

Student worksheet 12 · questions only

  1. 1. Record one object with all three rulers.

    Table: Ruler · Reading · Biggest possible rounding error (3 rows)

  2. 2. Explain the difference between quantisation and noise using today's results.

    4 answer lines on the printout.

  3. 3. A sensor reports whole degrees only. What is the biggest rounding error it can make? Explain.

    3 answer lines on the printout.

From the online lesson “ADC counts, quantisation and noise”

  1. 4. What voltage does one step (1 LSB) of a 10-bit ADC with a 3.3 V reference represent, in millivolts? (mV)

  2. 5. A 8-bit ADC with a 5 V reference reads 53. Using volts = count × Vref ÷ 2^n, what voltage is that, in volts? (V)

Learners check these in the lesson, which marks them on our server: Lite version · full lesson.

From the online lesson “Where noise comes from”

  1. 6. A light sensor's readings jump every time a nearby motor starts. The most likely source is…

    • thermal noise
    • electrical interference
    • quantisation
    • bias
  2. 7. Noise is 2.0 at 0.5 m/s. If noise scales with √speed, what is it at 2.0 m/s?

Learners check these in the lesson, which marks them on our server: Lite version · full lesson.

Teacher solutions for this worksheet are on the protected educator page, not here.

Session 13 of 24 · Week 7 · 60 minutes

Computer optional

Filters: smooth but late

From the pack Signals in a noisy world, session 4. A moving average is a loop over readings: after the paper filter, show that it is the same running total from session 11 applied to a sliding window.

Objectives

  • Apply a moving average by hand.
  • Explain the trade-off between smoothness and lag.

Timing

Session 13 timing
MinPartWhat happens
10HookA jittery thermometer: how do you see the real trend?
25Paper filterRun the paper moving-average activity.
10Bigger windowRepeat with a window of 5 and compare.
10WorksheetQuestions 1–3.
5ReflectWhen is a late answer worse than a noisy one?

Differentiation

More support
Give a strip with a three-box window cut-out drawn on it to slide along the readings.
Stretch
Ask learners to count how many samples late each filter is after a sudden jump.
Language
Key words: filter, window, smooth, lag. Starter: 'It is smoother but …'.

Discussion prompts

  • Which is smoother: raw or filtered?
  • Which noticed the jump first?
  • When would a robot prefer a small window?

Activity · unplugged · 25 min

Paper moving average

Materials: Paper, Pencils

  1. The teacher writes a noisy temperature series on the board (12 values with one sudden jump halfway).
  2. Make a window: fold a paper strip so that it shows three values at a time.
  3. Slide the window along; for each position write the average of the three values.
  4. Plot the raw and filtered values. Mark where each first 'notices' the jump.

Safety and supervision

  • Desk activity; paper strips are folded, not cut.
  • Paper edges can cut: hand sheets out rather than sliding them across desks.
  • Pencils are for writing and drawing only, never as levers, axles or pointers near faces.
  • A named adult from the host organisation supervises every session, follows that organisation's own safeguarding policy, and stays in the room throughout. No activity needs learners to go online alone, create an account or share personal information.

No computer

Skip the fusion playground, simulation and Build Night; the paper moving average is the whole session.

No kit (paper and pencils only)

Already paper and pencils only.

Online lessons (optional)

Interactive laboratories and offline alternatives

Student worksheet 13 · questions only

  1. 1. Explain how a 3-value moving average is calculated, with one example from today.

    3 answer lines on the printout.

  2. 2. Compare the 3-value and 5-value filters: which is smoother, which is quicker to react?

    3 answer lines on the printout.

  3. 3. A robot must stop quickly when an obstacle appears. Would you choose a big or small window? Explain the trade-off.

    3 answer lines on the printout.

From the online lesson “The moving average and the noise–lag trade-off”

  1. 4. Readings 4, 8, 6, 10. What does a k = 2 moving average output now?

  2. 5. A filter keeps the mean of the last k = 5 readings. The readings so far, oldest first, are: 35, 16, 15, 35, 38, 10. What does the filter output now?

Learners check these in the lesson, which marks them on our server: Lite version · full lesson.

From the online lesson “Sensors aren't perfect”

  1. 6. A thermometer reads 18, 19, 17 and 18 °C. What is the average, in °C? (°C)

  2. 7. A robot drives at 10 cm/s and checks its distance sensor 10 times a second. How far does it travel between one check and the next, in cm? (cm)

Learners check these in the lesson, which marks them on our server: Lite version · full lesson.

Teacher solutions for this worksheet are on the protected educator page, not here.

Session 14 of 24 · Week 7 · 60 minutes

Needs a computer

Functions: package a calculation

Objectives

  • Define a function with parameters that returns a value.
  • Break a program into small functions with clear names.

Timing

Session 14 timing
MinPartWhat happens
5RecapWhy is a moving average late?
10DemoTurn the runtime calculation from session 3 into a function and call it three times.
25Pairs codePairs write average(readings) and in_range(value, low, high), then use both to check a log.
15WorksheetQuestions 1–3.
5Exit questionWhat makes a good function name?

Differentiation

More support
Write the def line and the return keyword for them; learners fill in the calculation.
Stretch
Give in_range a default for low and high, and explain when a default is risky.
Language
Use the machine picture: inputs go in (parameters), a result comes out (return value).

Discussion prompts

  • Why test a function on its own before using it?
  • What is the difference between printing a value and returning it?

Activity · online-optional · 25 min

A tidy log checker

Materials: none

  1. Write average(readings) that returns the mean of a list.
  2. Write in_range(value, low, high) that returns True or False.
  3. Use both to print how many readings are out of range in the session 11 log.
  4. Test each function on its own with a case you can check in your head.

No computer

This session needs a computer for its core activity: writing and running Python in the Code Lab. With no computer, learners trace the printed programs by hand in a table (one row per line, one column per variable) and predict the output. They still learn to read code precisely, but they lose the most important part: running their own code, seeing errors and fixing them. Plan a device session later to catch up.

No kit (paper and pencils only)

Already paper and pencils only: the trace tables and the worksheet need nothing else.

Online lessons (optional)

Interactive laboratories and offline alternatives

  • Studio: Code Lab. Pairs write and test two functions. Offline: Print the session's programs and trace them by hand in a table: one row per line run, one column per variable, then write what is printed.

Student worksheet 14 · questions only

  1. 1. def double_plus_one(x): return 2 * x + 1. What does double_plus_one(4) give? What does double_plus_one(double_plus_one(1)) give?

    3 answer lines on the printout.

  2. 2. Write a function c_to_f(c) that converts Celsius to Fahrenheit (multiply by 9/5, then add 32).

    3 answer lines on the printout.

  3. 3. A program is 80 lines long with no functions. Name three functions you might split it into for a greenhouse controller.

    4 answer lines on the printout.

From the online lesson “Package a calculation as a function”

  1. 4. def wheel_speed_m_per_s(rpm, diameter_m): return rpm / 60 * math.pi * diameter_m. What does wheel_speed_m_per_s(150, 0.05) return, in m/s? (m/s)

  2. 5. Why is return better than print inside a calculation function?

    • return is faster to type
    • The returned value can be used in further calculations and tests
    • print does not work inside functions

Learners check these in the lesson, which marks them on our server: Lite version · full lesson.

From the online lesson “Decompose a program into functions”

  1. 6. A 10-bit ADC reads raw = 307. to_volts(raw) returns raw * 3.3 / 1023, and to_celsius(v) returns (v - 0.5) * 100 (a TMP36-style sensor: 10 mV per °C with a 0.5 V offset). What is to_celsius(to_volts(307)), in °C? (°C)

  2. 7. Which function does one job?

    • read_convert_check_and_print(path)
    • to_volts(raw)
    • do_everything()

Learners check these in the lesson, which marks them on our server: Lite version · full lesson.

Teacher solutions for this worksheet are on the protected educator page, not here.

Session 15 of 24 · Week 8 · 60 minutes

Needs a computer

Hunting bugs like an engineer

Objectives

  • Read a traceback to find the line and type of an error.
  • Find a logic bug by reproducing, hypothesising and testing one change.

Timing

Session 15 timing
MinPartWhat happens
5RecapWhat does return do?
10Read the tracebackShow three error messages; pairs find the line number and the error type in each.
25Bug huntPairs get four short programs, each with one bug, and keep a bug log: symptom, hypothesis, test, fix.
15WorksheetQuestions 1–3.
5Exit questionWhich bug was hardest, and why?

Differentiation

More support
Start with the two programs that give error messages; do the silent logic bugs together.
Stretch
Write a buggy program of your own for another pair to fix, with a bug that gives no error message.
Language
Teach symptom, cause and fix with a doctor analogy and example sentences.

Discussion prompts

  • Why change only one thing at a time when debugging?
  • Is a program with no error message always correct?

Activity · online-optional · 25 min

Bug log

Materials: none

  1. Run each buggy program and write the symptom in the bug log.
  2. Write a hypothesis: which line, and what is wrong with it.
  3. Change one thing only and run again; record whether the symptom changed.
  4. When it is fixed, add a test case that would catch the bug next time.

No computer

This session needs a computer for its core activity: writing and running Python in the Code Lab. With no computer, learners trace the printed programs by hand in a table (one row per line, one column per variable) and predict the output. They still learn to read code precisely, but they lose the most important part: running their own code, seeing errors and fixing them. Plan a device session later to catch up.

No kit (paper and pencils only)

Already paper and pencils only: the trace tables and the worksheet need nothing else.

Online lessons (optional)

Interactive laboratories and offline alternatives

  • Studio: Code Lab. Pairs run and fix the four buggy programs. Offline: Print the four programs with their error messages; pairs mark the faulty line and write the fix, then trace it to check.

Student worksheet 15 · questions only

  1. 1. A traceback ends with: line 4, NameError: name 'temprature' is not defined. What is the likely bug and how would you fix it?

    3 answer lines on the printout.

  2. 2. average = total / 3 is used for a list of 4 readings. The program runs without errors. What kind of bug is this and what test would catch it?

    4 answer lines on the printout.

  3. 3. Fill in a bug log for a bug you met today.

    Table: Symptom · Hypothesis · Test · Result (2 rows)

From the online lesson “Read the traceback”

  1. 4. Which part of a traceback tells you the kind of error?

    • The first line, 'Traceback (most recent call last)'
    • The last line
    • The middle line
  2. 5. Which is a logic error?

    • if x = 5:
    • print(10 / 0)
    • A mean computed as total / (count + 1)

Learners check these in the lesson, which marks them on our server: Lite version · full lesson.

From the online lesson “Reproduce, hypothesise, test: hunting logic bugs”

  1. 6. readings = [15.0, 22.9, 29.8, 29.6, 19.2]. The buggy code sets total = 0, runs for i in range(1, len(readings)): total = total + readings[i], then calls print(total / len(readings)). What does it print (to 2 decimal places)?

  2. 7. A program gives a wrong total. What is the best first step?

    • Rewrite the whole program
    • Find a small input that always shows the wrong total
    • Change the < signs to <= and see

Learners check these in the lesson, which marks them on our server: Lite version · full lesson.

Teacher solutions for this worksheet are on the protected educator page, not here.

Session 16 of 24 · Week 8 · 60 minutes

Computer optional

Robots on a grid

From the pack The maths behind machines, session 4. Coordinates prepare the robot-arm and traffic work ahead; pairs who finish can store a list of grid points and print them with a loop.

Objectives

  • Plot points with ordered pairs in four quadrants.
  • Write a route for a robot as coordinates.

Timing

Session 16 timing
MinPartWhat happens
10HookHow would you tell a robot exactly where to go?
25Floor grid robotRun the floor grid robot role-play.
10Below zeroExtend the grid to negative coordinates.
10WorksheetQuestions 1–3.
5Wrap-upWhy does the order of (x, y) matter?

Differentiation

More support
Use a grid from 0 to 3 in one quadrant first, then extend to negative numbers.
Stretch
Ask for the shortest route through four given points and how to prove it is shortest.
Language
Key words: axis, coordinate, quadrant, origin. Rhyme: 'along the corridor, then up the stairs'.

Discussion prompts

  • What happened if the Robot read (y, x) instead of (x, y)?
  • Why do robot arms need negative coordinates?
  • How could the Robot find the shortest route?

Activity · role-play · 25 min

Floor grid robot

Materials: Paper

  1. Lay paper sheets on the floor as a 5 × 5 grid, labelled with x along one side and y along the other.
  2. One learner is the Robot, starting at (0, 0).
  3. The Navigator reads coordinates from a route card; the Robot walks to each point.
  4. Extend the grid with sheets marked −1 and −2 and try a route that crosses zero.

Safety and supervision

  • Weigh the paper sheets down at the corners with books so they don't slide. The Robot walks slowly, one learner on the grid at a time.
  • Clear a walking space first, walk (never run), keep hands to yourself, and let anyone take a non-moving role (caller, recorder, judge) instead.
  • Paper edges can cut: hand sheets out rather than sliding them across desks.
  • A named adult from the host organisation supervises every session, follows that organisation's own safeguarding policy, and stays in the room throughout. No activity needs learners to go online alone, create an account or share personal information.

No computer

Skip the two-link arm simulation; the floor grid role-play and paper plots are the whole session.

No kit (paper and pencils only)

Already paper only. A floor grid can be drawn on large paper sheets laid together.

Online lessons (optional)

Interactive laboratories and offline alternatives

Student worksheet 16 · questions only

  1. 1. Draw a grid from −3 to 3 on both axes. Plot (2, 1), (−1, 3) and (−2, −2).

    Drawing space on the printout.

  2. 2. Write a route of four points that visits all four quadrants.

    3 answer lines on the printout.

  3. 3. Explain what goes wrong if a robot swaps x and y.

    3 answer lines on the printout.

From the online lesson “Grids and ordered pairs: giving every point an address”

  1. 4. A point is 4 squares across and 1 square up from the origin. How is it written?

    • (1, 4)
    • (4, 1)
    • (4 1)
    • 4 : 1
  2. 5. What is the y coordinate of the point (6, 3)?

Learners check these in the lesson, which marks them on our server: Lite version · full lesson.

From the online lesson “Four quadrants: below zero and behind the robot”

  1. 6. In which quadrant is (−2, −5)?

    • Top right
    • Top left
    • Bottom left
    • Bottom right
  2. 7. How many squares apart, across, are x = −3 and x = 4?

Learners check these in the lesson, which marks them on our server: Lite version · full lesson.

Teacher solutions for this worksheet are on the protected educator page, not here.

Session 17 of 24 · Week 9 · 60 minutes

Computer optional

Triangles that reach

From the pack The maths behind machines, session 5. Trigonometry gives the reach of an arm; connect it to the math module from session 5 (math.sin and math.cos use radians).

Objectives

  • Measure an arm's reach with a right-angled triangle.
  • Use sin, cos and tan as ratios (Builder stretch).

Timing

Session 17 timing
MinPartWhat happens
10HookA robot arm is a triangle in disguise. Where is the triangle?
25String armRun the string arm activity.
10Ratios of sidesCompare across/along and up/along for different angles.
10WorksheetQuestions 1–3.
5Exit questionLonger arm, same angle: what changes?

Differentiation

More support
Use only two angles (30° and 60°) and allow calculators for the ratios.
Stretch
Ask learners to predict the reach at an angle they did not measure and check it.
Language
Key words: angle, across, up, ratio, length. A labelled triangle drawing stays on the board.

Discussion prompts

  • Did the ratios change when you used a longer string at the same angle?
  • Why would an engineer want these ratios in a table?
  • What does a robot need to know to reach a point?

Activity · unplugged · 25 min

String arm

Materials: Paper, String, Pencils

  1. Hold one end of a 20 cm string on a paper grid at (0, 0) with a finger.
  2. Pull the string straight at a chosen angle (use a drawn paper protractor fan) and mark where the end lands.
  3. Measure how far across and how far up the end is.
  4. Divide 'up' by the string length, and 'across' by the string length, for three angles.

Safety and supervision

  • Use short string (20 cm). Hold it with fingers flat on the paper; never loop it round fingers.
  • Paper edges can cut: hand sheets out rather than sliding them across desks.
  • String stays below shoulder height and is never looped around necks, wrists or fingers. Use lengths under 1 metre unless an adult holds the ends.
  • Pencils are for writing and drawing only, never as levers, axles or pointers near faces.
  • A named adult from the host organisation supervises every session, follows that organisation's own safeguarding policy, and stays in the room throughout. No activity needs learners to go online alone, create an account or share personal information.

No computer

Skip the virtual arm and Equation Lab; the string-arm table is the whole evidence.

No kit (paper and pencils only)

Use a strip of paper as the arm and a drawn protractor template; measure across and up with a ruler on squared paper.

Online lessons (optional)

Interactive laboratories and offline alternatives

  • Nexus project: Virtual Robotic Arm. Optional: a full arm system with reach limits. Offline: Draw the reach circle of the string arm on the grid.
  • Equation Lab: Equation Lab: Vectors: addition and the dot product. Optional: add arrows to see where an arm ends up. Offline: Draw the arm as two arrows tip to tail.
  • Video: How Robots Use Maths to Move (James Bruton, 15:54). Watch for where trigonometry turns a target into joint angles. Offline: Two learners act as a two-joint arm with their forearms on the paper grid.

Student worksheet 17 · questions only

  1. 1. Record your string-arm results.

    Table: Angle · Across · Up · Up ÷ length · Across ÷ length (3 rows)

  2. 2. What did you notice about the ratios for the same angle with different string lengths?

    3 answer lines on the printout.

  3. 3. Explain how you would find how high a 30 cm arm reaches at your steepest angle, using your table.

    3 answer lines on the printout.

From the online lesson “sin, cos and tan are just ratios”

  1. 4. A robot link is tilted at angle θ above the horizontal. Relative to θ, which side is the vertical drop from the tip down to the horizontal line?

    • The hypotenuse
    • The opposite side
    • The adjacent side
  2. 5. sin 30° = 0.5. A 12 cm link points 30° above horizontal. How high is its tip above the joint, in cm? (cm)

Learners check these in the lesson, which marks them on our server: Lite version · full lesson.

From the online lesson “Joints and arms: placing a robot hand”

  1. 6. A robot arm has an upper arm 9 cm long and a forearm 2 cm long. What is the closest distance from the shoulder that the hand can reach, in cm? (cm)

  2. 7. Our arm has links of 5 and 3 units. Which point can its hand NOT reach?

    • A point 4 units from the shoulder
    • A point 7 units from the shoulder
    • A point 9 units from the shoulder

Learners check these in the lesson, which marks them on our server: Lite version · full lesson.

Teacher solutions for this worksheet are on the protected educator page, not here.

Session 18 of 24 · Week 9 · 60 minutes

Needs a computer

A state machine in code

Objectives

  • Describe a traffic signal as states, events and transitions.
  • Write a small state machine in Python and step it through time.

Timing

Session 18 timing
MinPartWhat happens
5RecapWhat does a robot arm need to know to reach a point?
15Role-play the signalThree learners are the red, green and amber states; a caller announces events and the class says which state comes next.
20Pairs codePairs code the signal with a state variable and if/elif branches, stepping it for 12 ticks.
15WorksheetQuestions 1–3.
5Exit questionWhich transition must never happen at a real junction?

Differentiation

More support
Give the state diagram printed; learners only code one transition and test it.
Stretch
Add a pedestrian button event that shortens the wait, and explain how you stop it being abused.
Language
Label the states with colours and words; use the sentence 'When ... happens in state ..., go to ...'.

Discussion prompts

  • Why is a state machine easier to check than a tangle of if-statements?
  • What should the signal do if its timer fails?

Activity · role-play · 15 min

Human traffic signal

Materials: Paper

  1. Three volunteers hold a sheet marked RED, GREEN or AMBER; only the current state stands.
  2. The caller announces 'timer done'; the class says which state is next and that learner stands.
  3. Try an illegal event, such as green straight to red, and discuss why the design forbids it.
  4. Draw the state diagram on the board from what happened.

Safety and supervision

  • Volunteers stand and sit in place; nobody moves around the room.
  • Clear a walking space first, walk (never run), keep hands to yourself, and let anyone take a non-moving role (caller, recorder, judge) instead.
  • Paper edges can cut: hand sheets out rather than sliding them across desks.
  • A named adult from the host organisation supervises every session, follows that organisation's own safeguarding policy, and stays in the room throughout. No activity needs learners to go online alone, create an account or share personal information.

Activity · online-optional · 20 min

Signal in Python

Materials: none

  1. Create state = 'RED' and a tick counter.
  2. Use if/elif to move to the next state when the time in the current state reaches its limit.
  3. Loop for 12 ticks and print the state each tick.
  4. Check the printed sequence against the state diagram from the role-play.

No computer

This session needs a computer for its core activity: writing and running Python in the Code Lab. With no computer, learners trace the printed programs by hand in a table (one row per line, one column per variable) and predict the output. They still learn to read code precisely, but they lose the most important part: running their own code, seeing errors and fixing them. Plan a device session later to catch up.

No kit (paper and pencils only)

Already paper and pencils only: the trace tables and the worksheet need nothing else.

Online lessons (optional)

Interactive laboratories and offline alternatives

  • Studio: Code Lab. Pairs code and step the signal. Offline: Print the session's programs and trace them by hand in a table: one row per line run, one column per variable, then write what is printed.
  • Simulation OS: Traffic-light junction timing. Optional: see how green times change queues at a junction. Offline: Give pairs a printed list of car arrivals per minute and let them count the queue by hand for two different green times.

Student worksheet 18 · questions only

  1. 1. Draw a state diagram for a pedestrian crossing with the states WAIT, WALK and FLASHING, and label each arrow with its event.

    Drawing space on the printout.

  2. 2. A signal is GREEN for 3 ticks, AMBER for 1 and RED for 4, starting at GREEN. Which state is it in at tick 6 (counting the first tick as 1)?

    2 answer lines on the printout.

  3. 3. Why must a junction never go from GREEN in one direction to GREEN in the crossing direction without a RED in between?

    3 answer lines on the printout.

From the online lesson “A state machine in twelve lines”

  1. 4. state is CLOSING and the event is 'person'. Which value does `step` return?

    • CLOSING
    • OPENING
    • CLOSED
  2. 5. An automatic door has states 0 = closed, 1 = opening, 2 = open, 3 = closing. Its events are 0 = person detected, 1 = fully open, 2 = timer ended, 3 = fully closed. Rules: closed + person → opening; opening + fully open → open; open + timer ended → closing; closing + fully closed → closed; closing + person → opening. Any other event leaves the state unchanged. The door is in state 0 and event 3 happens. What state number comes next? (state)

Learners check these in the lesson, which marks them on our server: Lite version · full lesson.

From the online lesson “Set up once, loop forever”

  1. 6. Where should 'set pin 3 as an output' go?

    • In setup, once
    • Inside the loop, every pass
    • After the loop ends
  2. 7. In the heater loop (heater on if temp < 18, otherwise off), the readings on three passes are 17.5, 18.0 and 18.4. What does the heater do on each pass?

    • on, on, off
    • on, off, off
    • off, off, on

Learners check these in the lesson, which marks them on our server: Lite version · full lesson.

Teacher solutions for this worksheet are on the protected educator page, not here.

Session 19 of 24 · Week 10 · 60 minutes

Computer optional

Closing the loop

From the pack Machines that sense and decide, session 5. The closed loop on paper is the idea the next session turns into a function: the controller reads an error and returns an action.

Objectives

  • Tell open-loop from closed-loop control.
  • Describe on/off (bang-bang) control and its weakness.

Timing

Session 19 timing
MinPartWhat happens
10HookToaster versus thermostat: which one checks its own work?
20The human thermostatRun the human thermostat role-play.
15Open or closed?Groups sort machine cards into open loop and closed loop.
10WorksheetQuestions 1–3.
5Exit questionName one closed-loop machine at home.

Differentiation

More support
Give a loop diagram with empty boxes and the arrows already drawn; learners write the role names in.
Stretch
Ask learners to predict, then record, how the coin count changes if the thermostat checks only every other round.
Language
Key words with gestures: measure (look), compare (weigh in hands), act (push). Starter: 'The information goes back to …'.

Discussion prompts

  • Why did the open-loop room get too hot or too cold?
  • What does the thermometer add to the system?
  • Where could a closed-loop machine still go wrong?

Activity · role-play · 20 min

The human thermostat

Materials: Paper, Coins (or paper counters)

  1. The 'room' is a paper sheet. Coins on it are 'heat'. One coin is removed every ten seconds by the Weather (the teacher).
  2. Open loop: the Heater adds one coin every ten seconds no matter what. After two minutes, count the coins.
  3. Closed loop: a Thermometer counts the coins and tells the Heater 'add' below 5 coins and 'stop' at 5 or more.
  4. Compare the two runs. Which kept the room steadier?

Safety and supervision

  • Count coins out and back in. Only the Heater, Thermometer and Weather touch the coins.
  • Clear a walking space first, walk (never run), keep hands to yourself, and let anyone take a non-moving role (caller, recorder, judge) instead.
  • Paper edges can cut: hand sheets out rather than sliding them across desks.
  • Coins are small objects: count them out and back in. Use flat paper counters instead with any group where someone may put small objects in their mouth.
  • A named adult from the host organisation supervises every session, follows that organisation's own safeguarding policy, and stays in the room throughout. No activity needs learners to go online alone, create an account or share personal information.

No computer

Skip the feedback lab; draw the coin-count graph from the role-play on the board and discuss the wobble around the target.

No kit (paper and pencils only)

Replace coins with tally marks: one learner adds or rubs out marks on a sheet as the 'heat'.

Online lessons (optional)

Interactive laboratories and offline alternatives

Student worksheet 19 · questions only

  1. 1. Which of these is a closed-loop system?

    • A toaster with a timer
    • An oven that keeps itself at 180 °C
    • A hand-cranked music box
    • A sand timer
  2. 2. Draw the human thermostat as a loop. Add an arrow showing where information goes back.

    Drawing space on the printout.

  3. 3. On/off control made the coin count go up and down around the target. Suggest one change that would make it steadier.

    3 answer lines on the printout.

From the online lesson “Open loop or closed loop?”

  1. 4. Which of these is closed-loop?

    • A washing machine that always fills for 90 seconds
    • A washing machine that fills until a level sensor says full
    • A fan that runs for 10 minutes
  2. 5. A heater wants the room at 21 °C. The thermometer reads 17.5 °C. What is the gap (target − measured), in °C? (°C)

Learners check these in the lesson, which marks them on our server: Lite version · full lesson.

From the online lesson “On/off control: the bang-bang thermostat”

  1. 6. Why does a bang-bang thermostat never hold the temperature exactly on target?

    • The thermometer is broken
    • The heater can only be fully on or fully off, so it overshoots and undershoots
    • The target is set wrong
  2. 7. A thermostat targets 22 °C with a 3 °C gap split evenly. Below what temperature does the heater switch on, in °C? (°C)

Learners check these in the lesson, which marks them on our server: Lite version · full lesson.

Teacher solutions for this worksheet are on the protected educator page, not here.

Session 20 of 24 · Week 10 · 60 minutes

Needs a computer

Models are functions: a controller you can test

Objectives

  • Write a proportional controller as a function of the error.
  • Compare gains in a simulation and describe the trade-off.

Timing

Session 20 timing
MinPartWhat happens
5RecapWhat makes a loop 'closed'?
10DemoWrite action(error, gain) that returns gain × error, and step a heated room for five ticks.
25Pairs code and simulatePairs try three gains in code, then the same three in the PID step-response simulation, and record overshoot and time to settle.
15WorksheetQuestions 1–3.
5Exit questionWhat does the model leave out about a real room?

Differentiation

More support
Provide the loop and the function signature; learners change only the gain and record results.
Stretch
Add a steady heat loss each tick and see whether the room ever reaches the target; link to integral action.
Language
Key words with a picture: target, error, gain, overshoot, settle.

Discussion prompts

  • Why might a very high gain be a bad idea in a real machine?
  • Is a simulation evidence? What would make it stronger?

Activity · online-optional · 25 min

Gain experiment

Materials: none

  1. Write a function action(error, gain) and a loop that updates the temperature by the action each tick.
  2. Run gains of 0.2, 0.5 and 1.2 and record the temperature after ten ticks.
  3. Open the PID step-response simulation and set the same proportional gains.
  4. Write which gain you would choose and one thing the simple model cannot show.

No computer

This session needs a computer for its core activity: writing and running Python in the Code Lab. With no computer, learners trace the printed programs by hand in a table (one row per line, one column per variable) and predict the output. They still learn to read code precisely, but they lose the most important part: running their own code, seeing errors and fixing them. Plan a device session later to catch up.

No kit (paper and pencils only)

Already paper and pencils only: the trace tables and the worksheet need nothing else.

Online lessons (optional)

Interactive laboratories and offline alternatives

  • Studio: Code Lab. Pairs code the controller and run the gain experiment. Offline: Print the session's programs and trace them by hand in a table: one row per line run, one column per variable, then write what is printed.
  • Simulation OS: PID step response. Compare the same gains in a simplified response model. Offline: Give pairs a printed set of three response curves labelled only A, B and C; they decide which gain made each and why.

Student worksheet 20 · questions only

  1. 1. A room starts at 10 °C with a target of 20 °C. Each tick, temperature goes up by gain × (target − temperature). With gain 0.5, fill in three ticks.

    Table: Tick · Error · Change · Temperature (3 rows)

  2. 2. Describe what you would expect with a gain of 1.5 in the same model.

    3 answer lines on the printout.

  3. 3. Name two things a real heated room has that this model leaves out.

    3 answer lines on the printout.

From the online lesson “Models are functions: input in, output out”

  1. 4. A spring's extension is e(F) = 2.5·F mm, with F in newtons. What is the extension for a 12 N load, in mm? (mm)

  2. 5. Tests show a spring's extension follows f(x) = 5·x, where x is load in N and f(x) is in mm. What input x gives an output of exactly 90 mm? (N)

Learners check these in the lesson, which marks them on our server: Lite version · full lesson.

From the online lesson “Proportional control: push harder when further away”

  1. 6. A proportional heater controller uses effort = gain × error, where error = setpoint − temperature. The gain is 40% per °C and the effort is limited to the range 0 to 100%. The setpoint is 18 °C and the temperature is 16 °C. What heater effort does it command, in %? (%)

  2. 7. A proportional heater controller uses effort = gain × error, where error = setpoint − temperature. The gain is 10% per °C and the effort is limited to the range 0 to 100%. The setpoint is 22 °C and the temperature is 17.5 °C. What heater effort does it command, in %? (%)

Learners check these in the lesson, which marks them on our server: Lite version · full lesson.

Teacher solutions for this worksheet are on the protected educator page, not here.

Session 21 of 24 · Week 11 · 60 minutes

Computer optional

Did it pass? Averages and spread

From the pack The maths behind machines, session 6. Averages and spread are what learners need to judge the Noisy Factory in the next session: one lucky run is not evidence.

Objectives

  • Use average and range to describe repeated tests.
  • Decide whether a design meets a requirement.

Timing

Session 21 timing
MinPartWhat happens
5HookA paper plane flew 4 m once. Is it a 4 m plane?
25Coin slide testRun the coin slide test.
15DecideGroups decide whether their ramp meets the requirement.
10WorksheetQuestions 1–3.
5Wrap-upHow many tests are enough?

Differentiation

More support
Give a working frame for the average and range, and order the ten results first.
Stretch
Ask whether one unusual slide should be removed, and what that would do to the decision.
Language
Key words: average, range, trial, requirement. Show range as the gap between the shortest and longest.

Discussion prompts

  • Why not just test once?
  • Which tells you more: the average or the range?
  • What would you change to make the coin stop more consistently?

Activity · unplugged · 25 min

Coin slide test

Materials: Cardboard (from packaging), Coins (or paper counters), Paper

  1. Lean a pre-cut cardboard ramp on a book on the desk.
  2. Release a coin from the top line; mark where it stops on a paper strip.
  3. Repeat ten times and record each distance.
  4. Requirement: the coin must stop within 20 cm of the ramp's foot at least 8 times out of 10.

Safety and supervision

  • Ramps stay on the desk; coins that fall are picked up at the end, not during the test. Count coins back in.
  • An adult pre-cuts any cardboard before the session. Learners fold, slot and stack only; no blades or scissors in learners' hands.
  • Coins are small objects: count them out and back in. Use flat paper counters instead with any group where someone may put small objects in their mouth.
  • Paper edges can cut: hand sheets out rather than sliding them across desks.
  • A named adult from the host organisation supervises every session, follows that organisation's own safeguarding policy, and stays in the room throughout. No activity needs learners to go online alone, create an account or share personal information.

No computer

Skip the distributions explorer; draw a class dot plot of slide distances on the board.

No kit (paper and pencils only)

Replace the coin ramp with flicking a folded paper wedge along a desk and measuring with a ruler.

Online lessons (optional)

Interactive laboratories and offline alternatives

Student worksheet 21 · questions only

  1. 1. Record ten slides.

    Table: Trial · Distance (cm) (10 rows)

  2. 2. Work out the average and the range of your results. Show your working.

    4 answer lines on the printout.

  3. 3. Did your ramp meet the requirement? Use your numbers to explain.

    3 answer lines on the printout.

From the online lesson “Repeat, average, spread”

  1. 4. A drip outlet is tested 5 times. It delivers 30, 38, 38, 26, 32 mL. What is the mean (average) amount delivered, to one decimal place? (mL)

  2. 5. Your prototype is tested 5 times, measuring centimetres the cart rolled: 30, 28, 61, 66, 20. What is the range of the results? (cm)

Learners check these in the lesson, which marks them on our server: Lite version · full lesson.

From the online lesson “How often does it fail?”

  1. 6. A simulated door draught stopper is run 10 times and fails 2 times. What is its failure rate, as a percentage? (%)

  2. 7. Before your improvement, the design failed 5 of 10 trials. After it, the same test failed 0 of 10. By how many percentage points did the failure rate drop? (percentage points)

Learners check these in the lesson, which marks them on our server: Lite version · full lesson.

Teacher solutions for this worksheet are on the protected educator page, not here.

Session 22 of 24 · Week 11 · 60 minutes

One shared screen

Evidence from many runs: the Noisy Factory

Objectives

  • Judge a design from several runs, not one.
  • Defend a design choice with numbers and an honest limitation.

Timing

Session 22 timing
MinPartWhat happens
5RecapWhy is the average of five runs better than one run?
10BriefingRead the Noisy Factory briefing together; agree what 'better' means before trying anything.
25Mission Lab runsPairs or the whole group try two designs, record five runs each and compare averages and spread.
15WorksheetQuestions 1–3.
5Exit questionWhat would change your mind about your chosen design?

Differentiation

More support
Give a table with the runs already written; learners compute the averages with a calculator.
Stretch
Try a third design and decide whether five runs are enough to tell it apart.
Language
Teach average and range with one worked example on the board; give the starter 'I chose ... because the evidence shows ...'.

Discussion prompts

  • When are two averages too close to call?
  • Who might disagree with your choice of 'better'?

Activity · online-optional · 25 min

Five runs each

Materials: none

  1. Write the success measure on paper before running anything.
  2. Run design A five times and record each result in a table.
  3. Run design B five times and record each result.
  4. Work out the average and the range of each and decide which design is better.

Activity · unplugged · 10 min

Trade-off table

Materials: Paper, Pencils

  1. Draw a table with the two designs as rows and three criteria as columns.
  2. Fill each cell with a number or a word from your runs.
  3. Circle the criterion that matters most for the factory and explain why.

Safety and supervision

  • Paper and pencils stay on the desks; hand sheets out rather than sliding them.
  • Paper edges can cut: hand sheets out rather than sliding them across desks.
  • Pencils are for writing and drawing only, never as levers, axles or pointers near faces.
  • A named adult from the host organisation supervises every session, follows that organisation's own safeguarding policy, and stays in the room throughout. No activity needs learners to go online alone, create an account or share personal information.

No computer

Use the printed run results instead of the Mission Lab. Learners practise the same reasoning, but they cannot try a design of their own and see new results.

No kit (paper and pencils only)

Already paper and pencils only; print or copy the result tables.

Online lessons (optional)

Interactive laboratories and offline alternatives

  • Mission Lab: Mission Lab: The Noisy Factory. Compare two designs over five runs each. Offline: Hand out printed results for five runs of two designs (made up in class by rolling-number cards or written by the teacher beforehand and labelled as invented); pairs compute averages and ranges and choose.
  • Simulation OS: Sorting conveyor sensors. Optional: see how a conveyor's sorting accuracy changes with speed. Offline: Discuss with a sketch: if the belt runs twice as fast, what happens to the time a sensor has to decide?
  • Simulation OS: Design constraints and trade-offs. Optional: weigh criteria and watch the ranking change. Offline: Change the weights in the paper trade-off table and see whether the winner changes.

Student worksheet 22 · questions only

  1. 1. Record five runs for each design and compute the average and range.

    Table: Design · Runs · Average · Range (2 rows)

  2. 2. Design A averaged 91 with a range of 20. Design B averaged 89 with a range of 4. Which would you choose for a factory, and why?

    4 answer lines on the printout.

  3. 3. Write one honest limitation of your evidence.

    3 answer lines on the printout.

From the online lesson “A test plan that could prove you wrong”

  1. 4. A test matrix covers 4 objects, 2 pad materials and 2 lift accelerations. How many test cases are there?

  2. 5. A simulation test plan runs every combination of 2 loads and 4 speeds. 1 of the runs fail a requirement. What percentage of runs pass? (%)

Learners check these in the lesson, which marks them on our server: Lite version · full lesson.

From the online lesson “How fragile is your decision?”

  1. 6. Concept A scores 31 + 2w and concept B scores 26 + 5w, where w is the weight of one criterion. At what value of w are they equal?

  2. 7. Sweeping 'cost' from 0 to 5 never changes the winner. What does that mean?

    • Cost doesn't matter
    • The decision is robust to how much you value cost
    • The matrix is broken
    • Cost should be removed

Learners check these in the lesson, which marks them on our server: Lite version · full lesson.

Teacher solutions for this worksheet are on the protected educator page, not here.

Session 23 of 24 · Week 12 · 60 minutes

One shared screen

Project: build the smart junction

Objectives

  • Plan and build a junction controller from the skills of the course.
  • Write a test plan before testing.

Timing

Session 23 timing
MinPartWhat happens
10BriefIntroduce the project and the rubric; teams choose their success measures.
10Test planTeams write three tests that could prove their design wrong.
30BuildTeams adjust the junction in the Nexus project or the Overloaded City Mission Lab and record each change in a log.
10Save evidenceTeams record their best settings and the numbers that support them.

Differentiation

More support
Offer three ready-made tests to choose from; the team adds the pass condition.
Stretch
Make the design cope with both the morning and the evening rush and explain the compromise.
Language
Give a test-plan template with one row filled in as an example.

Discussion prompts

  • Which of your tests is most likely to fail, and why include it?
  • What did you choose not to optimise?

Activity · online-optional · 30 min

Junction build

Materials: none

  1. Open the smart junction project and run the starting design.
  2. Change one setting at a time and write each change and its result in the log.
  3. Run your three planned tests on your best design.
  4. Note any test that failed and what you changed because of it.

Activity · unplugged · 10 min

Test plan on paper

Materials: Paper, Pencils

  1. Write three tests: what you will do, what result would pass and what would fail.
  2. Include one test of a safety rule, such as never two greens at once.
  3. Swap with another team and ask them to find a gap in your plan.

Safety and supervision

  • Paper and pencils stay on the desks; hand sheets out rather than sliding them.
  • Paper edges can cut: hand sheets out rather than sliding them across desks.
  • Pencils are for writing and drawing only, never as levers, axles or pointers near faces.
  • A named adult from the host organisation supervises every session, follows that organisation's own safeguarding policy, and stays in the room throughout. No activity needs learners to go online alone, create an account or share personal information.

No computer

Run the project fully on paper with a state diagram, green times and hand-counted queues from printed arrival lists. It is a fair test of reasoning but slower, and teams try fewer designs.

No kit (paper and pencils only)

Already paper and pencils only.

Online lessons (optional)

Interactive laboratories and offline alternatives

  • Nexus project: Smart Transportation Junction. Teams build and test their junction design. Offline: Teams design the signal plan on paper with a state diagram and green times, then count queues by hand from a printed arrival list for two rush hours.
  • Mission Lab: Mission Lab: The Overloaded City. Optional: compare plans for a junction that jams in different directions. Offline: Use two printed arrival lists (morning and evening) and test the same paper signal plan on both.

Student worksheet 23 · questions only

  1. 1. Write your test plan.

    Table: Test · How · Pass if · Result (3 rows)

  2. 2. Write the one rule your junction must never break, and how you tested it.

    3 answer lines on the printout.

From the online lesson “Requirements two strangers would agree on”

  1. 3. Which statement is testable?

    • The arm must be precise
    • The arm must place its tip within 2 mm of the target in 9 out of 10 trials
    • The arm should be good quality
    • The arm must use a stepper motor
  2. 4. 'The greenhouse must use a fan.' What kind of statement is this?

    • A testable requirement
    • A preference
    • A solution in disguise
    • A constraint on cost

Learners check these in the lesson, which marks them on our server: Lite version · full lesson.

From the online lesson “A test plan that could prove you wrong”

  1. 5. A test matrix covers 4 objects, 2 pad materials and 2 lift accelerations. How many test cases are there?

  2. 6. A simulation test plan runs every combination of 2 loads and 4 speeds. 1 of the runs fail a requirement. What percentage of runs pass? (%)

Learners check these in the lesson, which marks them on our server: Lite version · full lesson.

Teacher solutions for this worksheet are on the protected educator page, not here.

Session 24 of 24 · Week 12 · 60 minutes

Computer optional

Project: test, document and present

Objectives

  • Present a design with evidence and an honest limit.
  • Write a README another team could follow.

Timing

Session 24 timing
MinPartWhat happens
10Final testsTeams rerun their tests on the final design and update the results.
15READMETeams write a one-page README: what it does, how to run it, what was tested, what is unknown.
25PresentationsEach team has three minutes plus questions; listeners use the feedback card.
10ReflectionWorksheet and a whole-group look back at the twelve weeks.

Differentiation

More support
Teams may present with a partner speaking and the other pointing to the evidence; offer a README template.
Stretch
Add a section to the README on how the design would need to change for a busier junction.
Language
Allow presentations in any language the group shares, with key numbers written up; give a sentence frame for each part.

Discussion prompts

  • Which team's evidence convinced you most, and why?
  • Where in your life could a small program save time or catch a mistake?

Activity · discussion · 25 min

Three-minute presentation

Materials: none

  1. State the problem and your success measure in one sentence.
  2. Show your best evidence: a number from your tests and how you got it.
  3. Say one thing that did not work and one thing you still do not know.
  4. Answer one question from the audience.

No computer

Everything is presented on paper; the optional live demo is simply skipped.

No kit (paper and pencils only)

Already paper and pencils only; a large sheet of paper replaces any poster board.

Online lessons (optional)

Interactive laboratories and offline alternatives

  • Nexus project: Smart Transportation Junction. Optional: show the final design live during the presentation. Offline: Present the state diagram and results table on a large sheet of paper instead.

Student worksheet 24 · questions only

  1. 1. Write the first three lines of your README: what the design does, who it is for, and how to try it.

    4 answer lines on the printout.

  2. 2. Which skill from this course did your project use most? Give one example from your project.

    3 answer lines on the printout.

  3. 3. What is one thing your evidence cannot show? How could you find out?

    3 answer lines on the printout.

From the online lesson “A README a stranger can follow”

  1. 4. Which instruction is best?

    • Set it up properly
    • Set the red threshold to 60 (slider under 'Colour')
    • Use the usual settings
    • Configure as needed
  2. 5. Why include a 'limits' section in a README?

    • To look modest
    • So readers don't trust the project for something it was never tested or modelled for
    • Because it's required by law
    • To make it longer

Learners check these in the lesson, which marks them on our server: Lite version · full lesson.

From the online lesson “Project: test it, show the evidence”

  1. 6. Which plan tests whether the outside temperature affects energy use fairly?

    • Change outside temperature only; keep the controller settings and noise the same
    • Change outside temperature and the band together to save time
    • Run once at −5 °C and guess
  2. 7. A PWM output switches between 0 V and 3.3 V with a duty cycle of 85%. What is the average voltage, in volts? (V)

Learners check these in the lesson, which marks them on our server: Lite version · full lesson.

Teacher solutions for this worksheet are on the protected educator page, not here.

Programme project

The smart junction

A crossroads jams every rush hour. Design a signal plan that moves more traffic while never breaking the safety rule, test it with a plan written in advance, and present the evidence and its limits.

Offline

Design the signal plan on paper as a state diagram with green times, then count queues by hand from printed arrival lists for a morning and an evening rush. Present with a results table on a large sheet.

Assessment rubrics

What secure looks like

Evidence of competency, not age. For feedback only: never grades, rankings or public lists of learners.

Coding sessions

Use for feedback on worksheets and coding work in sessions 3–20. Look at what a learner can do, never at speed or age.

Coding sessions
CriterionBeginningDevelopingSecureExcellent
Reading codeCan say what one line does with help.Traces a short program with some slips.Traces programs with variables, decisions and loops correctly.Predicts output before running and explains surprises.
Writing codeCopies a given program and runs it.Changes a given program to answer a what-if question.Writes a short program from a description, with clear names and units.Breaks a problem into functions and tests each one.
TestingRuns the program once.Tries a few values, mostly typical ones.Chooses boundary and unusual values on purpose.Writes tests before the code and explains what each would catch.
DebuggingNotices that something is wrong.Finds the line from a traceback.Fixes logic bugs by changing one thing at a time.Keeps a bug log and adds a test so the bug cannot return.

Smart junction project

Use in sessions 23 and 24 for the project and presentation.

Smart junction project
CriterionBeginningDevelopingSecureExcellent
Problem and measuresDescribes the junction problem in general terms.Names a success measure.States clear success measures and a safety rule before building.Explains trade-offs between the measures and who they affect.
Test plan and evidenceShows one result.Has tests, but some cannot fail.Runs planned tests that could fail and records results honestly.Uses several runs and spread to support the choice.
IterationKeeps the first design.Changes several things at once.Changes one setting at a time and logs each result.Explains why each change was tried and what it taught.
CommunicationShows the design without explanation.Explains what the design does.Presents evidence and one honest limitation; README can be followed.Answers questions with evidence and suggests next tests.

Interactive laboratories

Every interactive has a paper twin

All interactives run in the browser and are optional unless the session says it needs a computer.

Interactive laboratories and their offline alternatives
SessionKindInteractiveOffline alternative
1StudioCode LabWrite the three lines on the board and walk through them as a class, one line at a time.
2Equation LabEquation Lab: Functions and graphsDraw a quick graph of estimate versus measured value on the board.
2VideoA clever way to estimate enormous numbers - Michael MitchellEstimate how many sheets of paper would cover the classroom floor by first estimating one row.
3StudioCode LabPrint the session's programs and trace them by hand in a table: one row per line run, one column per variable, then write what is printed.
4StudioCode LabPrint the session's programs and trace them by hand in a table: one row per line run, one column per variable, then write what is printed.
5StudioCode LabPrint the session's programs and trace them by hand in a table: one row per line run, one column per variable, then write what is printed.
5Equation LabEquation Lab: Functions and graphsFill in a table of five inputs and outputs for the same formula and sketch the graph by hand.
6BuildEngineer an ElevatorLift a book with a string over a desk edge and compare the effort with lifting it directly.
6VideoThe Three Classes of Levers: An ExplanationFind three levers in the room and sort them into the three classes.
7Playground labRobotic kinematics labTurn the circles at a steady count and time the small one.
7VideoGears Explained - mechanical engineeringCount the teeth drawn on two paper gears and compare with your string results.
8StudioCode LabPrint the session's programs and trace them by hand in a table: one row per line run, one column per variable, then write what is printed.
9Simulation OSGreenhouse through a cold nightRepeat the line-up with a 'gap': heater on below 15, off above 18. What changes?
9VideoThermostats: Cooler than you think!Draw a thermometer on the board and mark where the class's chosen threshold sits.
10Mission LabMission Lab: The Unstable GreenhouseGive pairs a printed table of night temperatures; they apply the heater rule hour by hour on paper and count how often it switches.
10Simulation OSGreenhouse through a cold nightRepeat the paper table with every temperature lowered by 3 °C and compare.
11StudioCode LabPrint the session's programs and trace them by hand in a table: one row per line run, one column per variable, then write what is printed.
12Equation LabEquation Lab: Probability distributions and samplingMake a tally chart of the five learners' readings.
12VideoWhy Do Cameras Do This? | Rolling Shutter Explained - Smarter Every Day 172Draw a smooth curve and its 'staircase' version with steps of 1 unit.
13Playground labSensor fusion labThe paper moving average is the lab.
13Simulation OSTwo-sensor fusionAverage pairs of learners' readings.
13Build Night kitBuild Night: Understanding Sensor NoiseRun the paper filter on a second series.
13VideoDrone Control and the Complementary FilterAverage two learners' readings in the coarse-ruler data and see if it beats either alone.
13VideoWhy Use Kalman Filters? | Understanding Kalman Filters, Part 1Skip; it is an Innovator-level extension.
14StudioCode LabPrint the session's programs and trace them by hand in a table: one row per line run, one column per variable, then write what is printed.
15StudioCode LabPrint the four programs with their error messages; pairs mark the faulty line and write the fix, then trace it to check.
16Simulation OSTwo-link robot arm reachUse the floor grid and a string arm (next session).
16VideoCoordinate plane: graphing points | Geometry | 5th grade | Khan AcademyPlay 'grid battleships' in pairs with two paper grids.
17Nexus projectVirtual Robotic ArmDraw the reach circle of the string arm on the grid.
17Equation LabEquation Lab: Vectors: addition and the dot productDraw the arm as two arrows tip to tail.
17VideoHow Robots Use Maths to MoveTwo learners act as a two-joint arm with their forearms on the paper grid.
18StudioCode LabPrint the session's programs and trace them by hand in a table: one row per line run, one column per variable, then write what is printed.
18Simulation OSTraffic-light junction timingGive pairs a printed list of car arrivals per minute and let them count the queue by hand for two different green times.
19Playground labFeedback control labUse the human thermostat with 'add two coins when far below, one when close'.
19Build Night kitBuild Night: Design a Simulated Control SystemRun the human thermostat with three different targets.
19VideoCheese, Catastrophes, & Process Control: Crash Course Engineering #25Re-run the human thermostat with the Thermometer checking only every 30 seconds and compare.
20StudioCode LabPrint the session's programs and trace them by hand in a table: one row per line run, one column per variable, then write what is printed.
20Simulation OSPID step responseGive pairs a printed set of three response curves labelled only A, B and C; they decide which gain made each and why.
21Equation LabEquation Lab: Probability distributions and samplingCombine every group's results into one class dot plot.
21VideoMeasures of Spread: Crash Course Statistics #4Draw a dot plot of all groups' results on the board.
22Mission LabMission Lab: The Noisy FactoryHand out printed results for five runs of two designs (made up in class by rolling-number cards or written by the teacher beforehand and labelled as invented); pairs compute averages and ranges and choose.
22Simulation OSSorting conveyor sensorsDiscuss with a sketch: if the belt runs twice as fast, what happens to the time a sensor has to decide?
22Simulation OSDesign constraints and trade-offsChange the weights in the paper trade-off table and see whether the winner changes.
23Nexus projectSmart Transportation JunctionTeams design the signal plan on paper with a state diagram and green times, then count queues by hand from a printed arrival list for two rush hours.
23Mission LabMission Lab: The Overloaded CityUse two printed arrival lists (morning and evening) and test the same paper signal plan on both.
24Nexus projectSmart Transportation JunctionPresent the state diagram and results table on a large sheet of paper instead.

Accessibility guidance

Nobody left out

Low vision
The Code Lab follows the browser's zoom; increase it to 150–200 % and use a high-contrast theme if your system offers one. Print worksheets at A3 or in a large font, and read code aloud line by line during demos.
Hearing
Write every instruction and every demo step on the board as well as saying it. Use captions on any video, and agree a visual signal to stop and look at the front.
Movement and fine motor
Pair learners so one can dictate while the other types; keyboard-only use works in the Code Lab. Allow extra time for typing, and accept spoken or dictated worksheet answers.
Reading
Programs are short and use plain names. Give printed code with line numbers and enough space; read worksheet questions aloud on request; accept answers as diagrams or tables.
Language
Python keywords are English words: put if, else, while, for, def and return on a word wall with a picture and an example. Learners can comment their code in any language.
No internet
Coding sessions need the Code Lab, which needs a connection to load. Without internet, use the trace-table alternative in each session and the printed run results for the Mission Labs; say honestly that running code is the part that is lost.
One shared device
With one device for the group, project the Code Lab and let pairs take turns as the typist for two minutes each while the rest predict on paper. It is slower; drop one what-if question per session.

Supervision and safety

Required for every session

  • A named adult from the host organisation supervises every session, follows that organisation's own safeguarding policy, and stays in the room throughout. No activity needs learners to go online alone, create an account or share personal information.
  • Nothing electrical: no batteries, bulbs, wires, motors or mains devices in any activity. Circuits are role-played or drawn.
  • Learners use only the Tactiverge pages linked in each session; the adult agrees in advance which sites are open and follows the organisation's own internet-use policy.
  • No learner creates an account, shares personal information or contacts anyone online during the programme.
  • Take a screen break of a few minutes every 20–25 minutes of device use: stand up, stretch, look at something far away.
  • Keep device cables out of walkways and keep drinks away from devices.

Teacher solutions

Answers live behind a sign-in

Teacher solutions are not in this page, the printout or the offline file. Signed-in educators, instructors and administrators can open them on a protected page. They include model answers, marking notes and the answers to the online practice questions printed on each worksheet.

We do not count downloads, prints or page views as adoption. Verified adoptions will be shown only from adoption records that an organisation has confirmed and an administrator has checked; none are shown until that record system is live.

Small print

Free to use. Honest about the rest.

  • Free to use for education: teach from it, print it and copy it for your own learners.
  • A licence for redistribution has not yet been decided by the founders. Until it is, please share the link to this page rather than re-hosting or republishing copies.
  • Tactiverge is not an accredited school, and completing a pack is not a qualification.
  • Tactiverge has no institutional partners. Using a pack does not make your organisation a partner.
  • Content status: technically-checked (automated checks only). Written with AI assistance. No educator has reviewed these programmes yet, and none has been run with learners.
  • Where an activity really needs a computer, the session says so and gives the closest paper alternative, with what is lost.