Worked solution from the Hardware and Virtual Machines Paper 3 Advanced Theory booklet, Part 2 of 2.
Pick every row where X = 1 and write a product for each (NOT for inputs that are 0).
Rows: 0001, 0010, 0101, 0110, 1001, 1010, 1101, 1110
X = NOT A . NOT B . NOT C . D + NOT A . NOT B . C . NOT D + NOT A . B . NOT C . D + NOT A . B . C . NOT D + A . NOT B . NOT C . D + A . NOT B . C . NOT D + A . B . NOT C . D + A . B . C . NOT D
Three or four correct products [1]
Five, six or seven correct products [1]
All eight correct products and no extra products [1]
Fill the K-map from the truth table (Gray code order 00, 01, 11, 10).
| CD \ AB | 00 | 01 | 11 | 10 |
|---|---|---|---|---|
| 00 | 0 | 0 | 0 | 0 |
| 01 | 1 | 1 | 1 | 1 |
| 11 | 0 | 0 | 0 | 0 |
| 10 | 1 | 1 | 1 | 1 |
Rows CD = 00 and CD = 01 correct [1]
Rows CD = 11 and CD = 10 correct [1]
Loop the two rows of 1s.
Loop 1: the whole row CD = 01 (four cells) [1]
Loop 2: the whole row CD = 10 (four cells) [1]
In row CD = 01, C = 0 and D = 1. In row CD = 10, C = 1 and D = 0. A and B do not matter.
X = NOT C . D + C . NOT D
One correct term [1]
Both terms joined with + and no other terms [1]
▶ Whole paper
Video solution of the whole paper · by Zafar Ali Khan (ZAK). 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.