Learning Objectives
- Determine the correct number and order of input combinations.
- Construct truth tables for one, two and three inputs.
- Use intermediate columns to evaluate multi-gate expressions.
- Complete tables accurately from statements, expressions and circuits.
Key Terms
- Truth table
- A table showing the output for every possible binary input combination.
- Input combination
- One possible set of 0 and 1 values for all inputs.
- Intermediate column
- A column showing the output of one gate within a larger circuit.
- Standard order
- A systematic sequence of input rows, such as 000 to 111 for three inputs.
- Complete table
- A table containing every possible input combination exactly once.
- Trace
- To calculate each output in logical order.

Number Of Rows
A truth table must include every possible combination of input values. With one input there are 2 rows. With two inputs there are 4 rows. With three inputs there are 8 rows. This follows 2 raised to the number of inputs.
The syllabus limits logic circuits to a maximum of three inputs, so candidates need truth tables of at most eight input rows. The heading row is not counted as an input combination.
If an expression uses the same variable more than once, it is still one input variable. For example, (A AND B) OR (NOT A) has two inputs, A and B, and therefore four rows.
Standard Input Order For Two Inputs
| Row | A | B |
|---|---|---|
| 1 | 0 | 0 |
| 2 | 0 | 1 |
| 3 | 1 | 0 |
| 4 | 1 | 1 |
Standard Input Order For Three Inputs
| Row | A | B | C |
|---|---|---|---|
| 1 | 0 | 0 | 0 |
| 2 | 0 | 0 | 1 |
| 3 | 0 | 1 | 0 |
| 4 | 0 | 1 | 1 |
| 5 | 1 | 0 | 0 |
| 6 | 1 | 0 | 1 |
| 7 | 1 | 1 | 0 |
| 8 | 1 | 1 | 1 |
A Reliable Pattern Method
For three inputs, A changes least often: four 0s followed by four 1s. B changes every two rows: 0,0,1,1 repeated. C changes every row: 0,1 repeated.
This pattern ensures that no combination is missed or duplicated. It also matches the example ordering given in the Cambridge syllabus.
If a question already provides input rows in a different order, do not rearrange them; calculate the output for the rows as printed.
Using Intermediate Columns
For X = (A AND B) OR (NOT C), use one column P = A AND B, another column Q = NOT C, and then the final column X = P OR Q.
Each row should be processed gate by gate. Intermediate columns reduce mental load and reveal where an error occurred.
The intermediate column headings should state the exact operation so that the marker can follow the method.
Worked Table Structure
| A | B | C | P = A AND B | Q = NOT C | X = P OR Q |
|---|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 1 | 1 |
| 0 | 0 | 1 | 0 | 0 | 0 |
| 0 | 1 | 0 | 0 | 1 | 1 |
| 0 | 1 | 1 | 0 | 0 | 0 |
| 1 | 0 | 0 | 0 | 1 | 1 |
| 1 | 0 | 1 | 0 | 0 | 0 |
| 1 | 1 | 0 | 1 | 1 | 1 |
| 1 | 1 | 1 | 1 | 0 | 1 |
Truth Table From A Circuit
Follow the circuit from left to right. Give each gate output a temporary label. Add a table column for each labelled result. The final column is the circuit output.
If two gates are independent and both feed a final gate, calculate both intermediate outputs before the final output. Do not calculate the final gate using original inputs unless the wires connect directly.
A branch copies a signal and does not require a new independent input column.
Truth Table From A Problem Statement
First define each input variable and when it equals 1. Translate the statement into an expression or circuit. Then generate all input rows and evaluate the rule.
For example, a warning sounds when both A and B are true or when C is not true. This gives X = (A AND B) OR (NOT C), which can be evaluated using the table shown.
Checking the statement against selected rows is a useful verification step. For A = 0, B = 0, C = 0, the NOT C condition is true, so the warning should be 1.
Checking A Completed Table
Confirm the correct row count, confirm no repeated input combinations, check each intermediate column against its gate truth table, and finally verify a few output rows directly from the original statement.
For a two-input gate, the output pattern can also be compared with known patterns: AND 0001, OR 0111, NAND 1110, NOR 1000, XOR 0110 in standard 00,01,10,11 order.
Worked Examples
Choosing The Row Count
Question: How many input rows are required for inputs A, B and C?
- There are three independent input variables.
- Calculate 2^3.
Answer: 8 input rows.
Completing One Row
Question: For A = 1, B = 0, C = 1, find X = (A OR B) AND (NOT C).
- A OR B = 1.
- NOT C = 0.
- 1 AND 0 = 0.
Answer: X = 0.
Examination Guidance
- Use 2^n to check the number of input rows.
- Write three-input rows in the 000 to 111 order unless another order is supplied.
- Add one intermediate column for each gate stage.
- Calculate from the innermost operation or earliest circuit gate outward.
- Check the final table against the original statement, not only the intermediate arithmetic.
Common Mistakes
- Missing an input combination.
- Duplicating a row.
- Treating an intermediate output as a new independent input.
- Applying the final gate before calculating its actual inputs.
- Using four rows for three inputs or eight rows for two inputs.
Knowledge Check
1. How many rows are needed for two inputs?
2. How many rows for three inputs?
3. What is the standard three-input order?
4. Why use intermediate columns?
5. Does a branched wire create a new input?