Gates, algebra and canonical forms

Bits and logic gates, the laws of Boolean algebra, and how to write any truth table as a sum of minterms or a product of maxterms, with don't-cares.

About 7 hours of study

Learning objectives

Lessons

  1. 1

    Bits, logic gates and truth tables

    Why computers use two voltage levels, the seven basic logic gates, and truth tables that list a gate's output for every input.

  2. 2

    Boolean algebra

    The laws of Boolean algebra, De Morgan's laws, simplifying expressions by hand, and proving any identity with a truth table.

  3. 3

    Minterms, maxterms and canonical forms

    Turn any truth table into a formula: a sum of minterms (SOP) from its 1s, or a product of maxterms (POS) from its 0s.

Module practice

Module quiz

1. How many rows does the truth table of a 3-input gate have?
2. Which gate gives 1 only when both of its inputs are 1?
3. By De Morgan's law, (AB + C)' is equal to:
4. What does AB + AB' simplify to?
5. A function of 3 variables is 1 only on rows 0, 3 and 5. Which rows does its product of maxterms list?
6. A 4-variable function is 1 on 6 rows and is don't-care on 4 rows. On how many rows is it 0?

Karnaugh maps and universal gates ›