Boolean logic is a system of logic where values can only be TRUE (1) or FALSE (0). It is the foundation of how computers process data — every bit in a computer is either 0 or 1, and Boolean operations are performed by logic gates built into the CPU's ALU.
AQA requires knowledge of three gates: AND, OR, and NOT.
Output is 1 only if ALL inputs are 1. Like a series circuit — every switch must be closed.
| A | B | Output |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 0 |
| 1 | 0 | 0 |
| 1 | 1 | 1 |
Memory: AND = all must be true
Output is 1 if AT LEAST ONE input is 1. Like a parallel circuit — any switch closes the circuit.
| A | B | Output |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 1 |
Memory: OR = any will do
Inverts the input. One input only. Also called an inverter.
| A | Output |
|---|---|
| 0 | 1 |
| 1 | 0 |
Memory: NOT = flip it
Logic circuits can be described using Boolean expressions:
| Gate | Boolean expression | AQA notation |
|---|---|---|
| AND | A AND B | A · B or A AND B |
| OR | A OR B | A + B or A OR B |
| NOT | NOT A | Ā or NOT A |
Multiple gates can be combined into a logic circuit. To find the output, evaluate each gate in turn from left to right (inputs to output).
Example: X = (A AND B) OR (NOT C)
For n inputs, a truth table has 2n rows. List inputs in binary counting order (000, 001, 010, ...). Add intermediate columns to work out complex expressions.
Example truth table: Q = NOT A AND B
| A | B | NOT A | Q = NOT A AND B |
|---|---|---|---|
| 0 | 0 | 1 | 0 |
| 0 | 1 | 1 | 1 |
| 1 | 0 | 0 | 0 |
| 1 | 1 | 0 | 0 |
8 questions · 20 marks
| Term | Definition |
|---|
Timed exam conditions.