Tactiverge · Classroom-in-a-Box · Print view: use your browser’s Print command (Ctrl+P or Cmd+P). Every worksheet starts on a new page.

Build a computer from nothing

Paper cards become bits, classmates become logic gates, and the whole room becomes a computer that adds.

Level 2 · Builder8 weeks8 sessions · 480 minOne shared device, low bandwidth

Online page: https://tactiverge.win/classroom-in-a-box/build-a-computer-from-nothing/

Before you start

Curriculum overview

Eight sessions that build a computer from the bottom up, with no electronics at all. Learners count in binary with paper cards, become AND, OR and NOT gates, chain themselves into an adder, store a bit in a paper memory cell, and finally run a tiny program as a human processor.

Big ideas

By the end, learners can

Before this pack: Comfortable adding numbers up to 100. Sessions 1–4 are Explorer level; sessions 5–8 step up to Builder level.

Group size: Best with 8–30 learners: the human adder needs at least 6 people.

Bandwidth: One projected or shared device is enough. Text pages and Lite lessons load on slow connections; videos are optional.

Going further: ARCH-101 · Bits and logic, ARCH-220 · Digital logic and binary arithmetic, ARCH-310 · Sequential logic and state machines

Pacing guide

Each pack session is 60 minutes. The table maps the pack onto the six proposed pacing contexts (none has been run with learners), allowing about 10 minutes per session for settling in and packing away.

ContextHow it fitsYour sessionsWeeks
After-school programmeOne pack session per 75-minute session. One session per club meeting; sessions 7 and 8 can run as a double if the club has a longer holiday session.88
School engineering electiveSplit each pack session across 2 of your 50-minute sessions. Split each 60-minute session over two lessons; the first does the activity, the second the worksheet and discussion. Worksheets can be set as homework.168
Summer programmeRun 2 pack sessions in each 180-minute session (with its break).41
HomeschoolSplit each pack session across 2 of your 50-minute sessions. With one to three learners, a parent plays the extra gates, or learners use paper gate cards on a table instead of standing.166
Community organisationOne pack session per 120-minute session, with about 50 spare minutes for the worksheet or challenge.816
International initiativeSplit each pack session across 2 of your 60-minute sessions. Sessions 5–8 map well onto Builder Term 2 (embedded intelligence). Worksheets can be set as homework.1616

Lesson plans

Session 1: What can two cards say? 60 min

Objectives

Timing

MinutesPartWhat happens
10HookHold up one card face up, then face down. Ask: how many messages can one card send?
20Card signalsRun the card-signals activity.
15Analog or digital?Sort examples: a dimmer switch, a light switch, a ramp, a staircase.
10WorksheetQuestions 1–3.
5Exit questionWhat is one thing in the room with exactly two states?

Activity: Card signals 20 minunplugged

Materials: Paper

  1. Each pair gets three paper cards with one side marked.
  2. With one card, agree a code for 'yes' and 'no'.
  3. With two cards, list every possible pattern and give each a meaning.
  4. With three cards, predict how many patterns there are before listing them. Then check.
Safety
  • 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.

Discussion prompts

Checking answers (no answer key)

For question 2, ask the learner to list the patterns systematically (start with all down, change the last card first) and count; then ask what adding one more card does to the count. A secure explanation mentions doubling.

Online lessons (optional)

Video recommendations (optional)

Interactive labs and paper alternatives

Worksheet: see “Worksheet 1” below.

Session 2: Counting with only 0 and 1 60 min

Objectives

Timing

MinutesPartWhat happens
5HookCan you show the number 13 with five cards and no digits?
25Binary cardsRun the binary-cards activity.
15Binary relayTeams convert numbers called out by the teacher; each team checks another.
10WorksheetQuestions 1–3.
5Wrap-upWhy does each card double?

Activity: Binary cards 25 minunplugged

Materials: Paper, Pencils

  1. Each group makes five cards. Draw 1, 2, 4, 8 and 16 dots on them.
  2. Lay them in a row, biggest on the left. Face up = 1, face down = 0.
  3. Show 0, then count up one at a time. Notice which card flips most often.
  4. Show numbers the teacher calls out, then write the 0/1 pattern underneath.
Safety
  • 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.

Discussion prompts

Checking answers (no answer key)

Have learners lay out the cards for each binary pattern and count the dots on face-up cards; the dot count is the decimal value. For decimal to binary, they start with the biggest card that fits and work right. Never mark from memory; ask the learner to show you with the cards.

Online lessons (optional)

Video recommendations (optional)

