Free
Universal Logic Gates Constructed from NAND or NOR
ElectronicsBuild NOT, AND, OR, XOR gates using only NAND or only NOR and see live...
Explore NOT, AND, OR, NAND, NOR, XOR gates with switches, LED, symbols, and an interactive live truth table.
Logic gates are the basic building blocks of digital circuits. In this simulation each gate – NOT, AND, OR, NAND, NOR and XOR – is shown as a set of switches and an LED that lights when the output is logical 1. Series and parallel wiring illustrate how AND and OR functions work, while the NOT gate uses a parallel switch that shorts the LED when closed.
Students click the switches to set the binary inputs A and B, watch the LED turn on or off, and see the gate symbol change colour (green for 1, grey for 0). The truth table view records each input combination in order, letting learners compare the observed output with the expected Boolean result for every gate type.
Through hands‑on experimentation students develop an intuitive understanding of Boolean logic, truth tables and how electrical current represents binary information. The activity links concepts from current electricity to digital electronics, reinforcing high‑school level physics and introductory computer science ideas.