Logic Gates & Boolean Algebra
Explore logic gates using interactive truth tables. Understand AND, OR, NOT, XOR, NAND, NOR, and XNOR with SOP forms.
Operators: AND OR NOT XOR NAND NOR XNOR — e.g. (A AND B) OR NOT C
| A | B | C | OUT |
|---|---|---|---|
| 0 | 0 | 0 | 1 |
| 0 | 0 | 1 | 0 |
| 0 | 1 | 0 | 1 |
| 0 | 1 | 1 | 0 |
| 1 | 0 | 0 | 1 |
| 1 | 0 | 1 | 0 |
| 1 | 1 | 0 | 1 |
| 1 | 1 | 1 | 1 |
Sum of Products (SOP)
NOT A AND NOT B AND NOT C OR NOT A AND B AND NOT C OR A AND NOT B AND NOT C OR A AND B AND NOT C OR A AND B AND C
// tutorial Step 1 / 6
-
The truth table generator evaluates any Boolean expression. The default expression is 'A AND B OR NOT C'. Try it — you should see 8 rows (2³ combinations).
Show hint
Type any expression using variables A–Z and operators: AND OR NOT XOR NAND NOR XNOR. Parentheses are supported.
Lesson complete! Well done.