Hardware
Computer Logic - NAND gate


The output of the NAND gate is a 0 if both inputs are 1 but a 1 if one or the other or both the inputs are 0.
A B C
0
0
1
1
0
1
0
1
1
1
1
0
Truth Table

Note: The NAND is like an AND gate combined with a NOT gate.

Click on the inputs to see how changing their logic state affects the output. All the possibilities are shown in the table called a 'Truth Table'.