AQA · GCSE · Computer Science
Course version: 8525 · Version from Sept 2020
Construct truth tables for simple logic circuits using combinations of…
Full specification wording
Boolean logic: Construct truth tables for simple logic circuits using combinations of NOT, AND, OR and XOR gates.
To construct a truth table for a simple circuit, first identify every input and list all input combinations in binary counting order: two inputs give 4 rows (00, 01, 10, 11), three inputs give 8 rows.
Checked against the AQA 8525 specification (opens in a new tab) on .
- Point 6 of 16
Study notes
From the checked teaching notes for this specification point.
The idea
To construct a truth table for a simple circuit, first identify every input and list all input combinations in binary counting order: two inputs give 4 rows (00, 01, 10, 11), three inputs give 8 rows. Add a working column for each gate output, working from the inputs towards the final output. Apply each gate's rule: NOT inverts its single input; AND gives 1 only when all its inputs are 1; OR gives 1 when at least one input is 1; XOR gives 1 only when its inputs differ. For example, for A AND (NOT B), compute NOT B first, then AND it with A. Finally read off the output column. Check each row against the gate rules rather than guessing, and confirm the number of rows equals 2ⁿ for n inputs.
What earns the marks
- List all input combinations in binary order, with 2ⁿ rows for n inputs.
- Include a separate column for each intermediate gate output as well as the final output.
- Apply NOT by inverting the single input value.
- Apply AND as 1 only when all inputs are 1.
- Apply OR as 1 when at least one input is 1.
- Apply XOR as 1 only when the inputs differ.
- Evaluate gates in the correct order from inputs to final output.
Common mistakes and how to put them right
Omitting input combinations: the learner lists only some rows.
Put it right: For n inputs there must be 2ⁿ rows, e.g. 4 rows for two inputs.
Skipping intermediate columns: the learner jumps straight to the final output and makes errors.
Put it right: Add a working column for each gate output.
Applying AND as if it were OR: the learner gives 1 when only one input is 1. Correction: AND requires all inputs to be 1.
Evaluating gates in the wrong order.
Put it right: Work from the inputs through each gate towards the final output.
Exam tips
- Count the inputs first and write 2ⁿ rows before filling any values.
- Add labelled working columns for each gate to reduce mistakes.
- Recheck the final column row by row against each gate rule.
Try the lesson
The start of the Boolean logic: Construct truth tables for simple logic circuits using combinations of NOT, AND, OR and XOR gates. lesson, made from checked teaching notes for this specification point.
Have a go first
A circuit has two inputs A and B feeding an AND gate, and the AND output feeds a NOT gate to give Q. How many rows are needed in the truth table for this circuit, excluding any header row?
There is more to this lesson
The full lesson goes on to check your understanding and help you earn the marks. Create a free account to carry on, with your progress saved.
A week of Premium from your first lesson · Then the free plan continues · No card, no charge
Test your understanding of Boolean logic: Construct truth tables for simple logic circuits using combinations of NOT, AND, OR and XOR gates.
Active recall beats re-reading. Take an instant quiz now to test what you’ve learned and lock it into long-term memory.
A week of Premium from your first lesson · Then the free plan continues · No card, no charge