Interactive labs and paper alternatives

Worksheet: see “Worksheet 2” below.

Session 3: Running out of bits 60 min

Objectives

Timing

MinutesPartWhat happens
10HookWith four cards, show the biggest number. Now add one. What happens?
15OverflowPairs try adding one to the largest number for 3, 4 and 5 cards.
20Pixel picturesRun the pixel-picture activity.
10WorksheetQuestions 1–3.
5Exit questionName a real machine that could suffer from overflow.

Activity: Pixel pictures 20 minunplugged

Materials: Paper, Pencils

  1. Each learner draws an 8 × 8 grid.
  2. Secretly shade squares to make a simple picture.
  3. Write each row as eight 0s and 1s (shaded = 1).
  4. Swap only the numbers with a partner, who redraws the picture from them.
Safety
  • 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.

Discussion prompts

Checking answers (no answer key)

For question 1, ask the learner to do it with three binary cards: flip the 1-card, carry when needed, and see what is left when the carry has nowhere to go. For question 3, ask how many patterns one, two and three cards can make (session 1) and which is enough for four colours.

Online lessons (optional)

Video recommendations (optional)

Interactive labs and paper alternatives

Worksheet: see “Worksheet 3” below.

Session 4: Human logic gates 60 min

Objectives

Timing

MinutesPartWhat happens
10HookA door opens only if you have a key AND it is daytime. Is that a rule a machine could follow?
25Human gatesRun the human logic gates role-play.
10Truth tablesEach group writes the table for its gate.
10WorksheetQuestions 1–3.
5Wrap-upWhich gate is the 'strictest'?

Activity: Human logic gates 25 minrole-play

Materials: Paper

  1. Make cards: '1' on one side, '0' on the other. Two input learners each hold a card.
  2. The gate learner holds a rule card (AND, OR or NOT) and looks at the inputs.
  3. The gate learner raises their own card: 1 or 0, by the rule.
  4. Try every combination of inputs and record the output.
  5. Chain two gates: the output of an AND becomes an input to a NOT.
Safety
  • 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.

Discussion prompts

Checking answers (no answer key)

Ask learners to re-run any disputed row with the human gates and read the output card. Check every table has every input combination exactly once (00, 01, 10, 11).

Online lessons (optional)

Video recommendations (optional)

Interactive labs and paper alternatives

Worksheet: see “Worksheet 4” below.

Session 5: Gates that add 60 min

Objectives

Timing

MinutesPartWhat happens
10HookIn binary, what is 1 + 1? Why do we need two digits?
25Human half adderRun the human half adder.
10Full adder ideaAdd a third input: the carry from the right.
10WorksheetQuestions 1–3.
5Exit questionWhich gate makes the carry?

Activity: Human half adder 25 minrole-play

Materials: Paper

  1. Two input learners (A and B) hold 0/1 cards.
  2. One gate learner is an XOR ('exactly one') and shows the Sum.
  3. One gate learner is an AND and shows the Carry.
  4. Run all four input combinations; a recorder writes Sum and Carry.
Safety
  • 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.

Discussion prompts

Checking answers (no answer key)

Check the half adder by asking the learner to add each row in ordinary numbers (0, 1 or 2) and write that total as a two-bit number: carry on the left, sum on the right. For the full adder, ask how many patterns three cards make (session 1).

Online lessons (optional)

Video recommendations (optional)

Interactive labs and paper alternatives

Worksheet: see “Worksheet 5” below.

Session 6: The ripple-carry line 60 min

Objectives

Timing

MinutesPartWhat happens
5HookCan a line of classmates add 0110 and 0011?
30Ripple lineRun the ripple-carry line.
10HexadecimalGroup four bits into one hex digit on the board.
10WorksheetQuestions 1–3.
5Exit questionWhat slows a long adder down?

Activity: Ripple-carry line 30 minrole-play

Materials: Paper

  1. Four learners stand in a line, each a full adder for one bit, rightmost bit first.
  2. Each adder gets its two input bits on cards, and a carry note from the right.
  3. Each adder writes its Sum and passes a Carry note left, one at a time.
  4. Clap once per hand-over to 'time' the adder. Count the claps.
Safety
  • 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.

Discussion prompts

Checking answers (no answer key)

Have the learner convert both numbers to decimal with the binary cards, add them, and convert back; the binary answer must match. For the worst case, ask what input makes every adder pass a carry.

Online lessons (optional)

Video recommendations (optional)

Interactive labs and paper alternatives

Worksheet: see “Worksheet 6” below.

