Tactiverge · Classroom-in-a-Box programme · Print view: use your browser’s Print command (Ctrl+P or Cmd+P). Every worksheet starts on a new page.
Nine-week digital systems
From two paper cards to a working processor: bits, gates, adders, memory, state machines, pipelines, caches and signals, built by hand before anyone touches a simulator.
Full editionLevel 2 · Builder9 weeks18 sessions × 60 minAbout 18 teaching hours
- 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.
- 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.
Online page: https://tactiverge.win/classroom-in-a-box/programmes/nine-week-digital-systems/
- 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.
- The human processor (session 10) and the card pipeline (session 11) are seated or slow-walking role-plays; clear the space first and offer non-moving roles.
- No electrical parts are used anywhere: circuits and processors are cards, drawings or browser simulations.
- Device use is led by the facilitator on public pages; learners do not create accounts or share personal information.
- Count card sets in and out so nothing is left on the floor as a slip hazard.
- Materials for the whole programme: Paper, Pencils.
Educator guide
A nine-week course on how computers work, from the bottom up. Learners act out bits, gates and processors with paper cards, then confirm what they built with browser simulations in Silicon Studio and a Mission Lab. Signals in the final weeks connect the digital world to real, noisy measurements. Three sessions (11, 13 and 18) work best with a device per pair; the rest need at most one projected screen.
Who it is for: Learners who can already follow step-by-step instructions and are comfortable with whole-number arithmetic. Suits a school computing club, a library coding group or a community STEM programme.
Group size: 8–30 learners, working in pairs or groups of three.
Before this programme: Comfortable adding two-digit numbers and following a flowchart. No coding is needed; Builder-level learners (or those who finished the six-week robotics programme) are a good fit.
By the end, learners can
- Represent numbers in binary and explain what happens when the bits run out.
- Build adders from logic gates and trace a ripple carry.
- Describe how a machine remembers using states and transitions.
- Explain why pipelining raises throughput and what stalls it.
- Explain why a cache speeds up memory access and what makes it miss.
- Explain sampling, quantisation and filtering in a noisy signal.
- Design, test and present a small computer-controlled machine with evidence.
Why this order
Each layer is built on the one below: bits (weeks 1–2), gates and adders (weeks 2–4), memory and states (weeks 4–5), the processor and how to make it fast (weeks 5–7), then signals, where real-world measurements enter the machine (weeks 7–9). The final project asks learners to use all of these layers together.
Before you start
- Read the whole programme (about an hour) and decide whether you can offer a device per pair for sessions 11, 13 and 18; if not, use the no-computer notes.
- Prepare card sets: sixteen bit cards per group (0 on one side, 1 on the other) and gate cards for AND, OR and NOT.
- Open Silicon Studio, the pipeline and cache simulations and the Mission Lab once on your own connection to check they load.
- Clear space for the human processor role-play in session 10.
- Print one worksheet per learner per session; large-print copies where needed.
- Confirm the named supervising adult for each session with your organisation.
Every session
- Hook question on the board (5–10 minutes).
- Hands-on activity in pairs or groups, with safety notes read first.
- Projected or paired lab, if you have a device, with a prediction before every run.
- Discussion prompts and the worksheet.
- Exit question and card sets counted back in.
Honest time estimate
18 hours of teaching (18 × 60 minutes) plus about 30 minutes of preparation per session, roughly 27 hours in total. Making the card sets the first time takes about an extra hour. The timings are estimates that have not been tried with learners.
Preparation: about 30 minutes per session.
Staffing
One facilitator can run it with up to about 20 learners. Sessions with a device per pair go more smoothly with a second adult to help pairs open the right public pages (no accounts are needed). The named supervising adult stays in the room throughout.
Adapting it
- Schools: run it as a half-term to a term of computing lessons, two a week; worksheets can be set as homework.
- Libraries: run weekly sessions over eighteen weeks, or a holiday course of two sessions a day with a long break.
- Community organisations without devices: use the no-computer edition; sessions 11, 13 and 18 lose their hands-on simulations, as their notes explain.
- Mixed groups: pair a confident reader with a confident counter; the card activities reward both.
Curriculum map
| Week | Theme | Sessions | By the end of the week |
|---|---|---|---|
| 1 | Bits | 1. What can two cards say? 2. Counting with only 0 and 1 | Say what two cards can represent and count in binary. |
| 2 | Limits and gates | 3. Running out of bits 4. Human logic gates | Explain overflow and act out AND, OR and NOT gates. Evidence: Truth tables for three gates, made by the group. |
| 3 | Logic that protects and adds | 5. Logic that keeps people safe: interlocks 6. Gates that add | Design a safety interlock from gates and build a half adder. |
| 4 | Adding and remembering | 7. The ripple-carry line 8. Machines that remember | Trace a ripple carry and describe how a machine holds a state. |
| 5 | State machines and processors | 9. State machines: a junction that never confuses drivers 10. The human processor | Draw a traffic-light state machine and act out a processor cycle. Evidence: A complete, tested state diagram. |
| 6 | Making it fast | 11. Pipelines: an assembly line for instructions 12. Caches: keeping the useful things close | Explain how pipelining and caches speed a processor up and what slows them down. |
| 7 | Wasted time and signals | 13. Mission Lab: the computer that wastes time 14. Smooth waves and stored numbers | Speed up a slow program and tell continuous signals from stored numbers. Evidence: A before-and-after cycle count from the Mission Lab. |
| 8 | Sampling and noise | 15. When samples tell lies 16. Rounding and jitter | Explain aliasing and where rounding and noise come from. |
| 9 | Filters and the final machine | 17. Filters: smooth but late 18. Project: a computer-controlled machine | Explain the smoothness–delay trade-off of filters and present a computer-controlled machine. Evidence: Final project presented and assessed with the project rubric. |
Lesson plans
Session 1: What can two cards say? Week 160 minComputer optional
From 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
| Minutes | 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? |
Activity: Card signals 20 minunplugged
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.
- 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.
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?
Online lessons (optional)
- Bits: how much can two lights say?: Lite version · full lesson
- Analog and digital: smooth worlds, stepped machines: Lite version · full lesson
Interactive laboratories and their 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.
Other editions
- No computer: Skip the virtual-computer demo; finish with a class code where each two-card pattern means a classroom signal.
- No kit: Already paper only. Cards can be torn scrap paper marked U on one side.
Worksheet: see “Worksheet 1” at the end. Teacher solutions are on the protected educator page, not in this document.
Session 2: Counting with only 0 and 1 Week 160 minComputer optional
From 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
| Minutes | 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? |
Activity: Binary cards 25 minunplugged
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.
- 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.
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?
Online lessons (optional)
- Counting with only 0 and 1: Lite version · full lesson
- Converting: binary to decimal and back: Lite version · full lesson
Interactive laboratories and their offline alternatives
- Build: Create a Virtual Computer. Level 1 converts switch patterns to numbers. Offline: Binary cards do the same job.
- Video: Representing Numbers and Letters with Binary: Crash Course Computer Science #4 (CrashCourse). Watch how binary numbers stand for letters too. Offline: Agree a class code (A = 1, B = 2 …) and send a three-letter word with the cards.
Other editions
- No computer: Run fully with paper binary cards; skip the virtual-computer link.
- No kit: Already paper and pencils only.
Worksheet: see “Worksheet 2” at the end. Teacher solutions are on the protected educator page, not in this document.
Session 3: Running out of bits Week 260 minComputer optional
From 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
| Minutes | 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. |
Activity: Pixel pictures 20 minunplugged
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.
- 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.
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?
Online lessons (optional)
- Running out of bits: overflow: Lite version · full lesson
- Pictures as numbers: pixels: Lite version · full lesson
Interactive laboratories and their 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.
Other editions
- No computer: Skip Silicon Studio; do the overflow with three paper cards and a 'carry' card that falls off the desk edge.
- No kit: Already paper and pencils only.
Worksheet: see “Worksheet 3” at the end. Teacher solutions are on the protected educator page, not in this document.
Session 4: Human logic gates Week 260 minComputer optional
From 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
| Minutes | 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'? |
Activity: Human logic gates 25 minrole-play
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.
- 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.
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?
Online lessons (optional)
- AND, OR, NOT: the three little deciders: Lite version · full lesson
- Truth tables: checking every possibility: Lite version · full lesson
Interactive laboratories and their offline alternatives
- Playground lab: Digital logic lab. Build the same gates on a projected screen and compare tables. Offline: The human gates are the lab.
- Video: Boolean Logic & Logic Gates: Crash Course Computer Science #3 (CrashCourse). Watch for the truth tables and compare them with yours. Offline: Re-run the human gates with a new group and see if the tables match.
Other editions
- No computer: Run the human gates only and skip the logic playground; record outputs on a class truth table.
- No kit: Already paper only. Input cards can be any scrap paper marked 0 and 1.
Worksheet: see “Worksheet 4” at the end. Teacher solutions are on the protected educator page, not in this document.
Session 5: Logic that keeps people safe: interlocks Week 360 minOne shared screen
Objectives
- 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
| Minutes | 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? |
Activity: Build the press interlock from gate cards 22 minunplugged
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.
- 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.
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?
Online lessons (optional)
- Gates at work: safety interlocks and sorting rules: Lite version · full lesson
- Logic gates and truth tables: Lite version · full lesson
Interactive laboratories and their 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.
Other editions
- No computer: Skip the projected logic lab; peer testing of the paper tables gives the same check. Nothing essential is lost.
- No kit: Already paper and pencils only.
Worksheet: see “Worksheet 5” at the end. Teacher solutions are on the protected educator page, not in this document.
Session 6: Gates that add Week 360 minComputer optional
From 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
| Minutes | 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? |
Activity: Human half adder 25 minrole-play
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.
- 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.
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?
Online lessons (optional)
- Half adders and full adders: Lite version · full lesson
- Logic gates and truth tables: Lite version · full lesson
Interactive laboratories and their offline alternatives
- Simulation OS: Adder architecture: ripple carry or carry lookahead. See how many gate delays an adder takes as it grows. Offline: Time the human half adder with a clap per gate.
- Video: Learn how computers add numbers and build a 4 bit adder circuit (Ben Eater). Watch the first half: how gates add one bit. Offline: Draw the half adder as two boxes on the board and trace each input row.
Other editions
- No computer: Skip the adder simulation; the human half adder and the class truth table are the whole session.
- No kit: Already paper only: nothing to swap.
Worksheet: see “Worksheet 6” at the end. Teacher solutions are on the protected educator page, not in this document.
Session 7: The ripple-carry line Week 460 minComputer optional
From 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
| Minutes | 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? |
Activity: Ripple-carry line 30 minrole-play
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.
- 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.
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?
Online lessons (optional)
- Multi-bit addition and the ripple-carry adder: Lite version · full lesson
- Binary and hexadecimal: Lite version · full lesson
Interactive laboratories and their offline alternatives
- Design challenge: DC-05 The 1-nanosecond adder. Stretch (Innovator level): design a faster adder online. Offline: Ask groups to invent a way to 'look ahead' for carries and test it in the line.
- Video: How Computers Calculate - the ALU: Crash Course Computer Science #5 (CrashCourse). See where the adder sits inside a processor. Offline: Run the ripple line again with eight learners and compare clap counts.
Other editions
- No computer: Skip the online adder challenge; time the human ripple line with a clap count instead.
- No kit: Already paper only: nothing to swap.
Worksheet: see “Worksheet 7” at the end. Teacher solutions are on the protected educator page, not in this document.
Session 8: Machines that remember Week 460 minComputer optional
From 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
| Minutes | 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? |
Activity: Paper memory cell 20 minrole-play
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.
- 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.
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'?
Online lessons (optional)
- Machines that remember: states and sequences: Lite version · full lesson
- States, events and transitions: Lite version · full lesson
Interactive laboratories and their offline alternatives
- Build: Build a Traffic Management System. Level 1 shows a traffic system running through its states. Offline: Role-play the traffic light with three learners holding red, amber and green cards.
- Video: Registers and RAM: Crash Course Computer Science #6 (CrashCourse). See how many memory cells make a register. Offline: Line up eight Cell learners as a byte and store a binary-card number in them.
Other editions
- No computer: Skip the traffic-system build; act the traffic light with three learners holding red, amber and green paper.
- No kit: Already paper only: nothing to swap.
Worksheet: see “Worksheet 8” at the end. Teacher solutions are on the protected educator page, not in this document.
Session 9: State machines: a junction that never confuses drivers Week 560 minComputer optional
Objectives
- 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
| Minutes | 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? |
Activity: Walk the junction 23 minunplugged
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.
- 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.
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?
Online lessons (optional)
- States, events and transitions: Lite version · full lesson
- Machines that remember: states and sequences: Lite version · full lesson
Interactive laboratories and their 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.
Other editions
- No computer: Run the card walk-through and peer testing only; the projected build is an optional comparison.
- No kit: Already paper and pencils only.
Worksheet: see “Worksheet 9” at the end. Teacher solutions are on the protected educator page, not in this document.
Session 10: The human processor Week 560 minComputer optional
From 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
| Minutes | 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. |
Activity: The human processor 30 minrole-play
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.
- 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.
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?
Online lessons (optional)
- Counting in nanoseconds: Lite version · full lesson
Interactive laboratories and their offline alternatives
- Nexus project: Computer-Controlled Machine. Optional: see a processor-controlled machine as a system. Offline: Add a 'motor' learner who moves one step when the Register shows an even number.
- Build Night kit: Build Night: Build a Virtual Computer. Facilitator kit for a longer computer session. Offline: Run the human processor twice with different programs.
- Video: The Central Processing Unit (CPU): Crash Course Computer Science #7 (CrashCourse). Watch the fetch, decode, execute cycle and compare it with the role-play. Offline: Re-run the human processor with a five-card program.
Other editions
- No computer: Skip the Nexus project and Build Night links; the human processor run is the whole outcome.
- No kit: Already paper and pencils only.
Worksheet: see “Worksheet 10” at the end. Teacher solutions are on the protected educator page, not in this document.
Session 11: Pipelines: an assembly line for instructions Week 660 minNeeds a computer
Objectives
- 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
| Minutes | 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? |
Activity: The four-stage card pipeline 18 minrole-play
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'.
- 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.
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?
Online lessons (optional)
- Tracing a program, counting cycles: Lite version · full lesson
- Pipelining: an assembly line for instructions: Lite version · full lesson
Interactive laboratories and their 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.
Other editions
- 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: Already paper and pencils only.
Worksheet: see “Worksheet 11” at the end. Teacher solutions are on the protected educator page, not in this document.
Session 12: Caches: keeping the useful things close Week 660 minOne shared screen
Objectives
- 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
| Minutes | 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? |
Activity: Desk and cupboard 20 minunplugged
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.
- 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.
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?
Online lessons (optional)
- Locality and the memory hierarchy: Lite version · full lesson
- Average memory access time: Lite version · full lesson
Interactive laboratories and their 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.
Other editions
- No computer: Run the desk game with two desk sizes; the projected simulation is a confirmation, so little is lost.
- No kit: Already paper and pencils only.
Worksheet: see “Worksheet 12” at the end. Teacher solutions are on the protected educator page, not in this document.
Session 13: Mission Lab: the computer that wastes time Week 760 minNeeds a computer
Objectives
- 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
| Minutes | 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? |
Activity: Trace the wasteful loop 13 minunplugged
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.
- 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.
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?
Online lessons (optional)
- Tracing a program, counting cycles: Lite version · full lesson
- Project: then speed it up: Lite version · full lesson
Interactive laboratories and their 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.
Other editions
- 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: Already paper and pencils only.
Worksheet: see “Worksheet 13” at the end. Teacher solutions are on the protected educator page, not in this document.
Session 14: Smooth waves and stored numbers Week 760 minComputer optional
From 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
| Minutes | 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. |
Activity: Human wave 20 minrole-play
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.
- 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.
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?
Online lessons (optional)
- Signals: smooth waves and stored numbers: Lite version · full lesson
- Analog and digital: smooth worlds, stepped machines: Lite version · full lesson
Interactive laboratories and their offline alternatives
- Build Night kit: Build Night: Signals Hidden in Everyday Technology. Facilitator kit for a longer signals session. Offline: Run the human wave at three clap rates.
- Video: ABCs of ADCs - What is an Analog to Digital Converter (ADC) (Microchip Technology, Inc.). How does a converter turn a voltage into a number? Offline: Re-run the human wave with recorders using a 0–4 scale and compare.
Other editions
- No computer: Skip the Build Night link; the human wave and paper plots are the whole session.
- No kit: Already paper and pencils only.
Worksheet: see “Worksheet 14” at the end. Teacher solutions are on the protected educator page, not in this document.
Session 15: When samples tell lies Week 860 minComputer optional
From 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
| Minutes | 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? |
Activity: Blink sampling 25 minrole-play
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?
- 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.
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?
Online lessons (optional)
- Sampling: how often is often enough?: Lite version · full lesson
- Aliasing: when samples tell lies: Lite version · full lesson
Interactive laboratories and their 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.
Other editions
- No computer: Skip the range-sensor simulation; blink sampling and the paper replay are the whole session.
- No kit: Already paper only: nothing to swap.
Worksheet: see “Worksheet 15” at the end. Teacher solutions are on the protected educator page, not in this document.
Session 16: Rounding and jitter Week 860 minComputer optional
From 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
| Minutes | 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? |
Activity: Coarse rulers 25 minunplugged
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.
- 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.
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?
Online lessons (optional)
- ADC counts, quantisation and noise: Lite version · full lesson
- Where noise comes from: Lite version · full lesson
Interactive laboratories and their offline alternatives
- Equation Lab: Equation Lab: Probability distributions and sampling. Optional: see the spread of noisy readings. Offline: Make a tally chart of the five learners' readings.
- Video: Why Do Cameras Do This? | Rolling Shutter Explained - Smarter Every Day 172 (SmarterEveryDay). Another way sampling changes what a camera records. Offline: Draw a smooth curve and its 'staircase' version with steps of 1 unit.
Other editions
- No computer: Skip the distributions explorer; the coarse rulers are the whole session.
- No kit: Already paper and pencils only.
Worksheet: see “Worksheet 16” at the end. Teacher solutions are on the protected educator page, not in this document.
Session 17: Filters: smooth but late Week 960 minComputer optional
From 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
| Minutes | 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? |
Activity: Paper moving average 25 minunplugged
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.
- 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.
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?
Online lessons (optional)
- The moving average and the noise–lag trade-off: Lite version · full lesson
- Sensors aren't perfect: Lite version · full lesson
Interactive laboratories and their offline alternatives
- Playground lab: Sensor fusion lab. Optional: compare filters live on a projected screen. Offline: The paper moving average is the lab.
- Simulation OS: Two-sensor fusion. Optional: blend two sensors and see the error drop. Offline: Average pairs of learners' readings.
- Build Night kit: Build Night: Understanding Sensor Noise. Facilitator kit for a longer noise session. Offline: Run the paper filter on a second series.
- Video: Drone Control and the Complementary Filter (Brian Douglas). Watch how two imperfect sensors are blended. Offline: Average two learners' readings in the coarse-ruler data and see if it beats either alone.
- Video: Why Use Kalman Filters? | Understanding Kalman Filters, Part 1 (MATLAB). Optional stretch: estimating what you cannot measure directly. Offline: Skip; it is an Innovator-level extension.
Other editions
- No computer: Skip the fusion playground, simulation and Build Night; the paper moving average is the whole session.
- No kit: Already paper and pencils only.
Worksheet: see “Worksheet 17” at the end. Teacher solutions are on the protected educator page, not in this document.
Session 18: Project: a computer-controlled machine Week 960 minNeeds a computer
Objectives
- 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
| Minutes | 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? |
Activity: Design file for the machine 22 minunplugged
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.
- 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.
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?
Online lessons (optional)
- Project: test it, show the evidence: Lite version · full lesson
- Every requirement needs a test and a reason: Lite version · full lesson
Interactive laboratories and their 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.
Other editions
- 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: Already paper and pencils only.
Worksheet: see “Worksheet 18” at the end. Teacher solutions are on the protected educator page, not in this document.
Project: A computer-controlled machine
Design a small machine (a sorting conveyor, a greenhouse vent or a level crossing) as states and logic, write three testable requirements, test each one and present the design with an honest limitation.
Offline: Complete the paper design file: requirements, state diagram, logic and a written event walk-through that tests each requirement; present with the diagram.
Assessment rubrics
Rubrics describe evidence of competency, not age. Use them for feedback, never for grades, rankings or public lists of learners.
Session evidence
Use across the eighteen worksheets for feedback on understanding. Never for grades or rankings.
| Criterion | Beginning | Developing | Secure | Excellent |
|---|---|---|---|---|
| Representing information | Unsure how bits stand for numbers. | Converts small numbers with help. | Converts confidently and explains overflow. | Explains how the number of bits limits range and precision, including in signals. |
| Logic and arithmetic | Follows a gate with help. | Completes truth tables for single gates. | Combines gates into an interlock or adder and tests every row. | Explains the ripple delay and suggests where it matters. |
| States and memory | Describes a machine as one action. | Names states but misses transitions. | Draws a complete state diagram and checks every arrow. | Adds safe fault states and tests sequences that might break the design. |
| Performance | Thinks faster means more instructions. | Counts cycles with help. | Explains pipelining, stalls and cache hits with counted examples. | Predicts the effect of a change before measuring it, then compares. |
Computer-controlled machine project
Use for the session 18 presentation; learners self-check first.
| Criterion | Beginning | Developing | Secure | Excellent |
|---|---|---|---|---|
| Requirements | Requirements are vague or missing. | Requirements are clear but not all testable. | Three requirements, each with a test. | Requirements cover normal use and one fault. |
| Design | Design is incomplete. | States or logic are present but do not connect. | State diagram and logic work together for every event. | Design is simple, complete and explained step by step. |
| Evidence | No test results. | Some tests recorded loosely. | Every requirement tested and recorded as pass or fail. | Failed tests led to a change that was tested again. |
| Honest limits | Claims the machine is perfect. | Names a limit when asked. | Names a real limit and its cause. | Links the limit to noise, timing or memory and proposes a tested fix. |
Accessibility guidance
- Low vision: Make bit and gate cards large with thick, high-contrast symbols; print worksheets at A3; describe every projected simulation aloud.
- Hearing: Write the hook, the event list and the requests for the cache game on the board instead of only calling them out.
- Movement and fine motor: Card handling can be shared, and every role-play role can be done seated; a partner can move cards on request.
- Reading: Worksheets keep one question per box with short sentences; read questions aloud and accept answers given aloud or drawn.
- Language: Each session names its key words to pre-teach with pictures; 0 and 1 cards pair numbers with ticks and crosses.
- No internet: Every simulation, studio and Mission Lab has a paper alternative; sessions 11, 13 and 18 say plainly what the paper version cannot show.
- One shared device: Most labs run on one projected screen. For sessions 11, 13 and 18, pairs can take turns on a single device while other pairs do the paper version.
Student worksheets
One worksheet per session. Questions only.
Worksheet 1: What can two cards say?
Nine-week digital systems · Week 1 · Questions only. Your teacher checks your answers.
Name: Date:
1. List every pattern two cards can make (U = up, D = down) and give each a meaning.
| Card 1 | Card 2 | Meaning |
|---|---|---|
2. How many patterns can three cards make? Explain how you know without listing them all.
3. Give one example of something analog and one of something digital. Say why.
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?
Answer:
5. A vending machine has 10 buttons. What is the smallest number of bits that can give each button its own pattern?
Answer: bits
Online, the lesson marks these for you: https://tactiverge.win/lite/lesson/l1-w14-bits-and-messages/
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?
Answer: cm
Online, the lesson marks these for you: https://tactiverge.win/lite/lesson/l1-w14-analog-and-digital/
Worksheet 2: Counting with only 0 and 1
Nine-week digital systems · Week 1 · Questions only. Your teacher checks your answers.
Name: Date:
1. Write 10110 as a decimal number. Show which cards are face up.
2. Write 19 in binary using five cards.
3. Explain in your own words why the card values double.
From the online lesson “Counting with only 0 and 1”
4. What number is the binary pattern 1010 in ordinary (decimal) counting?
Answer:
5. What comes next after 0111 in 4-bit binary?
- 0112
- 1000
- 1111
- 0110
Online, the lesson marks these for you: https://tactiverge.win/lite/lesson/l1-w15-counting-in-binary/
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).
Answer:
Online, the lesson marks these for you: https://tactiverge.win/lite/lesson/l1-w15-binary-to-decimal-and-back/
Worksheet 3: Running out of bits
Nine-week digital systems · Week 2 · Questions only. Your teacher checks your answers.
Name: Date:
1. A counter has three bits and shows 111. What does it show after adding one? Explain.
2. Draw a 5 × 5 pixel picture and write the binary for each row beside it.
3. How many bits would you need for each pixel if it could be one of four colours? Explain.
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?
Answer:
5. An 8-bit counter holds 255 and you add 3. What does it show? (It wraps round after 255.)
Answer:
Online, the lesson marks these for you: https://tactiverge.win/lite/lesson/l1-w15-running-out-of-bits/
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?
Answer: bits
7. A tiny sensor image is 12 pixels wide and 10 pixels tall. How many pixels does it have?
Answer: pixels
Online, the lesson marks these for you: https://tactiverge.win/lite/lesson/l1-w14-pictures-as-numbers/
Worksheet 4: Human logic gates
Nine-week digital systems · Week 2 · Questions only. Your teacher checks your answers.
Name: Date:
1. Complete the truth table for OR.
| A | B | A OR B |
|---|---|---|
2. Complete the truth table for NOT (A AND B).
| A | B | A AND B | NOT (A AND B) |
|---|---|---|---|
3. Describe a safety rule that uses AND. Which inputs, which output?
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)?
Answer:
5. A microwave heats only if the door is shut and you pressed start. Which gate?
- OR
- AND
- NOT
- XOR
Online, the lesson marks these for you: https://tactiverge.win/lite/lesson/l1-w16-and-or-not/
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?
Answer:
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?
Answer:
Online, the lesson marks these for you: https://tactiverge.win/lite/lesson/l1-w16-truth-tables/
Worksheet 5: Logic that keeps people safe: interlocks
Nine-week digital systems · Week 3 · Questions only. Your teacher checks your answers.
Name: Date:
1. Complete the truth table for a two-input AND gate.
| Input A | Input B | Output |
|---|---|---|
2. Draw your press interlock using gate shapes. Label every input and the output.
3. How many rows does a truth table with three inputs need? Explain how you know.
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?
Answer:
Online, the lesson marks these for you: https://tactiverge.win/lite/lesson/l1-w16-gates-in-machines/
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.
Answer:
Online, the lesson marks these for you: https://tactiverge.win/lite/lesson/l2-w15-logic-gates-truth-tables/
Worksheet 6: Gates that add
Nine-week digital systems · Week 3 · Questions only. Your teacher checks your answers.
Name: Date:
1. Record the half adder.
| A | B | Sum | Carry |
|---|---|---|---|
2. Explain why the carry is an AND.
3. A full adder has three inputs. How many rows does its truth table need? Explain.
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?
Answer:
Online, the lesson marks these for you: https://tactiverge.win/lite/lesson/l2-w16-half-and-full-adders/
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.
Answer:
Online, the lesson marks these for you: https://tactiverge.win/lite/lesson/l2-w15-logic-gates-truth-tables/
Worksheet 7: The ripple-carry line
Nine-week digital systems · Week 4 · Questions only. Your teacher checks your answers.
Name: Date:
1. Add 0101 and 0011 in binary. Show every carry.
2. How many claps (hand-overs) does a 4-bit ripple adder need in the worst case? Explain.
3. Why do engineers group binary digits in fours?
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.
Answer:
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.)
Answer:
Online, the lesson marks these for you: https://tactiverge.win/lite/lesson/l2-w17-ripple-carry-addition/
From the online lesson “Binary and hexadecimal”
6. What is binary 1011 in decimal?
Answer:
7. What is the binary number 11010011 in decimal?
Answer:
Online, the lesson marks these for you: https://tactiverge.win/lite/lesson/l2-w17-binary-and-hex/
Worksheet 8: Machines that remember
Nine-week digital systems · Week 4 · Questions only. Your teacher checks your answers.
Name: Date:
1. Record your memory-cell run.
| Step | Command | Stored bit after |
|---|---|---|
2. Draw a state diagram for a traffic light: circles for states, arrows for transitions, labels for events.
3. Explain the difference between a gate's output and a memory cell's stored bit.
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?
Answer: bits
Online, the lesson marks these for you: https://tactiverge.win/lite/lesson/l1-w17-machines-that-remember/
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?
Answer: 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?
Answer: state
Online, the lesson marks these for you: https://tactiverge.win/lite/lesson/l2-w23-states-events-transitions/
Worksheet 9: State machines: a junction that never confuses drivers
Nine-week digital systems · Week 5 · Questions only. Your teacher checks your answers.
Name: Date:
1. Draw your junction's state diagram. Label every state and every arrow with its event.
2. Explain why your design can never show green on both roads at once.
3. You add a pedestrian button. Which state should pressing it lead to, and why?
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?
Answer: 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?
Answer: state
Online, the lesson marks these for you: https://tactiverge.win/lite/lesson/l2-w23-states-events-transitions/
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?
Answer: bits
Online, the lesson marks these for you: https://tactiverge.win/lite/lesson/l1-w17-machines-that-remember/
Worksheet 10: The human processor
Nine-week digital systems · Week 5 · Questions only. Your teacher checks your answers.
Name: Date:
1. Trace your group's program, one clap per row.
| Clap | Card fetched | What it does | Register after |
|---|---|---|---|
2. Write a three-card program that ends with SHOW. What should the Register show?
3. Which parts of the human processor did we build in sessions 4–7?
From the online lesson “Counting in nanoseconds”
4. A microcontroller's clock runs at 100 MHz. How long is one clock period, in nanoseconds?
Answer: 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?
Answer: instructions
Online, the lesson marks these for you: https://tactiverge.win/lite/lesson/l2-w19-clock-and-instructions/
Worksheet 11: Pipelines: an assembly line for instructions
Nine-week digital systems · Week 6 · Questions only. Your teacher checks your answers.
Name: Date:
1. Record the rounds your group needed.
| Run | Cards | Rounds |
|---|---|---|
2. Six instructions go through a four-stage pipeline with no stalls. How many rounds does it take? Show how you worked it out.
3. Explain in your own words what a stall is and why it happens.
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?
Answer: cycles
5. In the Nibble machine, which instruction does NOT change the Z flag?
- LOAD
- ADD
- STORE
- All of them change it
Online, the lesson marks these for you: https://tactiverge.win/lite/lesson/l4-w25-tracing-and-cycles/
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?
Answer: 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?
Answer: ×
Online, the lesson marks these for you: https://tactiverge.win/lite/lesson/l5-w20-pipelining/
Worksheet 12: Caches: keeping the useful things close
Nine-week digital systems · Week 6 · Questions only. Your teacher checks your answers.
Name: Date:
1. Record the hits and misses for each list your group played.
| List | Hits | Misses | Hit rate |
|---|---|---|---|
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.
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?
Answer: misses
Online, the lesson marks these for you: https://tactiverge.win/lite/lesson/l5-w21-locality/
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?
Answer: 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?
Answer: cycles
Online, the lesson marks these for you: https://tactiverge.win/lite/lesson/l5-w21-amat/
Worksheet 13: Mission Lab: the computer that wastes time
Nine-week digital systems · Week 7 · Questions only. Your teacher checks your answers.
Name: Date:
1. Record each change you made and the cycle count after it.
| Change | Cycles | Still correct? |
|---|---|---|
2. Which change saved the most cycles? Explain why it saved so many.
3. How did you check the program still gave the right answer after each change?
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?
Answer: cycles
5. In the Nibble machine, which instruction does NOT change the Z flag?
- LOAD
- ADD
- STORE
- All of them change it
Online, the lesson marks these for you: https://tactiverge.win/lite/lesson/l4-w25-tracing-and-cycles/
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)?
Answer: ×
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
Online, the lesson marks these for you: https://tactiverge.win/lite/lesson/l4-w27-speed-it-up/
Worksheet 14: Smooth waves and stored numbers
Nine-week digital systems · Week 7 · Questions only. Your teacher checks your answers.
Name: Date:
1. Record your samples at the slow clap rate.
| Clap | Height (0–2) |
|---|---|
2. Plot both sample tables on the same axes. Use a different symbol for each.
3. Explain the difference between a continuous signal and a sampled one.
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?
Answer: Hz
5. A signal has a frequency of 440 Hz. What is its period, in milliseconds?
Answer: ms
Online, the lesson marks these for you: https://tactiverge.win/lite/lesson/l2-w22-continuous-and-discrete/
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?
Answer: cm
Online, the lesson marks these for you: https://tactiverge.win/lite/lesson/l1-w14-analog-and-digital/
Worksheet 15: When samples tell lies
Nine-week digital systems · Week 8 · Questions only. Your teacher checks your answers.
Name: Date:
1. Record the Walker's positions for the every-7-claps run.
| Sample | Position (1–8) |
|---|---|
2. Explain why that run made the Walker seem to go backwards.
3. A fan blade spins 10 times a second. Explain how you would choose a camera frame rate that shows it truly.
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?
Answer: samples
5. A data logger samples at 1000 Hz for 2 s. How many samples does it record?
Answer: samples
Online, the lesson marks these for you: https://tactiverge.win/lite/lesson/l2-w22-sampling/
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?
Answer: 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?
Answer: Hz
Online, the lesson marks these for you: https://tactiverge.win/lite/lesson/l3-w22-aliasing/
Worksheet 16: Rounding and jitter
Nine-week digital systems · Week 8 · Questions only. Your teacher checks your answers.
Name: Date:
1. Record one object with all three rulers.
| Ruler | Reading | Biggest possible rounding error |
|---|---|---|
2. Explain the difference between quantisation and noise using today's results.
3. A sensor reports whole degrees only. What is the biggest rounding error it can make? Explain.
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?
Answer: 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?
Answer: V
Online, the lesson marks these for you: https://tactiverge.win/lite/lesson/l2-w22-adc-quantisation-noise/
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?
Answer:
Online, the lesson marks these for you: https://tactiverge.win/lite/lesson/l3-w21-where-noise-comes-from/
Worksheet 17: Filters: smooth but late
Nine-week digital systems · Week 9 · Questions only. Your teacher checks your answers.
Name: Date:
1. Explain how a 3-value moving average is calculated, with one example from today.
2. Compare the 3-value and 5-value filters: which is smoother, which is quicker to react?
3. A robot must stop quickly when an obstacle appears. Would you choose a big or small window? Explain the trade-off.
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?
Answer:
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?
Answer:
Online, the lesson marks these for you: https://tactiverge.win/lite/lesson/l3-w23-moving-average/
From the online lesson “Sensors aren't perfect”
6. A thermometer reads 18, 19, 17 and 18 °C. What is the average, in °C?
Answer: °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?
Answer: cm
Online, the lesson marks these for you: https://tactiverge.win/lite/lesson/l1-w24-noisy-readings/
Worksheet 18: Project: a computer-controlled machine
Nine-week digital systems · Week 9 · Questions only. Your teacher checks your answers.
Name: Date:
1. Write your three requirements. Next to each, write how you tested it.
2. Record your test results.
| Requirement | Test | Pass or fail |
|---|---|---|
3. Name one limitation of your machine and one way to improve it.
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?
Answer: V
Online, the lesson marks these for you: https://tactiverge.win/lite/lesson/l2-w27-test-and-evidence/
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?
Answer:
7. Best verification method for 'The README must list every part with a quantity'?
- Test
- Analysis
- Inspection
- Demonstration
Online, the lesson marks these for you: https://tactiverge.win/lite/lesson/l2-w31-tracing-requirements/
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.