Worked solution from the Hardware and Virtual Machines Paper 3 Advanced Theory booklet, Part 2 of 2.
Pick every row where Z = 1 and write a product for each (NOT for inputs that are 0).
Rows: 0000, 0101, 0111, 1000, 1101, 1111
Z = NOT A . NOT B . NOT C . NOT D + NOT A . B . NOT C . D + NOT A . B . C . D + A . NOT B . NOT C . NOT D + A . B . NOT C . D + A . B . C . D
Any three correct products [1]
All six correct products [1]
Fill the K-map (Gray code order).
| CD \ AB | 00 | 01 | 11 | 10 |
|---|---|---|---|---|
| 00 | 1 | 0 | 0 | 1 |
| 01 | 0 | 1 | 1 | 0 |
| 11 | 0 | 1 | 1 | 0 |
| 10 | 0 | 0 | 0 | 0 |
Rows CD = 00 and CD = 01 correct [1]
Rows CD = 11 and CD = 10 correct [1]
Loop the groups of 1s.
Loop 1: the four 1s in columns AB = 01 and AB = 11, rows CD = 01 and CD = 11 [1]
Loop 2: the two 1s in row CD = 00, columns AB = 00 and AB = 10 (wrapping round the edge) [1]
Loop 1 has B = 1 and D = 1. Loop 2 has B = 0, C = 0, D = 0.
Z = B . D + NOT B . NOT C . NOT D
One correct term [1]
Both terms with + and no other terms [1]
▶ Topic lesson
A lesson on this topic · by Craig'n'Dave. 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.