Worked solution from the Hardware Paper 1 Theory Fundamentals booklet, Part 2 of 2.
Follow the circuit from the inputs: A and B go into an AND gate, its output and C go into an XOR gate, and that output goes into an OR gate with NOT B.
Write: A AND B [1]
Write: XOR C on that result [1]
Write the final OR with NOT B: X = ((A AND B) XOR C) OR NOT B [1]
Work out each stage:
| A | B | C | A AND B | (A AND B) XOR C | NOT B | X |
|---|---|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 0 | 1 | 1 |
| 0 | 0 | 1 | 0 | 1 | 1 | 1 |
| 0 | 1 | 0 | 0 | 0 | 0 | 0 |
| 0 | 1 | 1 | 0 | 1 | 0 | 1 |
| 1 | 0 | 0 | 0 | 0 | 1 | 1 |
| 1 | 0 | 1 | 0 | 1 | 1 | 1 |
| 1 | 1 | 0 | 1 | 1 | 0 | 1 |
| 1 | 1 | 1 | 1 | 0 | 0 | 0 |
First four rows of X correct (1, 1, 0, 1) [1]
Last four rows of X correct (1, 1, 1, 0) [1]
The circuit uses AND, XOR, OR and NOT. Choose a gate it does not use, for example NOR.
Logic gate: NOR [1]
Symbol: an OR gate shape with a small circle at the output, two inputs A and B [1]
| A | B | Output |
|---|---|---|
| 0 | 0 | 1 |
| 0 | 1 | 0 |
| 1 | 0 | 0 |
| 1 | 1 | 0 |
Truth table correct for the gate chosen [1]
NAND is also accepted: AND shape with a circle, output 1, 1, 1, 0.
▶ Whole paper
Video solution of the whole paper · by qiphyedu. Tap the picture to open it on YouTube.
Solutions follow the official Cambridge mark schemes; marks are shown in grey. Videos are from other YouTube channels. Paper codes read component / series / year: M/J = May/June, O/N = October/November. Past-paper questions © UCLES, reproduced for classroom practice.