Math · Intermediate · Lesson 2 of 7
One Gate to Rule Them All
NAND is universal
An interactive lesson with 6 steps, about 5 minutes: you predict, drag and solve, with instant feedback on every answer. It runs in your browser and needs JavaScript.
What you’ll learn
- NAND = NOT AND. NAND with both inputs tied together is NOT.
- De Morgan: NOT(A AND B) = NOT A OR NOT B, and NOT(A OR B) = NOT A AND NOT B.
- NAND alone can build any logic circuit.
Steps
- NAND
- NOT from NAND
- AND from NANDs
- De Morgan’s laws
- XOR from NAND
- OR from NANDs