Session 1 of 18 · Week 1 · 60 minutes
◐Computer optionalFrom the pack Build a computer from nothing, session 1. Starts the bottom layer: everything a computer does later is built from these two-state cards.
Objectives
- Explain that a bit is anything with two states.
- Work out how many different messages a few bits can carry.
Timing
Session 1 timing| Min | Part | What happens |
|---|
| 10 | Hook | Hold up one card face up, then face down. Ask: how many messages can one card send? |
| 20 | Card signals | Run the card-signals activity. |
| 15 | Analog or digital? | Sort examples: a dimmer switch, a light switch, a ramp, a staircase. |
| 10 | Worksheet | Questions 1–3. |
| 5 | Exit question | What is one thing in the room with exactly two states? |
Differentiation
- More support
- Use real cards on the desk and list patterns in a fixed order before writing them down.
- Stretch
- Ask for a rule for any number of cards, and how many cards are needed for every letter of the alphabet.
- Language
- Key words: pattern, up, down, analog, digital. Show a dimmer dial next to a light switch as pictures.
Discussion prompts
- What happens to the number of patterns each time you add a card?
- Why might engineers like things with only two states?
- Is a light dimmer analog or digital? Can it be made digital?
Activity · unplugged · 20 min
Materials: Paper
- Each pair gets three paper cards with one side marked.
- With one card, agree a code for 'yes' and 'no'.
- With two cards, list every possible pattern and give each a meaning.
- With three cards, predict how many patterns there are before listing them. Then check.
⚠ Safety and supervision
- Cards stay on the desk; no throwing to signal.
- 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 virtual-computer demo; finish with a class code where each two-card pattern means a classroom signal.
No kit (paper and pencils only)
Already paper only. Cards can be torn scrap paper marked U on one side.
Online lessons (optional)
Interactive laboratories and offline alternatives
- Build: Create a Virtual Computer. Show Level 1's switch panel to preview where the pack is going. Offline: Use the paper cards as 'switches' on a drawn panel.
- Video: Binary Numbers and Base Systems as Fast as Possible (Techquickie). Notice how place values work in base 10 and base 2. Offline: Write 345 on the board and ask what each digit is 'worth'. Then ask what a base with only two digits would look like.
1. List every pattern two cards can make (U = up, D = down) and give each a meaning.
Table: Card 1 · Card 2 · Meaning (4 rows)
2. How many patterns can three cards make? Explain how you know without listing them all.
3 answer lines on the printout.
3. Give one example of something analog and one of something digital. Say why.
3 answer lines on the printout.
From the online lesson “Bits: how much can two lights say?”
4. A machine sends messages using 6 on/off lights (6 bits). How many different patterns can it make?
5. A vending machine has 10 buttons. What is the smallest number of bits that can give each button its own pattern? (bits)
Learners check these in the lesson, which marks them on our server: Lite version · full lesson.
From the online lesson “Analog and digital: smooth worlds, stepped machines”
6. Which of these is analog?
- The number of people in a lift
- The water level in a tank
- Whether a door is open or shut
- The score in a football match
7. A sensor measures distances from 0 to 2 m in 200 equal steps. How big is each step, in centimetres? (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 2 of 18 · Week 1 · 60 minutes
◐Computer optionalFrom the pack Build a computer from nothing, session 2. Binary counting is used again in adders (sessions 6–7) and the processor (session 10); keep the place-value cards.
Objectives
- Count in binary using cards worth 1, 2, 4, 8 and 16.
- Convert small numbers between binary and decimal.
Timing
Session 2 timing| Min | Part | What happens |
|---|
| 5 | Hook | Can you show the number 13 with five cards and no digits? |
| 25 | Binary cards | Run the binary-cards activity. |
| 15 | Binary relay | Teams convert numbers called out by the teacher; each team checks another. |
| 10 | Worksheet | Questions 1–3. |
| 5 | Wrap-up | Why does each card double? |
Differentiation
- More support
- Write the card values (16, 8, 4, 2, 1) above the question so learners only decide up or down.
- Stretch
- Ask for the largest number five cards can show and what happens with a sixth card.
- Language
- Key words: binary, bit, place value, double. Compare with tens and units in ordinary numbers.
Discussion prompts
- Which card flips every time you count up by one?
- What is the biggest number five cards can show?
- Is there more than one way to show a number with these cards?
Activity · unplugged · 25 min
Materials: Paper, Pencils
- Each group makes five cards. Draw 1, 2, 4, 8 and 16 dots on them.
- Lay them in a row, biggest on the left. Face up = 1, face down = 0.
- Show 0, then count up one at a time. Notice which card flips most often.
- Show numbers the teacher calls out, then write the 0/1 pattern underneath.
⚠ Safety and supervision
- Groups work seated around one desk so cards are not dropped on the floor to trip over.
- 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 fully with paper binary cards; skip the virtual-computer link.
No kit (paper and pencils only)
Already paper and pencils only.
Online lessons (optional)
Interactive laboratories and offline alternatives
1. Write 10110 as a decimal number. Show which cards are face up.
3 answer lines on the printout.
2. Write 19 in binary using five cards.
2 answer lines on the printout.
3. Explain in your own words why the card values double.
3 answer lines on the printout.
From the online lesson “Counting with only 0 and 1”
4. What number is the binary pattern 1010 in ordinary (decimal) counting?
5. What comes next after 0111 in 4-bit binary?
Learners check these in the lesson, which marks them on our server: Lite version · full lesson.
From the online lesson “Converting: binary to decimal and back”
6. Write 7 in binary. Type just the 0s and 1s with no leading zeros (for example, six is 110).
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 18 · Week 2 · 60 minutes
◐Computer optionalFrom the pack Build a computer from nothing, session 3. Overflow returns in the ripple-carry adder and in signals (session 16), where numbers are rounded to fit.
Objectives
- Explain overflow when a number needs more bits than you have.
- Show how a picture can be stored as numbers.
Timing
Session 3 timing| Min | Part | What happens |
|---|
| 10 | Hook | With four cards, show the biggest number. Now add one. What happens? |
| 15 | Overflow | Pairs try adding one to the largest number for 3, 4 and 5 cards. |
| 20 | Pixel pictures | Run the pixel-picture activity. |
| 10 | Worksheet | Questions 1–3. |
| 5 | Exit question | Name a real machine that could suffer from overflow. |
Differentiation
- More support
- Give squared paper with a 5 × 5 grid already drawn and allow a 3 × 3 picture first.
- Stretch
- Ask how many bits a 5 × 5 picture with four colours needs in total, and with sixteen colours.
- Language
- Key words: pixel, bit, overflow, colour. Show a carry with real cards before writing it.
Discussion prompts
- What does overflow look like on a counter that only has four bits?
- How could you store a picture with more than two colours?
- Why do photos take up more storage than text?
Activity · unplugged · 20 min
Materials: Paper, Pencils
- Each learner draws an 8 × 8 grid.
- Secretly shade squares to make a simple picture.
- Write each row as eight 0s and 1s (shaded = 1).
- Swap only the numbers with a partner, who redraws the picture from them.
⚠ Safety and supervision
- Pencils for drawing 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 Silicon Studio; do the overflow with three paper cards and a 'carry' card that falls off the desk edge.
No kit (paper and pencils only)
Already paper and pencils only.
Online lessons (optional)
Interactive laboratories and offline alternatives
- Studio: Silicon Studio. Optional preview of how bits live in real chips. Offline: Draw the four-card counter on the board and step it past its limit.
- Video: Early Computing: Crash Course Computer Science #1 (CrashCourse). Notice how early machines stored numbers mechanically. Offline: Show overflow with a paper 'odometer' of three digit strips.
1. A counter has three bits and shows 111. What does it show after adding one? Explain.
3 answer lines on the printout.
2. Draw a 5 × 5 pixel picture and write the binary for each row beside it.
Drawing space on the printout.
3. How many bits would you need for each pixel if it could be one of four colours? Explain.
3 answer lines on the printout.
From the online lesson “Running out of bits: overflow”
4. A counter in a machine has 7 bits. Starting from 0, what is the biggest number it can show before it overflows?
5. An 8-bit counter holds 255 and you add 3. What does it show? (It wraps round after 255.)
Learners check these in the lesson, which marks them on our server: Lite version · full lesson.
From the online lesson “Pictures as numbers: pixels”
6. A tiny robot-eye camera takes pictures 10 pixels wide and 4 pixels tall. Each pixel uses 2 bits (4 possible shades). How many bits is one picture? (bits)
7. A tiny sensor image is 12 pixels wide and 10 pixels tall. How many pixels does it have? (pixels)
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 18 · Week 2 · 60 minutes
◐Computer optionalFrom the pack Build a computer from nothing, session 4. These gate cards are the building blocks for the interlock in session 5 and the adders in sessions 6–7.
Objectives
- Complete truth tables for AND, OR and NOT.
- Combine two gates and predict the output.
Timing
Session 4 timing| Min | Part | What happens |
|---|
| 10 | Hook | A door opens only if you have a key AND it is daytime. Is that a rule a machine could follow? |
| 25 | Human gates | Run the human logic gates role-play. |
| 10 | Truth tables | Each group writes the table for its gate. |
| 10 | Worksheet | Questions 1–3. |
| 5 | Wrap-up | Which gate is the 'strictest'? |
Differentiation
- More support
- Give tables with the A and B columns already filled in the standard order.
- Stretch
- Ask learners to build NOT (A AND B) from human gates and check it matches their table row by row.
- Language
- Gate words with pictures: AND (both hands up), OR (any hand up), NOT (flip the card). Key word: truth table.
Discussion prompts
- How many rows does a truth table need for two inputs? Why?
- Can you make OR from AND and NOT?
- Where might an AND gate keep someone safe?
Activity · role-play · 25 min
Materials: Paper
- Make cards: '1' on one side, '0' on the other. Two input learners each hold a card.
- The gate learner holds a rule card (AND, OR or NOT) and looks at the inputs.
- The gate learner raises their own card: 1 or 0, by the rule.
- Try every combination of inputs and record the output.
- Chain two gates: the output of an AND becomes an input to a NOT.
⚠ Safety and supervision
- Gates stand in place; inputs are shown by raising a card, never by tapping or pulling.
- 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
Run the human gates only and skip the logic playground; record outputs on a class truth table.
No kit (paper and pencils only)
Already paper only. Input cards can be any scrap paper marked 0 and 1.
Online lessons (optional)
Interactive laboratories and offline alternatives
1. Complete the truth table for OR.
Table: A · B · A OR B (4 rows)
2. Complete the truth table for NOT (A AND B).
Table: A · B · A AND B · NOT (A AND B) (4 rows)
3. Describe a safety rule that uses AND. Which inputs, which output?
3 answer lines on the printout.
From the online lesson “AND, OR, NOT: the three little deciders”
4. A NAND gate gets A = 0 and B = 1. What is its output (0 or 1)?
5. A microwave heats only if the door is shut and you pressed start. Which gate?
Learners check these in the lesson, which marks them on our server: Lite version · full lesson.
From the online lesson “Truth tables: checking every possibility”
6. Fill in the 4-row truth table for A XOR B (rows AB = 00, 01, 10, 11). How many rows give an output of 1?
7. Fill in the 4-row truth table for (NOT A) OR B (rows AB = 00, 01, 10, 11). How many rows give an output of 1?
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 18 · Week 3 · 60 minutes
▣One shared screenObjectives
- Combine AND, OR and NOT to describe a rule a machine must follow.
- Write the truth table for a two- or three-input safety interlock.
- Check a design by testing every row of its truth table.
Timing
Session 5 timing| Min | Part | What happens |
|---|
| 8 | Hook | A machine press must only move when the guard is closed AND both hands are on the buttons. How would a circuit know? |
| 22 | Paper interlock | Groups build the interlock from gate cards and test every combination. |
| 12 | Logic lab (shared screen) | Rebuild one group's design in the logic playground and test it row by row. |
| 10 | Worksheet | Questions 1–3. |
| 8 | Discussion and exit | Which row of the table matters most for safety? |
Differentiation
- More support
- Start with only two inputs (guard closed and one button) and a four-row table already drawn.
- Stretch
- Add a 'maintenance key' input that lets the press move slowly with the guard open, and decide whether that is safe.
- Language
- Pre-teach 'input', 'output', 'only if' and 'truth table'; show 1 as a tick and 0 as a cross alongside the numbers.
Discussion prompts
- Why do engineers test every row, not just the ones they expect?
- What should the machine do if one input card is missing, or unknown?
- Where else do you meet an 'only if all of these' rule?
Activity · unplugged · 22 min
Materials: Paper, Pencils
- Write three input cards: 'guard closed', 'left hand on button', 'right hand on button', each showing 0 or 1.
- Arrange AND, OR and NOT gate cards on the desk so the output card says 1 only when the press may move.
- Draw a truth table with every combination of the three inputs (eight rows).
- Test every row by flipping the input cards and following the gates to the output.
- Swap with another group and try to find a row where their press would move unsafely.
⚠ Safety and supervision
- Cards stay on the desks; this activity uses paper 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 projected logic lab; peer testing of the paper tables gives the same check. Nothing essential is lost.
No kit (paper and pencils only)
Already paper and pencils only.
Online lessons (optional)
Interactive laboratories and offline alternatives
- Playground lab: Digital logic lab. Rebuild the interlock with gates on a projected screen and flip each input to check the output. Offline: Groups swap paper designs and test each other's truth tables row by row, marking any row that looks unsafe.
- Studio: Electronics Studio. Optional: show how a simple logic circuit is drawn and simulated in the browser (no real parts). Offline: Draw the interlock as a labelled gate diagram on paper, with inputs on the left and the output on the right.
1. Complete the truth table for a two-input AND gate.
Table: Input A · Input B · Output (4 rows)
2. Draw your press interlock using gate shapes. Label every input and the output.
Drawing space on the printout.
3. How many rows does a truth table with three inputs need? Explain how you know.
3 answer lines on the printout.
From the online lesson “Gates at work: safety interlocks and sorting rules”
4. Using the sorter's rules (metal first, then large → reject, then red → red plastic, else mixed), where does a small, red, metal part go?
- Red plastic
- Metal
- Reject
- Mixed
5. A press needs: guard down AND left button AND right button AND foot pedal. Of all 16 possible combinations of these four signals, how many let it run?
Learners check these in the lesson, which marks them on our server: Lite version · full lesson.
From the online lesson “Logic gates and truth tables”
6. When does A XOR B output 1?
- When both inputs are 1
- When the inputs are different
- When at least one input is 1
7. With A = 0, B = 1 and C = 0, what is Y = ¬A ⊕ C? Answer 0 or 1.
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 18 · Week 3 · 60 minutes
◐Computer optionalFrom the pack Build a computer from nothing, session 5. Gates now do arithmetic: connect the half adder to the binary counting of session 2.
Objectives
- Explain a half adder with two gates.
- Add two one-bit numbers with sum and carry.
Timing
Session 6 timing| Min | Part | What happens |
|---|
| 10 | Hook | In binary, what is 1 + 1? Why do we need two digits? |
| 25 | Human half adder | Run the human half adder. |
| 10 | Full adder idea | Add a third input: the carry from the right. |
| 10 | Worksheet | Questions 1–3. |
| 5 | Exit question | Which gate makes the carry? |
Differentiation
- More support
- Let learners add each row with counters on the desk before writing sum and carry.
- Stretch
- Ask how a full adder could be built from two half adders and an OR gate, as a drawing.
- Language
- Key words: sum, carry, input, output. Link carry to 'carry the one' in column addition.
Discussion prompts
- Why is 'exactly one' the right rule for the sum?
- What extra input does a full adder need?
- How is this like carrying in ordinary addition?
Activity · role-play · 25 min
Materials: Paper
- Two input learners (A and B) hold 0/1 cards.
- One gate learner is an XOR ('exactly one') and shows the Sum.
- One gate learner is an AND and shows the Carry.
- Run all four input combinations; a recorder writes Sum and Carry.
⚠ Safety and supervision
- Everyone stays in a marked spot; cards are passed hand to hand, not thrown.
- 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 adder simulation; the human half adder and the class truth table are the whole session.
No kit (paper and pencils only)
Already paper only: nothing to swap.
Online lessons (optional)
Interactive laboratories and offline alternatives
1. Record the half adder.
Table: A · B · Sum · Carry (4 rows)
2. Explain why the carry is an AND.
3 answer lines on the printout.
3. A full adder has three inputs. How many rows does its truth table need? Explain.
3 answer lines on the printout.
From the online lesson “Half adders and full adders”
4. A half adder is built from…
- Two ANDs
- An XOR for the sum and an AND for the carry
- An OR for the sum and a NOT for the carry
5. For a full adder with A = 1, B = 1, Cin = 1, read Cout S as a 2-bit binary number. What is its value in decimal?
Learners check these in the lesson, which marks them on our server: Lite version · full lesson.
From the online lesson “Logic gates and truth tables”
6. When does A XOR B output 1?
- When both inputs are 1
- When the inputs are different
- When at least one input is 1
7. With A = 0, B = 1 and C = 0, what is Y = ¬A ⊕ C? Answer 0 or 1.
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 18 · Week 4 · 60 minutes
◐Computer optionalFrom the pack Build a computer from nothing, session 6. The ripple delay seen here is the first hint of why processors care about speed (sessions 11–13).
Objectives
- Chain adders to add multi-bit numbers.
- Explain why the carry 'ripples' and why that takes time.
Timing
Session 7 timing| Min | Part | What happens |
|---|
| 5 | Hook | Can a line of classmates add 0110 and 0011? |
| 30 | Ripple line | Run the ripple-carry line. |
| 10 | Hexadecimal | Group four bits into one hex digit on the board. |
| 10 | Worksheet | Questions 1–3. |
| 5 | Exit question | What slows a long adder down? |
Differentiation
- More support
- Give the column addition grid with a carry row above it.
- Stretch
- Ask for a pair of 4-bit numbers whose sum does not fit in 4 bits, and what the line of adders shows.
- Language
- Key words: ripple, carry, worst case, hexadecimal. Show 4 bits as one hex digit on a wall chart.
Discussion prompts
- Why must the leftmost adder wait?
- What would happen with 64 adders in a line?
- Can you think of a way to work out carries faster?
Activity · role-play · 30 min
Materials: Paper
- Four learners stand in a line, each a full adder for one bit, rightmost bit first.
- Each adder gets its two input bits on cards, and a carry note from the right.
- Each adder writes its Sum and passes a Carry note left, one at a time.
- Clap once per hand-over to 'time' the adder. Count the claps.
⚠ Safety and supervision
- Hand carry notes to the neighbour; nobody leaves the line or reaches across others.
- 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 online adder challenge; time the human ripple line with a clap count instead.
No kit (paper and pencils only)
Already paper only: nothing to swap.
Online lessons (optional)
Interactive laboratories and offline alternatives
1. Add 0101 and 0011 in binary. Show every carry.
4 answer lines on the printout.
2. How many claps (hand-overs) does a 4-bit ripple adder need in the worst case? Explain.
3 answer lines on the printout.
3. Why do engineers group binary digits in fours?
2 answer lines on the printout.
From the online lesson “Multi-bit addition and the ripple-carry adder”
4. Add 0110 + 0111 (4-bit). Give the result as a decimal number.
5. An unsigned 4-bit register adds 1101 + 0100. What value does the register hold afterwards, in decimal? (Any carry out of the top bit is lost.)
Learners check these in the lesson, which marks them on our server: Lite version · full lesson.
From the online lesson “Binary and hexadecimal”
6. What is binary 1011 in decimal?
7. What is the binary number 11010011 in decimal?
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 18 · Week 4 · 60 minutes
◐Computer optionalFrom the pack Build a computer from nothing, session 7. Memory and states lead straight into session 9's state machine; keep the state cards.
Objectives
- Describe a memory cell that holds one bit.
- Draw a simple state machine with states and transitions.
Timing
Session 8 timing| Min | Part | What happens |
|---|
| 10 | Hook | A traffic light knows what comes next. Where is that knowledge kept? |
| 20 | Paper memory cell | Run the paper memory-cell role-play. |
| 15 | Traffic-light states | Groups draw a state diagram for a traffic light. |
| 10 | Worksheet | Questions 1–3. |
| 5 | Exit question | What is the difference between a gate and memory? |
Differentiation
- More support
- Give a state diagram with the circles drawn; learners add arrows and event labels.
- Stretch
- Add a pedestrian button and a night mode to the traffic light, and check every state still has a way out.
- Language
- Key words: state, event, transition, memory. Starter: 'When … happens, it changes from … to …'.
Discussion prompts
- Why does a computer need memory and not only gates?
- What would a traffic light do without memory?
- What makes a state machine 'complete'?
Activity · role-play · 20 min
Materials: Paper
- The Cell learner holds one card showing the stored bit.
- A Writer may show 'SET' or 'RESET'. The Cell changes only when told.
- Readers ask 'what is stored?' at any time; the Cell answers without changing.
- Run a sequence of SET, read, read, RESET, read. Record what each read returned.
⚠ Safety and supervision
- Seated role-play; cards are held up, not waved near faces.
- 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 traffic-system build; act the traffic light with three learners holding red, amber and green paper.
No kit (paper and pencils only)
Already paper only: nothing to swap.
Online lessons (optional)
Interactive laboratories and offline alternatives
1. Record your memory-cell run.
Table: Step · Command · Stored bit after (5 rows)
2. Draw a state diagram for a traffic light: circles for states, arrows for transitions, labels for events.
Drawing space on the printout.
3. Explain the difference between a gate's output and a memory cell's stored bit.
3 answer lines on the printout.
From the online lesson “Machines that remember: states and sequences”
4. Which of these is a STATE of a washing machine?
- Pressing the start button
- Spinning
- The drum
- Water
5. A robot has 6 behaviour states. What is the fewest number of bits needed to remember which state it is in? (bits)
Learners check these in the lesson, which marks them on our server: Lite version · full lesson.
From the online lesson “States, events and transitions”
6. 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 2 and event 0 happens. What state number comes next? (state)
7. 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.
Teacher solutions for this worksheet are on the protected educator page, not here.
Session 9 of 18 · Week 5 · 60 minutes
◐Computer optionalObjectives
- Describe a traffic junction as states, events and transitions.
- Check that every state has a way out and no unsafe state can be reached.
- Test a state machine by following every arrow.
Timing
Session 9 timing| Min | Part | What happens |
|---|
| 7 | Hook | Could a set of traffic lights ever show green both ways? What stops it? |
| 23 | State cards | Groups lay out state cards and arrow cards for a two-road junction and walk through events. |
| 12 | Traffic build (shared screen) | Show the traffic system build and compare its states with the groups' diagrams. |
| 10 | Worksheet | Questions 1–3. |
| 8 | Discussion and exit | What would a pedestrian button add? |
Differentiation
- More support
- Give a partly drawn diagram with the states placed; learners add the arrows and events.
- Stretch
- Add a fault event ('bulb failure') and design a safe flashing state the junction goes to.
- Language
- Pre-teach 'state', 'event' and 'transition' with the traffic-light picture; colour words alongside each card.
Discussion prompts
- Why do real junctions include an 'all red' state?
- What happens if a state has no arrow out of it?
- How would you test a state machine you cannot see inside?
Activity · unplugged · 23 min
Materials: Paper, Pencils
- Write one card per state: 'North green', 'North amber', 'All red', 'East green', 'East amber'.
- Lay the cards in a loop and draw an arrow card between them labelled with the event that causes it, such as 'timer ends'.
- One learner calls out events while another moves a pencil token from state to state.
- Check every state: does it have an arrow out? Could the token ever reach green on both roads?
- Add a 'pedestrian button' event and decide which state it should lead to.
⚠ Safety and supervision
- Paper and pencils only; tokens stay on the desk.
- 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 card walk-through and peer testing only; the projected build is an optional comparison.
No kit (paper and pencils only)
Already paper and pencils only.
Online lessons (optional)
Interactive laboratories and offline alternatives
- Build: Build a Traffic Management System. Projected: step through the traffic system and compare its states and timings with the paper diagram. Offline: Groups swap state diagrams and try to find a sequence of events that breaks the other group's junction.
1. Draw your junction's state diagram. Label every state and every arrow with its event.
Drawing space on the printout.
2. Explain why your design can never show green on both roads at once.
3 answer lines on the printout.
3. You add a pedestrian button. Which state should pressing it lead to, and why?
3 answer lines on the printout.
From the online lesson “States, events and transitions”
4. 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 2 and event 0 happens. What state number comes next? (state)
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 “Machines that remember: states and sequences”
6. Which of these is a STATE of a washing machine?
- Pressing the start button
- Spinning
- The drum
- Water
7. A robot has 6 behaviour states. What is the fewest number of bits needed to remember which state it is in? (bits)
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 18 · Week 5 · 60 minutes
◐Computer optionalFrom the pack Build a computer from nothing, session 8. The human processor is the machine that sessions 11–13 then speed up; time one full instruction so you can compare later.
Objectives
- Trace a short program through fetch, decode and execute.
- Explain what a clock does in a processor.
Timing
Session 10 timing| Min | Part | What happens |
|---|
| 10 | Brief | Introduce the human processor and its program cards. |
| 30 | Run the processor | Run the human-processor role-play; then groups write their own three-line program. |
| 15 | Design challenge | Start the pack challenge. |
| 5 | Reflect | Worksheet question 3. |
Differentiation
- More support
- Give a three-card program to trace first, then let learners change one card.
- Stretch
- Ask for a program that uses a jump or repeat card, and a trace of at least six claps.
- Language
- Key words: fetch, instruction, register, clock. Each role wears a labelled paper badge.
Discussion prompts
- Why does the processor need a clock?
- What would happen if the Program Counter skipped a card?
- Which part of the processor did we build in earlier sessions?
Activity · role-play · 30 min
Materials: Paper, Pencils
- Roles: Clock (claps), Program Counter (points at the next card), Decoder (reads the card), ALU (does the sum), Register (holds a number on paper).
- Program cards: LOAD 3, ADD 2, ADD 4, SHOW.
- On each clap: fetch the card, decode it, execute it. The Program Counter moves on.
- After SHOW, check the Register against the class's own sum.
- Groups write their own three-line program and run it.
⚠ Safety and supervision
- Roles stay seated in a row; the Program Counter points, never touches.
- 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.
- 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 Nexus project and Build Night links; the human processor run is the whole outcome.
No kit (paper and pencils only)
Already paper and pencils only.
Online lessons (optional)
Interactive laboratories and offline alternatives
1. Trace your group's program, one clap per row.
Table: Clap · Card fetched · What it does · Register after (5 rows)
2. Write a three-card program that ends with SHOW. What should the Register show?
4 answer lines on the printout.
3. Which parts of the human processor did we build in sessions 4–7?
3 answer lines on the printout.
From the online lesson “Counting in nanoseconds”
4. A microcontroller's clock runs at 100 MHz. How long is one clock period, in nanoseconds? (ns)
5. A 16 MHz microcontroller needs about 4 clock cycles per instruction on average. Roughly how many instructions can it run in 1 ms? (instructions)
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 18 · Week 6 · 60 minutes
●Needs a computerObjectives
- Explain how splitting work into stages lets several instructions be in progress at once.
- Count the cycles a short program takes with and without a pipeline.
- Describe a stall: when one instruction must wait for another's result.
Timing
Session 11 timing| Min | Part | What happens |
|---|
| 7 | Hook | Four people make sandwiches. Is it faster if each makes a whole sandwich, or if each does one step? |
| 18 | Paper assembly line | Groups run the four-stage card pipeline and count rounds. |
| 17 | Pipeline simulation (device per pair) | Pairs run the pipeline throughput simulation with a short program and record cycle counts. |
| 10 | Worksheet | Questions 1–3. |
| 8 | Discussion and exit | When does the assembly line have to wait? |
Differentiation
- More support
- Use three stages and four cards, with a ready-made grid to fill in round by round.
- Stretch
- Find a formula for the rounds needed by n instructions in a k-stage pipeline with no stalls, and test it with the simulation.
- Language
- Pre-teach 'stage', 'round', 'stall' with the sandwich picture; stage names on large labels in front of each learner.
Discussion prompts
- Does pipelining make one instruction faster, or the whole program faster?
- Why does an instruction that needs the previous result cause a stall?
- What would happen with ten stages instead of four?
Activity · role-play · 18 min
Materials: Paper, Pencils
- Four learners sit in a row as stages: Fetch, Decode, Execute and Write back; each has a pencil.
- Prepare six instruction cards. In the first run, one card must pass through all four stages before the next card may start.
- Count the rounds (one round = every stage does one step) needed for all six cards.
- In the second run, pass each card on as soon as a stage finishes, so several cards are in the row at once, and count again.
- Add a card that needs the answer of the card in front: it must wait one round. Count again and mark the 'bubble'.
⚠ Safety and supervision
- Learners stay seated and pass cards hand to hand; nobody needs to move 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.
- 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
Without a computer, run the card pipeline twice (with and without dependent cards) and fill the stage grid. Learners lose the simulation's measured cycle counts for a real instruction set, which needs a device per pair.
No kit (paper and pencils only)
Already paper and pencils only.
Online lessons (optional)
Interactive laboratories and offline alternatives
- Simulation OS: Pipeline throughput vs hazard rate. Pairs run a short program with and without the pipeline and record the cycle counts and any stalls. Offline: Repeat the card pipeline with eight cards and two dependent cards, and record the rounds in a table.
- Studio: Silicon Studio. Optional: watch a program step through the processor's stages in Silicon Studio. Offline: Draw a grid with stages across and rounds down, and write each card's letter where it sits in each round.
1. Record the rounds your group needed.
Table: Run · Cards · Rounds (3 rows)
2. Six instructions go through a four-stage pipeline with no stalls. How many rounds does it take? Show how you worked it out.
4 answer lines on the printout.
3. Explain in your own words what a stall is and why it happens.
3 answer lines on the printout.
From the online lesson “Tracing a program, counting cycles”
4. A straight-line program executes 6 instructions on a machine that takes 3 cycles per instruction. How many cycles? (cycles)
5. In the Nibble machine, which instruction does NOT change the Z flag?
- LOAD
- ADD
- STORE
- All of them change it
Learners check these in the lesson, which marks them on our server: Lite version · full lesson.
From the online lesson “Pipelining: an assembly line for instructions”
6. 127 instructions run on a 4-stage pipeline. Hazards insert 6 stall cycles in total. How many clock cycles until the last instruction completes? (cycles)
7. A single-cycle datapath has a 5 ns cycle. It is split into 10 equal stages, each adding 0.1 ns of register (latch) overhead. What is the speed-up for 100 instructions with no stalls? (×)
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 18 · Week 6 · 60 minutes
▣One shared screenObjectives
- Explain why fetching from a small, near memory is faster than from a large, far one.
- Count hits and misses for a sequence of requests.
- Explain why programs that reuse nearby data run faster.
Timing
Session 12 timing| Min | Part | What happens |
|---|
| 7 | Hook | Why do you keep your pencil on your desk rather than in the cupboard across the room? |
| 20 | Desk and cupboard game | Groups play the cache game and count hits and misses. |
| 13 | Cache simulation (shared screen) | Run the cache hit-rate simulation with two access patterns and compare. |
| 12 | Worksheet | Questions 1–3. |
| 8 | Discussion and exit | What makes a cache miss? |
Differentiation
- More support
- Use a desk of two slips and a short list of five requests, with a tally chart ready.
- Stretch
- Work out the average time per request for one of the lists, using 1 ns for a hit and 100 ns for a miss.
- Language
- Pre-teach 'hit', 'miss' and 'near or far' with the desk-and-cupboard picture.
Discussion prompts
- Why did the first list give more hits than the second?
- Would a bigger desk always help? What does it cost?
- How could a programmer arrange data to get more hits?
Activity · unplugged · 20 min
Materials: Paper, Pencils
- Write the numbers 1 to 12 on paper slips: these are memory boxes, kept in a 'cupboard' pile at the end of the table.
- The desk (the cache) holds only three slips at a time.
- A caller reads a list of requests such as 3, 4, 3, 5, 3, 9, 4. If the slip is on the desk it is a hit; if not, fetch it from the cupboard (a miss) and put back the slip used longest ago.
- Tally hits and misses for the list.
- Repeat with a list that jumps around (1, 9, 5, 12, 2, 7, 11) and compare the tallies.
⚠ Safety and supervision
- Slips stay on the table; walk calmly to the cupboard pile.
- 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 desk game with two desk sizes; the projected simulation is a confirmation, so little is lost.
No kit (paper and pencils only)
Already paper and pencils only.
Online lessons (optional)
Interactive laboratories and offline alternatives
- Simulation OS: Cache hit rate vs size and associativity. Projected: compare the hit rate for a looping access pattern and a random one, and change the cache size. Offline: Play the desk game again with a desk of five slips and compare the tallies with the three-slip desk.
1. Record the hits and misses for each list your group played.
Table: List · Hits · Misses · Hit rate (3 rows)
2. A cache answers in 1 ns and main memory in 100 ns. Explain why even a few misses can slow a program down a lot.
4 answer lines on the printout.
3. Which program will usually get more cache hits?
- One that reads the same few values again and again
- One that reads a different far-away value every time
- Both the same
From the online lesson “Locality and the memory hierarchy”
4. A filter applies the same 5 coefficients to every sample. Which locality do the coefficients show?
- Temporal
- Spatial only
- Neither
- Only compulsory misses
5. A loop reads 256 consecutive 4-byte floats into an empty cache with 64-byte blocks. How many misses? (misses)
Learners check these in the lesson, which marks them on our server: Lite version · full lesson.
From the online lesson “Average memory access time”
6. A cache has a hit time of 3 cycles, a miss rate of 1% and a miss penalty of 100 cycles. What is the AMAT in cycles? (cycles)
7. L1: hit time 1 cycles, miss rate 10%. L2: hit time 8 cycles, local miss rate 10%. Main memory: 300 cycles. What is the AMAT in cycles? (cycles)
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 18 · Week 7 · 60 minutes
●Needs a computerObjectives
- Find wasted steps in a correct but slow program.
- Measure a speed-up by counting cycles before and after a change.
- Keep the program correct while making it faster.
Timing
Session 13 timing| Min | Part | What happens |
|---|
| 7 | Hook | A program gives the right answer. Can it still be badly written? |
| 13 | Paper trace | Pairs trace the slow multiply loop on paper and mark steps that do nothing useful. |
| 22 | Mission Lab (device per pair) | Pairs run level 1, remove one wasted step at a time and record the cycle count. |
| 10 | Worksheet | Questions 1–3. |
| 8 | Share and exit | Which change saved the most? |
Differentiation
- More support
- Give the trace with the box values for the first two passes filled in; learners finish it and look for repeats.
- Stretch
- Try level 2 and explain how putting the smaller number in the loop counter changes the cycle count.
- Language
- Pre-teach 'cycle', 'loop' and 'wasted step'; a worked example of one traced line on the board.
Discussion prompts
- How do you know your faster program is still correct?
- Is the fastest program always the best one to keep?
- Why does the number of times round the loop matter more than any single line?
Activity · unplugged · 13 min
Materials: Paper, Pencils
- Copy the facilitator's printed loop: it multiplies two numbers by adding one of them again and again.
- Trace it by hand for 3 × 2, writing the value of each box after every line.
- Put a cross next to any line whose result is never used or simply repeats work already done.
- Count how many lines run in total, then how many would run without the crossed lines.
⚠ Safety and supervision
- Paper and pencils 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
Without a computer, the paper trace and line count carry the main idea. What is lost is running the real program on the cycle stepper, which needs a device per pair; describe the Mission Lab and its levels instead.
No kit (paper and pencils only)
Already paper and pencils only.
Online lessons (optional)
Interactive laboratories and offline alternatives
- Mission Lab: Mission Lab: The Computer That Wastes Time. Pairs work through level 1 (and level 2 if time allows), testing after every change and recording the cycles used. Offline: Use the paper trace: count lines run before and after removing the crossed lines, and check by hand that 3 × 2 still gives the right result.
1. Record each change you made and the cycle count after it.
Table: Change · Cycles · Still correct? (4 rows)
2. Which change saved the most cycles? Explain why it saved so many.
3 answer lines on the printout.
3. How did you check the program still gave the right answer after each change?
3 answer lines on the printout.
From the online lesson “Tracing a program, counting cycles”
4. A straight-line program executes 6 instructions on a machine that takes 3 cycles per instruction. How many cycles? (cycles)
5. In the Nibble machine, which instruction does NOT change the Z flag?
- LOAD
- ADD
- STORE
- All of them change it
Learners check these in the lesson, which marks them on our server: Lite version · full lesson.
From the online lesson “Project: then speed it up”
6. Setup 1 instruction, loop of 7 instructions run 10 times. A change cuts the loop to 4. Speed-up (2 decimal places)? (×)
7. As the loop count grows very large, the speed-up from shrinking the body from b to b' approaches…
- 1
- b/b'
- b − b'
- The setup cost
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 18 · Week 7 · 60 minutes
◐Computer optionalFrom the pack Signals in a noisy world, session 1. The machine now meets the outside world: real signals must become the stored numbers learners have been working with.
Objectives
- Tell continuous from discrete signals.
- Turn a changing quantity into a table of samples.
Timing
Session 14 timing| Min | Part | What happens |
|---|
| 10 | Hook | Sketch your day's mood as a line. Now record it only at 9:00, 12:00 and 15:00. What did you lose? |
| 20 | Human wave | Run the human wave sampling activity. |
| 15 | Plot it | Plot the samples on paper and join the dots. |
| 10 | Worksheet | Questions 1–3. |
| 5 | Exit question | Name a signal in your home. |
Differentiation
- More support
- Give axes already drawn and labelled, and plot the slow table together first.
- Stretch
- Ask what clap rate would be the slowest that still shows the wave's shape.
- Language
- Key words: signal, sample, continuous, discrete. Show a smooth line and a dotted line side by side.
Discussion prompts
- Which table describes the wave better? Why?
- Is there a sample rate that is 'enough'?
- What happens between samples?
Activity · role-play · 20 min
Materials: Paper, Pencils
- Learners stand in a line and make a slow 'wave' by raising and lowering one arm in turn.
- Recorders note the height (low, middle, high = 0, 1, 2) of one chosen learner on every clap.
- Repeat with claps twice as fast.
- Compare the two tables.
⚠ Safety and supervision
- Leave an arm's length between learners. Arms move slowly; nobody needs to jump.
- 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.
- 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 Build Night link; the human wave and paper plots are the whole session.
No kit (paper and pencils only)
Already paper and pencils only.
Online lessons (optional)
Interactive laboratories and offline alternatives
1. Record your samples at the slow clap rate.
Table: Clap · Height (0–2) (8 rows)
2. Plot both sample tables on the same axes. Use a different symbol for each.
Drawing space on the printout.
3. Explain the difference between a continuous signal and a sampled one.
3 answer lines on the printout.
From the online lesson “Signals: smooth waves and stored numbers”
4. One full cycle of a signal takes 1 ms. What is its frequency, in hertz? (Hz)
5. A signal has a frequency of 440 Hz. What is its period, in milliseconds? (ms)
Learners check these in the lesson, which marks them on our server: Lite version · full lesson.
From the online lesson “Analog and digital: smooth worlds, stepped machines”
6. Which of these is analog?
- The number of people in a lift
- The water level in a tank
- Whether a door is open or shut
- The score in a football match
7. A sensor measures distances from 0 to 2 m in 200 equal steps. How big is each step, in centimetres? (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 15 of 18 · Week 8 · 60 minutes
◐Computer optionalFrom the pack Signals in a noisy world, session 2. Sampling links to the clock: a processor can only look at the world between ticks.
Objectives
- Explain aliasing.
- Choose a sample rate that captures a signal.
Timing
Session 15 timing| Min | Part | What happens |
|---|
| 10 | Hook | Why do car wheels sometimes seem to spin backwards on video? |
| 25 | Blink sampling | Run the blink-sampling role-play. |
| 10 | Find the rule | How many samples per lap stop the illusion? |
| 10 | Worksheet | Questions 1–3. |
| 5 | Exit question | What would you tell an engineer choosing a sample rate? |
Differentiation
- More support
- Move a counter round eight numbered squares on paper while a partner calls the samples.
- Stretch
- Ask which sample gaps make the Walker seem to stand still, and why.
- Language
- Key words: sample, frame rate, aliasing, cycle. Show a wagon wheel picture as a visual.
Discussion prompts
- Why did sampling every 7 claps look like going backwards?
- What is the slowest sample rate that still shows the true direction?
- Where could aliasing cause a real machine to make a bad decision?
Activity · role-play · 25 min
Materials: Paper
- Mark a large circle with eight paper 'clock positions' on the floor. The Walker walks steadily round it, one position per clap.
- Observers sit facing the circle with eyes closed and open them only on the teacher's signal, then note the Walker's position.
- Signal every 2 claps, then every 7 claps, then every 9 claps.
- Plot the noted positions. Which runs look like the Walker going backwards or standing still?
⚠ Safety and supervision
- The Walker walks (never runs) on a cleared circle. Observers stay seated, so closing their eyes is safe.
- 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 range-sensor simulation; blink sampling and the paper replay are the whole session.
No kit (paper and pencils only)
Already paper only: nothing to swap.
Online lessons (optional)
Interactive laboratories and offline alternatives
- Simulation OS: Repeated distance measurements. Optional: repeated distance measurements on a projected screen. Offline: Run blink sampling at every 3 claps and predict before you look.
- Video: Why do car wheels spin backwards on video? (Javier Mota). Compare the wagon-wheel effect with the blink run. Offline: Repeat blink sampling with the Walker going the other way.
1. Record the Walker's positions for the every-7-claps run.
Table: Sample · Position (1–8) (6 rows)
2. Explain why that run made the Walker seem to go backwards.
3 answer lines on the printout.
3. A fan blade spins 10 times a second. Explain how you would choose a camera frame rate that shows it truly.
3 answer lines on the printout.
From the online lesson “Sampling: how often is often enough?”
4. You sample a 1 Hz signal at 10 Hz. How many samples land in each cycle of the signal? (samples)
5. A data logger samples at 1000 Hz for 2 s. How many samples does it record? (samples)
Learners check these in the lesson, which marks them on our server: Lite version · full lesson.
From the online lesson “Aliasing: when samples tell lies”
6. A 70 Hz signal is sampled at 50 Hz. What is the alias frequency, in Hz? (Hz)
7. A 46 Hz vibration is sampled at 20 Hz with no anti-aliasing filter. At what frequency does it appear in the samples, in Hz? (Hz)
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 18 · Week 8 · 60 minutes
◐Computer optionalFrom the pack Signals in a noisy world, session 3. Rounding is overflow's cousin from session 3: a fixed number of bits can only store so many levels.
Objectives
- Describe quantisation as rounding to steps.
- Tell quantisation from random noise.
Timing
Session 16 timing| Min | Part | What happens |
|---|
| 5 | Hook | A ruler marked only every 5 cm: how tall is your pencil? |
| 25 | Coarse rulers | Run the coarse-ruler activity. |
| 15 | Noise or steps? | Compare jitter between learners with rounding from the ruler. |
| 10 | Worksheet | Questions 1–3. |
| 5 | Wrap-up | Which 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
Materials: Paper, Pencils
- Make three paper rulers: marks every 5 cm, every 1 cm, and every 'half-fold' of a strip.
- Measure five objects with each ruler, rounding to the nearest mark.
- 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
1. Record one object with all three rulers.
Table: Ruler · Reading · Biggest possible rounding error (3 rows)
2. Explain the difference between quantisation and noise using today's results.
4 answer lines on the printout.
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”
4. What voltage does one step (1 LSB) of a 10-bit ADC with a 3.3 V reference represent, in millivolts? (mV)
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”
6. A light sensor's readings jump every time a nearby motor starts. The most likely source is…
- thermal noise
- electrical interference
- quantisation
- bias
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 17 of 18 · Week 9 · 60 minutes
◐Computer optionalFrom the pack Signals in a noisy world, session 4. Filters complete the signals unit and give learners a tool to use in the final project.
Objectives
- Apply a moving average by hand.
- Explain the trade-off between smoothness and lag.
Timing
Session 17 timing| Min | Part | What happens |
|---|
| 10 | Hook | A jittery thermometer: how do you see the real trend? |
| 25 | Paper filter | Run the paper moving-average activity. |
| 10 | Bigger window | Repeat with a window of 5 and compare. |
| 10 | Worksheet | Questions 1–3. |
| 5 | Reflect | When 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
Materials: Paper, Pencils
- The teacher writes a noisy temperature series on the board (12 values with one sudden jump halfway).
- Make a window: fold a paper strip so that it shows three values at a time.
- Slide the window along; for each position write the average of the three values.
- 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
1. Explain how a 3-value moving average is calculated, with one example from today.
3 answer lines on the printout.
2. Compare the 3-value and 5-value filters: which is smoother, which is quicker to react?
3 answer lines on the printout.
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”
4. Readings 4, 8, 6, 10. What does a k = 2 moving average output now?
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”
6. A thermometer reads 18, 19, 17 and 18 °C. What is the average, in °C? (°C)
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 18 of 18 · Week 9 · 60 minutes
●Needs a computerObjectives
- Combine sensing, logic, states and timing into one machine design.
- Test the design against its requirements and record the evidence.
- Present the design with one honest limitation.
Timing
Session 18 timing| Min | Part | What happens |
|---|
| 6 | Brief | Recap the requirements for the machine each group chose in session 17. |
| 22 | Design and test | Groups finish their state diagram and logic, then test every requirement on paper or in the Nexus project. |
| 16 | Presentations | Two minutes per group, then one question from another group. |
| 10 | Worksheet | Questions 1–3 and the project rubric self-check. |
| 6 | Close | What would you build next? |
Differentiation
- More support
- Offer a starter design file for the level crossing with two states drawn and one requirement written.
- Stretch
- Add a fault state and a requirement about what happens when a sensor fails.
- Language
- Sentence starters: 'The machine must…', 'We tested it by…', 'It could fail if…'; presentations may be a labelled diagram with a few words.
Discussion prompts
- Which requirement was hardest to test, and why?
- Where would noise or a slow loop cause your machine trouble?
- What evidence would convince someone your machine is safe?
Activity · unplugged · 22 min
Materials: Paper, Pencils
- Choose one machine: a sorting conveyor, a greenhouse vent or a level crossing.
- Write three requirements that someone else could test, for example 'the gate is down whenever a train is detected'.
- Draw the state diagram and the logic that decides each transition.
- Test each requirement by walking through events on paper (or in the Nexus project) and record pass or fail.
- Note one limitation, such as a noisy sensor or a slow response, and how a filter or a faster loop might help.
⚠ Safety and supervision
- Paper and pencils 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
Without a computer, run the paper design file and event walk-through; it is a complete project. What is lost is running the machine in the Nexus project, which needs a device per pair, so the tests are reasoning rather than simulation.
No kit (paper and pencils only)
Already paper and pencils only.
Online lessons (optional)
Interactive laboratories and offline alternatives
- Nexus project: Computer-Controlled Machine. Pairs build or adjust the machine in the Nexus project and run its tests against their requirements. Offline: Test the paper design by walking through a written list of events, ticking each requirement as pass or fail.
- Build: Create a Virtual Computer. Optional: compare the design with the virtual computer build. Offline: Label the parts of your design as input, memory, processing and output on the design file.
1. Write your three requirements. Next to each, write how you tested it.
6 answer lines on the printout.
2. Record your test results.
Table: Requirement · Test · Pass or fail (3 rows)
3. Name one limitation of your machine and one way to improve it.
3 answer lines on the printout.
From the online lesson “Project: test it, show the evidence”
4. 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
5. 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.
From the online lesson “Every requirement needs a test and a reason”
6. A design has 6 requirements, each checked against 4 objects. How many checks are in the full test matrix?
7. Best verification method for 'The README must list every part with a quantity'?
- Test
- Analysis
- Inspection
- Demonstration
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.