Session 7: Machines that remember 60 min

Objectives

Timing

MinutesPartWhat happens
10HookA traffic light knows what comes next. Where is that knowledge kept?
20Paper memory cellRun the paper memory-cell role-play.
15Traffic-light statesGroups draw a state diagram for a traffic light.
10WorksheetQuestions 1–3.
5Exit questionWhat is the difference between a gate and memory?

Activity: Paper memory cell 20 minrole-play

Materials: Paper

  1. The Cell learner holds one card showing the stored bit.
  2. A Writer may show 'SET' or 'RESET'. The Cell changes only when told.
  3. Readers ask 'what is stored?' at any time; the Cell answers without changing.
  4. Run a sequence of SET, read, read, RESET, read. Record what each read returned.
Safety
  • 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.

Discussion prompts

Checking answers (no answer key)

Replay the learner's command sequence with a volunteer Cell and compare. For the state diagram, check every state has at least one arrow out and every arrow names an event; ask 'what happens if a pedestrian presses the button now?'

Online lessons (optional)

Video recommendations (optional)

Interactive labs and paper alternatives

Worksheet: see “Worksheet 7” below.

Session 8: The human processor 60 min

Objectives

Timing

MinutesPartWhat happens
10BriefIntroduce the human processor and its program cards.
30Run the processorRun the human-processor role-play; then groups write their own three-line program.
15Design challengeStart the pack challenge.
5ReflectWorksheet question 3.

Activity: The human processor 30 minrole-play

Materials: Paper, Pencils

  1. Roles: Clock (claps), Program Counter (points at the next card), Decoder (reads the card), ALU (does the sum), Register (holds a number on paper).
  2. Program cards: LOAD 3, ADD 2, ADD 4, SHOW.
  3. On each clap: fetch the card, decode it, execute it. The Program Counter moves on.
  4. After SHOW, check the Register against the class's own sum.
  5. Groups write their own three-line program and run it.
Safety
  • 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.

Discussion prompts

Checking answers (no answer key)

Run each learner's program with the class processor and compare the Register with the learner's prediction; a mismatch is a debugging opportunity, not a fail. Ask which clap the mistake happened on.

Online lessons (optional)

Video recommendations (optional)

Interactive labs and paper alternatives

Worksheet: see “Worksheet 8” below.

Design challenge: Design a room-sized calculator

Design a human calculator that adds two 3-bit numbers and shows the answer in decimal. Write the role cards, test it with your group, and explain where it is slow.

Constraints

Steps

  1. Draw the gate plan.
  2. Write a role card for each person.
  3. Test all inputs you can in 15 minutes.
  4. Count claps and find the slowest path.
  5. Improve one thing.

Materials: Paper, Pencils

Safety

Online version (optional, Level 3): DC-05 The 1-nanosecond adder.

Assessment rubric

CriterionBeginningDevelopingSecureExcellent
BinaryRecognises 0 and 1.Converts with help.Converts 5-bit numbers both ways.Explains overflow and place value.
LogicNames a gate.Completes one truth table.Completes and combines tables.Designs a combination for a stated rule.
Arithmetic in gatesDescribes adding in words.Runs the half adder.Explains sum and carry and the ripple.Proposes a faster carry method.
Processor modelLists roles.Follows a program trace.Traces and predicts a program.Writes and debugs a new program.

The rubric describes evidence of competency, not age, and is for feedback, not grades or rankings.

Teacher notes

Misconceptions to watch for

Binary 10 means ten.

Watch for: Reading binary digits as decimal.

How to explain: Lay out the cards: '10' means the 2-card up and the 1-card down. Say 'one-zero', never 'ten'.

Computers 'understand' numbers.

Watch for: Learners saying the computer knows the answer.

How to explain: Each gate follows one rule blindly. The meaning comes from how we connect gates and read the output.

Memory is the same as storage on a disk.

Watch for: Confusing the memory cell with saving files.

How to explain: A memory cell holds a bit while powered and can change every clock tick; storage keeps data when switched off.

Explaining well

Accessibility alternatives

Student worksheets

One worksheet per session. Questions only: there are no answer keys in this pack.

Worksheet 1: What can two cards say?

Build a computer from nothing · Questions only. Your teacher checks answers with the online lesson or by talking through your reasoning.

Name: Date:

1. List every pattern two cards can make (U = up, D = down) and give each a meaning.

Card 1Card 2Meaning

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

Check these in the lesson, which marks them: https://tactiverge.win/lite/lesson/l1-w14-bits-and-messages/ (Lite, low bandwidth) or https://tactiverge.win/school/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

