9618/32/O/N/23 question 7: worked solution (October/November 2023, paper 32)

Show as 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. Q24 9618/32/O/N/23 original Q7 Structured · 5 marks Worked solution (a) The gate is a 3-input NOR, so X is 1 only when A, B and C are all 0. A B C X 0 0 0 1 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 0 X column correct [1] (b) De Morgan: break the bar and change + to . (AND). Write: X = NOT A . NOT B . NOT C [1] (c) Take X . Z out of the first two terms (distributive law). T = X . Z . (Y + NOT Y) + NOT X [1] Y + NOT Y = 1 (complement law), so T = X . Z . 1 + NOT X [1] X . Z . 1 = X . Z (identity law), so T = X . Z + NOT X Redundancy law: NOT X + X . Z = NOT X + Z Write: T = NOT X + Z [1] KEY IDEA Use De Morgan's laws to turn a bar over a sum into a product of NOTs, and the complement and redundancy laws to shrink expressions. TOTAL 5 marks Official mark scheme VIDEO ▶ Whole paper Video solution of the whole paper · by TEACHING BY SM. Tap the picture to open it on YouTube.