Skip to content
Tactiverge
  1. Stage 1
  2. Stage 2
  3. Stage 3 (this one)
  4. Stage 4
  5. Stage 5
  6. Stage 6
  7. Stage 7
  8. Stage 8
  9. Stage 9
  10. Stage 10
  11. Stage 11
  12. Stage 12
  13. Stage 13
  14. Stage 14
  15. 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

Truth table for A AND NOT B: choose your predicted Y for each row
ABYour Y
00
01
10
11

Check yourself

Marked instantly in your browser. Use the interactive above to work it out.

  1. 1. How many rows does the truth table of a 4-input circuit have?
  2. 2. Which is equivalent to NOT (A AND B)?