Tap a switch to flip it between 0 and 1
Logic gates work on bits: 0 (off, false) and 1 (on, true).
A half adder adds two bits: Sum = A ⊕ B, Carry = A·B. A full adder also adds a carry-in, so adders can be chained to add whole binary numbers.
NAND and NOR are “universal”: any circuit can be built from NAND gates alone.
Link to Class 12 Physics (logic gates from diodes and transistors) and Class 11–12 Computer Science (Boolean algebra).
Mystery mode makes a good starter: pairs race to name the hidden gate in as few tests as possible.
A free coding & ai simulation for Class 6–12 and Olympiad.