Worked solution from the Hardware Paper 1 Theory Fundamentals booklet, Part 2 of 2.
Work out each part of the expression first:
| A | B | C | A XOR B | B XOR C | A AND (B XOR C) | X |
|---|---|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 0 | 0 | 1 |
| 0 | 0 | 1 | 0 | 1 | 0 | 1 |
| 0 | 1 | 0 | 1 | 1 | 0 | 1 |
| 0 | 1 | 1 | 1 | 0 | 0 | 1 |
| 1 | 0 | 0 | 1 | 0 | 0 | 1 |
| 1 | 0 | 1 | 1 | 1 | 1 | 0 |
| 1 | 1 | 0 | 0 | 1 | 1 | 1 |
| 1 | 1 | 1 | 0 | 0 | 0 | 1 |
X correct for the rows with A = 0 [1]
X correct for the rows with A = 1 (only 1 0 1 gives X = 0) [1]
Build the two brackets, join them with XOR, then NAND with P.
Draw a XOR gate with inputs P and Q, and an OR gate with inputs Q and (NOT R), using a NOT gate on R. [1]
Draw a second XOR gate taking the outputs of those two gates, then a NAND gate taking P and the second XOR output, giving W. [1]
▶ Topic lesson
A lesson on this topic · by ZAINEMATICS. 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.