Check these in the lesson, which marks them: https://tactiverge.win/lite/lesson/l1-w14-analog-and-digital/ (Lite, low bandwidth) or https://tactiverge.win/school/lesson/l1-w14-analog-and-digital/.

Worksheet 2: Counting with only 0 and 1

Build a computer from nothing · Questions only. Your teacher checks answers with the online lesson or by talking through your reasoning.

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

Check these in the lesson, which marks them: https://tactiverge.win/lite/lesson/l1-w15-counting-in-binary/ (Lite, low bandwidth) or https://tactiverge.win/school/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:

Check these in the lesson, which marks them: https://tactiverge.win/lite/lesson/l1-w15-binary-to-decimal-and-back/ (Lite, low bandwidth) or https://tactiverge.win/school/lesson/l1-w15-binary-to-decimal-and-back/.

Worksheet 3: Running out of bits

Build a computer from nothing · Questions only. Your teacher checks answers with the online lesson or by talking through your reasoning.

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:

Check these in the lesson, which marks them: https://tactiverge.win/lite/lesson/l1-w15-running-out-of-bits/ (Lite, low bandwidth) or https://tactiverge.win/school/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

Check these in the lesson, which marks them: https://tactiverge.win/lite/lesson/l1-w14-pictures-as-numbers/ (Lite, low bandwidth) or https://tactiverge.win/school/lesson/l1-w14-pictures-as-numbers/.

Worksheet 4: Human logic gates

Build a computer from nothing · Questions only. Your teacher checks answers with the online lesson or by talking through your reasoning.

Name: Date:

1. Complete the truth table for OR.

ABA OR B

2. Complete the truth table for NOT (A AND B).

ABA AND BNOT (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

Check these in the lesson, which marks them: https://tactiverge.win/lite/lesson/l1-w16-and-or-not/ (Lite, low bandwidth) or https://tactiverge.win/school/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:

Check these in the lesson, which marks them: https://tactiverge.win/lite/lesson/l1-w16-truth-tables/ (Lite, low bandwidth) or https://tactiverge.win/school/lesson/l1-w16-truth-tables/.

Worksheet 5: Gates that add

Build a computer from nothing · Questions only. Your teacher checks answers with the online lesson or by talking through your reasoning.

Name: Date:

1. Record the half adder.

ABSumCarry

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:

Check these in the lesson, which marks them: https://tactiverge.win/lite/lesson/l2-w16-half-and-full-adders/ (Lite, low bandwidth) or https://tactiverge.win/school/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:

Check these in the lesson, which marks them: https://tactiverge.win/lite/lesson/l2-w15-logic-gates-truth-tables/ (Lite, low bandwidth) or https://tactiverge.win/school/lesson/l2-w15-logic-gates-truth-tables/.

Worksheet 6: The ripple-carry line

Build a computer from nothing · Questions only. Your teacher checks answers with the online lesson or by talking through your reasoning.

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:

Check these in the lesson, which marks them: https://tactiverge.win/lite/lesson/l2-w17-ripple-carry-addition/ (Lite, low bandwidth) or https://tactiverge.win/school/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:

Check these in the lesson, which marks them: https://tactiverge.win/lite/lesson/l2-w17-binary-and-hex/ (Lite, low bandwidth) or https://tactiverge.win/school/lesson/l2-w17-binary-and-hex/.

Worksheet 7: Machines that remember

Build a computer from nothing · Questions only. Your teacher checks answers with the online lesson or by talking through your reasoning.

Name: Date:

1. Record your memory-cell run.

StepCommandStored 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

Check these in the lesson, which marks them: https://tactiverge.win/lite/lesson/l1-w17-machines-that-remember/ (Lite, low bandwidth) or https://tactiverge.win/school/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

Check these in the lesson, which marks them: https://tactiverge.win/lite/lesson/l2-w23-states-events-transitions/ (Lite, low bandwidth) or https://tactiverge.win/school/lesson/l2-w23-states-events-transitions/.

Worksheet 8: The human processor

Build a computer from nothing · Questions only. Your teacher checks answers with the online lesson or by talking through your reasoning.

Name: Date:

1. Trace your group's program, one clap per row.

ClapCard fetchedWhat it doesRegister 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

Check these in the lesson, which marks them: https://tactiverge.win/lite/lesson/l2-w19-clock-and-instructions/ (Lite, low bandwidth) or https://tactiverge.win/school/lesson/l2-w19-clock-and-instructions/.

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.