A Boolean expression is a mathematical expression that produces a TRUE or FALSE result. These use Boolean operators to combine inputs.
Ā or NOT AA · B or A AND BA + B or A OR BA ⊕ BExpressions can be combined: (A AND B) OR (NOT C)
To build a truth table for a multi-gate expression, work through it column by column, calculating intermediate values at each stage.
Step 1: List all input combinations (2 inputs = 4 rows)
Step 2: Calculate intermediate columns: A AND B then NOT A
Step 3: Calculate final output: (A AND B) OR (NOT A)
| A | B | A AND B | NOT A | (A AND B) OR (NOT A) |
|---|---|---|---|---|
| 0 | 0 | 0 | 1 | 1 |
| 0 | 1 | 0 | 1 | 1 |
| 1 | 0 | 0 | 0 | 0 |
| 1 | 1 | 1 | 0 | 1 |
With 3 inputs (A, B, C), there are 2³ = 8 rows. Always list inputs in binary counting order:
| A | B | C | Example: A AND B AND C |
|---|---|---|---|
| 0 | 0 | 0 | 0 |
| 0 | 0 | 1 | 0 |
| 0 | 1 | 0 | 0 |
| 0 | 1 | 1 | 0 |
| 1 | 0 | 0 | 0 |
| 1 | 0 | 1 | 0 |
| 1 | 1 | 0 | 0 |
| 1 | 1 | 1 | 1 |
Exam questions often show a logic gate diagram and ask you to complete the truth table or identify the Boolean expression. Steps:
These two rules are important for simplifying Boolean expressions:
In other words: NAND = NOT-AND = (NOT A) OR (NOT B) and NOR = NOT-OR = (NOT A) AND (NOT B).
8 Edexcel-style questions · instantly marked
| Term | Definition |
|---|
Timed exam-style test.