Worked solution from the Hardware and Virtual Machines Paper 3 Advanced Theory booklet, Part 2 of 2.
Pick the rows where Z = 1 and write one product for each row. NOT is written before a letter.
Rows with Z = 1 are ABCD = 1001, 1011, 1100, 1101, 1110 and 1111.
Z = A . NOT B . NOT C . D + A . NOT B . C . D [1]
+ A . B . NOT C . NOT D + A . B . NOT C . D [1]
+ A . B . C . NOT D + A . B . C . D [1]
One mark for each two correct products.
Put each Z value in the cell for its AB column and CD row. Columns and rows go in Gray code order (00, 01, 11, 10).
| CD \ AB | 00 | 01 | 11 | 10 |
|---|---|---|---|---|
| 00 | 0 | 0 | 1 | 0 |
| 01 | 0 | 0 | 1 | 1 |
| 11 | 0 | 0 | 1 | 1 |
| 10 | 0 | 0 | 1 | 0 |
Two columns correct (for example AB = 00 and 01) [1]
The other two columns correct (AB = 11 and 10) [1]
Make the biggest groups of 1s (sizes 1, 2, 4, 8) that you can.
Loop the whole AB = 11 column (four 1s) [1]
Loop the four 1s in the block AB = 11 and 10 with CD = 01 and 11 [1]
The AB = 11 column: A and B stay the same, C and D change, so the term is A . B.
The block: A stays 1 and D stays 1, so the term is A . D.
Term A . B [1]
Term A . D, joined with + and no other terms: Z = A . B + A . D [1]
Take out the common A: Z = A . (B + D) [1]
▶ 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.