Truth Tables
The inputs and outputs of logic gates such as the NAND and NOT (Inverter) gates shown earlier can be expressed in something called a truth table (from The Art Of Electronics, Paul Horowitz, Winfield Hill, ISBN: 0-521-37095-7):
| NAND | ||
|
A |
B |
Q |
|
0 |
0 |
1 |
|
0 |
1 |
1 |
|
1 |
0 |
1 |
|
1 |
1 |
0 |
| NOT | |
|
A |
Q |
|
0 |
1 |
|
1 |
0 |