Skip to content
Tactiverge

Build Night 9: Build a Virtual Computer

Facilitator kit · 60 minutes · week 18 of 36 · free to reuse with attribution

Status: proposed. No date is confirmed and this night has not taken place. Run it live only as a session scheduled and listed on /live/, with a host and an adult supervisor confirmed.

Based on BUILD 008

This night reuses BUILD 008: Create a Virtual Computer. Read its facilitator guide first: prep, misconceptions, level tasks with answer keys. This kit adds only what is new for the Build Night.

Timing

  1. 0–3 min(3)Welcome and room rules. Introduce the host and the adult supervisor by role. Cameras, microphones and chat stay off; questions go in the moderated box. Point to the worksheet.
  2. 3–10 min(7)Hook and opening demo. New demo: 1101 is thirteen, and 1111 + 1 overflows.
  3. 10–20 min(10)The real system. Place value, fixed width and overflow, universal NAND, half adder, ripple carry, fetch–decode–execute.
  4. 20–35 min(15)Guided experiment. Register, NAND experiment, half adder, full ripple.
  5. 35–48 min(13)Design challenge. Fewest-NAND XOR, plus the paper program trace.
  6. 48–55 min(7)Share and moderated questions. Put each team’s result on screen without names. Ask what they traded away. Answer moderated questions.
  7. 55–60 min(5)Reflect and follow-up. Everyone writes one sentence: what would you design differently now? Introduce the follow-up activity and the next Build Night’s question.

Script

Hook

Every app, game and website comes down to switches that are on or off. How do a few logic gates actually add two numbers?

Opening demonstration

BUILD 008 has a run of show in /build/virtual-computer/guide/ but no scripted live demo, so this night adds one. Share /build/virtual-computer/ at the 4-bit register. Light 1101 and say “Eight, four, nothing, one: thirteen.” Then light 1111: “Fifteen. Now I add one.” Show the result 0000 with the carry out. “Where did sixteen go? That bug has crashed real software. Tonight you’ll build the adder that makes it happen.”

The technical question

How does a half adder (S = A ⊕ B, C = A·B) grow into a ripple-carry adder, and how does a processor use that adder in its fetch, decode, execute cycle?

The real-world system

Every processor, from a washing machine’s microcontroller to a laptop CPU, contains adders built from logic gates, inside an arithmetic logic unit. Real chips use faster designs than ripple carry (such as carry lookahead) because waiting for a carry to ripple through 64 bits takes too long.

Guided experiment

Start at /build/virtual-computer/ · labs: Digital logic lab

  1. BUILD 008 Level 1: show 13, 6 and 9 on the register and predict 1111 + 1.
  2. In the logic lab (/playground/logic/), run the guided experiment “Everything from NAND”.
  3. BUILD 008 Level 2: wire a half adder and read its live truth table.
  4. BUILD 008 Level 3: find two numbers whose carry ripples through all four columns.

Design challenge

BUILD 008’s challenge: XOR from as few NAND gates as you can. New for Build Night: each team traces a three-instruction Nibble program on paper (LOAD, ADD, HALT), one row per fetch, decode and execute, before running it.

Say this about the model

Gates are ideal with a fixed delay per gate; real gates vary with temperature, voltage and load.

Five levels, one night

LevelAdaptation
1 · ExplorerBUILD 008 Level 1: speak binary on the 4-bit register.
2 · BuilderBUILD 008 Level 2: NOT, XOR and a half adder from NAND.
3 · InnovatorBUILD 008 Level 3: the full adder and the rippling carry.
4 · Systems EngineerBUILD 008 Level 4: program the Nibble machine to multiply by repeated addition.
5 · Research EngineerBUILD 008 Level 5: investigate how the longest gate path grows with adder size, for at least four sizes.

