9618/33/M/J/24 question 6: worked solution (May/June 2024, paper 33)
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. Q27 9618/33/M/J/24 original Q6 Structured · 10 marks Worked solution (a) Work out P (NOT B), Q, R and S for each row, then Z = Q OR R OR S. A B C P Q R S Z 0 0 0 1 0 0 1 1 0 0 1 1 0 0 1 1 0 1 0 0 0 0 0 0 0 1 1 0 0 0 0 0 1 0 0 1 0 0 0 0 1 0 1 1 0 1 0 1 1 1 0 0 0 0 1 1 1 1 1 0 1 0 1 1 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) Write a product for each row where Z = 1 (rows 000, 001, 101, 110, 111). A 0 input gets NOT. Z = NOT A . NOT B . NOT C + NOT A . NOT B . C + A . NOT B . C + A . B . NOT C + A . B . C All five terms correct and no extra terms (any three correct terms scores [1] ) [2] (c)(i) Put a 1 in the cell for each term in the expression. A \ BC 00 01 11 10 0 1 1 0 0 1 1 1 1 1 All cells correct (one error scores 1) [2] (c)(ii) Loop 1: the whole bottom row (A = 1) of four 1s [1] Loop 2: the 2 × 2 block with A = 0 or 1 and BC = 00 or 01 (four 1s) [1] (c)(iii) Bottom row: A = 1 stays the same, so the term is A. The 2 × 2 block: B = 0 stays the same, so the term is NOT B. Write: Z = A + NOT B [1] KEY IDEA Write a product for each row where the output is 1, put those 1s on the K-map, and loop the biggest groups to get a short expression. TOTAL 10 marks Official mark scheme VIDEO ▶ Whole paper Video solution of the whole paper · by CsWithMym. Tap the picture to open it on YouTube.