9618/13/O/N/22 question 5: worked solution (October/November 2022, paper 13)
Show as plain textHide plain text
Cambridge AS Level Computer Science 9618 · 3.2 Logic Gates and Logic Circuits Worked solution from the Hardware Paper 1 Theory Fundamentals booklet, Part 2 of 2. Q48 9618/13/O/N/22 original Q5 Structured · 5 marks Worked solution (a) Split the expression into small gates. X = NOT (NOT (A AND B) OR NOT (B AND C)). Draw: An AND gate with inputs A and B, then a NOT gate on its output: NOT (A AND B) [1] An AND gate with inputs B and C, then a NOT gate on its output: NOT (B AND C) [1] An OR gate taking both NOT outputs, then a NOT gate on its output. This output is X [1] A NAND gate may be drawn in place of an AND gate followed by a NOT gate. (b) Y = (NOT P AND Q) OR (Q AND NOT R). The first bracket is 1 when P = 0 and Q = 1. The second is 1 when Q = 1 and R = 0. P Q R Y 0 0 0 0 0 0 1 0 0 1 0 1 0 1 1 1 1 0 0 0 1 0 1 0 1 1 0 1 1 1 1 0 First four rows correct [1] Last four rows correct [1] KEY IDEA Build a circuit one bracket at a time, from the inside out. TOTAL 5 marks Official mark scheme VIDEO ▶ Topic lesson A lesson on this topic · by ZAINEMATICS. Tap the picture to open it on YouTube.