Caffeinated Coder
Book an appointment
Lesson 12 · Logic gates

Simplifying logic: truth tables and K-maps

Turn a rule (a porch light that comes on when the door is open and it is dark, or when the override is on) into a truth table, then into a sum of products, and build it from gates: 9 of them. Then shrink it to 2 gates, first with a few Boolean algebra rules and then with a Karnaugh map, and see why fewer gates are cheaper, faster and use less power.

12 min11 steps5 questionsBeginner
Fig 12 · Interactive
Loading figure…
or ← →

Quiz Unlocks after the last step.