Every case, written down
03Truth tables
- Stage 1
- Stage 2
- Stage 3 (this one)
- Stage 4
- Stage 5
- Stage 6
- Stage 7
- Stage 8
- Stage 9
- Stage 10
- Stage 11
- Stage 12
- Stage 13
- Stage 14
- Stage 15
Explanation
A truth table lists every combination of inputs and the output for each. With n inputs there are 2ⁿ rows, counted in binary order: 000, 001, 010, and so on.
Two circuits that produce the same truth table are equivalent, even if they are built differently. That is how engineers prove a smaller circuit can replace a bigger one. De Morgan's laws are the famous example: NOT(A OR B) is the same as (NOT A) AND (NOT B).
Predict every row, then check
Y = A · ¬B
| A | B | Your Y |
|---|---|---|
| 0 | 0 | |
| 0 | 1 | |
| 1 | 0 | |
| 1 | 1 |
Check yourself
Marked instantly in your browser. Use the interactive above to work it out.