Slide outline

  1. Slide 1: Build a Virtual Computer

    • Build Night title, week number, “Proposed programme” footer
    • Hook on screen: switches that add
    • Room rules: cameras, microphones and chat off; questions in the box
  2. Slide 2: Binary place value

    • Each place worth twice the next
    • 1101 = 8 + 4 + 0 + 1 = 13
  3. Slide 3: Overflow

    • 4 bits hold 0 to 15
    • 1111 + 1 = 10000: the fifth bit falls off
  4. Slide 4: The half adder

    • S = A ⊕ B
    • C = A · B
  5. Slide 5: Inside a processor

    • Fetch, decode, execute
    • The adder does the work
  6. Slide 6: Your turn next

    • XOR from the fewest NANDs, and a program traced by hand.
    • One-sentence reflection on the worksheet
    • Where to find the follow-up and the next night

Verified videos

  • Representing Numbers and Letters with Binary: Crash Course Computer Science #4 (CrashCourse) · https://www.youtube.com/watch?v=1GSjbWt0c9M
  • Learn how computers add numbers and build a 4 bit adder circuit (Ben Eater) · https://www.youtube.com/watch?v=wvJc9CZcvBc
  • The Central Processing Unit (CPU): Crash Course Computer Science #7 (CrashCourse) · https://www.youtube.com/watch?v=FZGugFqdr60

Embed only through youtube-nocookie.com, never autoplay, captions on.

Supervision checklist

  • ☐ Two adults minimum: the host (who teaches) and a named adult supervisor who stays for the whole session. The session does not start without the supervisor.
  • ☐ Learner cameras and microphones off; chat off. Questions come only through the moderated question box and are read aloud without names.
  • ☐ Links are posted on the session page, never in chat. Nobody is asked for personal details, photos, their school or their location.
  • ☐ No real hardware: every activity is a browser simulation or a paper design. Nobody opens, powers or modifies a real device during or after the session.
  • ☐ If anything worrying is said or seen, the supervisor follows the safeguarding procedure at /safeguarding/ straight away; the host pauses the activity if needed.
  • ☐ Session listed on /live/ with its host and supervisor confirmed before any learner is invited.

Roles

  • Host: runs the demo, the slides and the experiment; calls time.
  • Adult supervisor (or co-host, with the supervisor present): moderates the question box and reads questions without names, watches the room and the safeguarding channel, posts links on the session page.

Accessibility accommodations

  • Slides use large, high-contrast text and never rely on colour alone. The host describes every chart and animation aloud.
  • Live captions switched on and tested before the session; the host reads each on-screen instruction aloud.
  • Every lab and Build works by keyboard, gives text readouts of its results and respects reduced-motion settings.
  • Worksheet available to print, in large print and as plain text; answers can be typed, drawn, or spoken to a helper.
  • A second screen is optional: following the host’s shared screen plus the worksheet is enough to take part.
  • Nobody has to finish in the hour: the follow-up activity is the same task, so extra time is built in.
  • Lamp states are shown as 1 and 0 in text; read each bit aloud from left to right.

Rubric

CriterionDevelopingSecureExcellent
Science and mathsReads some binary numbers.Converts binary correctly and explains overflow.Explains ripple carry and why it is slow for many bits.
EvidenceToggles some inputs.Proves a half adder correct for every row.Finds and explains a worst-case ripple.
Design decisionBuilds XOR with help.Builds XOR from NAND and explains it.Builds XOR in four NANDs and argues why fewer is better on a chip.
CommunicationShares a result when prompted.Explains the result and one reason for it in their own words.Explains the result, the evidence and the trade-off clearly enough for a classmate to repeat it.

Feedback for learners, not a public score. No leaderboards.

Answer key (facilitator only)

  • 1101 = 13, 0110 = 6, 1001 = 9.
  • Largest 4-bit value is 15; 1111 + 1 = 0000 with carry out 1.
  • XOR needs four NAND gates.

Follow-up activity

BUILD 008 Level 4 (program the processor). This is the halfway point of the year: look back at Build Night 1 and find the microcontroller in the washing machine.

Worksheet: Build a Virtual Computer

Name or nickname: ______________________ Level: ____________

  1. Convert 1101, 0110 and 1001 to ordinary numbers.
  2. What is the largest number 4 bits can hold? What happens when you add 1 to it?
  3. Fill in the half-adder truth table.
  4. How many NAND gates did your XOR use?
  5. Trace LOAD, ADD, HALT: what is in register A after each step?