Build Nights / Night 9
Night 9 of 18Week 18 · Term 2: Robots and systemsProposed · no date yet
Build a Virtual Computer
Every app, game and website comes down to switches that are on or off. How do a few logic gates actually add two numbers?
This night is part of a proposed programme. It has not been scheduled and has not taken place. When it is scheduled it will appear on /live/. You can do everything below on your own, today.
The big 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?
In the real world
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.
Try it: the guided experiment
Everything runs in your browser. No real hardware, ever.
- BUILD 008 Level 1: show 13, 6 and 9 on the register and predict 1111 + 1.
- In the logic lab (/playground/logic/), run the guided experiment “Everything from NAND”.
- BUILD 008 Level 2: wire a half adder and read its live truth table.
- BUILD 008 Level 3: find two numbers whose carry ripples through all four columns.
The 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.
At your level
- Level 1 · ExplorerBUILD 008 Level 1: speak binary on the 4-bit register.
- Level 2 · BuilderBUILD 008 Level 2: NOT, XOR and a half adder from NAND.
- Level 3 · InnovatorBUILD 008 Level 3: the full adder and the rippling carry.
- Level 4 · Systems EngineerBUILD 008 Level 4: program the Nibble machine to multiply by repeated addition.
- Level 5 · Research EngineerBUILD 008 Level 5: investigate how the longest gate path grows with adder size, for at least four sizes.
What the model leaves out
Gates are ideal with a fixed delay per gate; real gates vary with temperature, voltage and load.
Where you’ll work
Watch first (optional)
- Representing Numbers and Letters with Binary: Crash Course Computer Science #4 (opens YouTube in a new tab)CrashCourse · 10 min 45 s · Level 2Shows how ones and zeros can stand for numbers and text, so binary stops feeling like magic.
- Learn how computers add numbers and build a 4 bit adder circuit (opens YouTube in a new tab)Ben Eater · 13 min 38 s · Level 3Shows step by step how a handful of gates add binary numbers, using real chips you can buy.
- The Central Processing Unit (CPU): Crash Course Computer Science #7 (opens YouTube in a new tab)CrashCourse · 11 min 37 s · Level 3Follows the fetch, decode and execute cycle so you can see how a CPU runs a program one instruction at a time.
Afterwards
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.
Everyone can take part
- 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.
- Lamp states are shown as 1 and 0 in text; read each bit aloud from left to right.
How the live session is kept safe
- A host and a separate adult supervisor are there for the whole hour.
- Your camera, microphone and chat stay off. Ask questions in the moderated box; they are read out without your name.
- Nobody will ask for your personal details, photos, school or location.
- Everything happens in a simulation or on paper. Never open or change a real device.
Running this with a group? Open the printable facilitator kit.