Level/NAND Gate

From Turing Complete
Section Basic Logic
Type Component
Prerequisite Crude Awakening
Unlocks NOT Gate
NAND
Scored No
API nand_gate (3)

Time for the first level with an actual logic gate. This level asks you to figure out the behavior of the NAND gate.

NAND Gate Truth Table
Input One Input Two Output
0 0 1
0 1 1
1 0 1
1 1 0

As the truth table shows, a NAND gate returns true unless both inputs are true, then it returns false. So set the result accordingly and press the verify button.