9618/32/O/N/25 question 6: worked solution (October/November 2025, paper 32)
Show as plain textHide plain text
Cambridge A2 Level Computer Science 9618 · 15.2 Boolean Algebra and Logic Circuits Worked solution from the Hardware and Virtual Machines Paper 3 Advanced Theory booklet, Part 2 of 2. Q35 9618/32/O/N/25 original Q6 Structured · 9 marks Worked solution (a) 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] (b)(i) 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] (b)(ii) 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). (b)(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] KEY IDEA A lone 1 in a K-map that touches no other 1 stays as a full product term. TOTAL 9 marks Official mark scheme VIDEO ▶ Whole paper Video solution of the whole paper · by Zafar Ali Khan (ZAK). Tap the picture to open it on YouTube.