Worked solution from the Hardware and Virtual Machines Paper 3 Advanced Theory booklet, Part 2 of 2.
Work out P, Q, R and S gate by gate for each row, then Z (the output of the last OR gate).
| A | B | C | P | Q | R | S | Z |
|---|---|---|---|---|---|---|---|
| 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 |
| 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 |
| 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 |
| 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 |
| 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 |
| 1 | 0 | 1 | 1 | 0 | 1 | 0 | 1 |
| 1 | 1 | 0 | 0 | 1 | 1 | 0 | 1 |
| 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 |
Working columns P, Q, R and S all correct [1]
Z correct for the first four rows [1]
Z correct for the last four rows [1]
Put a 1 in the cell for each product: 001, 011, 101, 110 (A, B, C). Columns are BC in Gray code order (00, 01, 11, 10).
| A \ BC | 00 | 01 | 11 | 10 |
|---|---|---|---|---|
| 0 | 0 | 1 | 1 | 0 |
| 1 | 0 | 1 | 0 | 1 |
Row A = 0 correct [1]
Row A = 1 correct [1]
Loop the groups of 1s.
Loop 1: the two 1s in row A = 0, columns BC = 01 and BC = 11 [1]
Loop 2: the two 1s in column BC = 01 (both rows) [1]
Also circle the lone 1 at A = 1, BC = 10 on its own: it gives the third term in part (iii).
Loop 1 has A = 0 and C = 1. Loop 2 has B = 0 and C = 1. The single 1 is A = 1, B = 1, C = 0.
NOT A . C + NOT B . C + A . B . NOT C
One correct term with a + sign [1]
All terms and operators correct 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.