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

Show as 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. Q54 9618/13/O/N/23 original Q4 Structured · 4 marks Worked solution (a) Work out the two brackets, XOR them, then AND with NOT P. P Q R P AND Q (NOT Q) OR R XOR Y 0 0 0 0 1 1 1 0 0 1 0 1 1 1 0 1 0 0 0 0 0 0 1 1 0 1 1 1 1 0 0 0 1 1 0 1 0 1 0 1 1 0 1 1 0 1 0 1 0 1 1 1 1 1 0 0 First four rows of Y (1, 1, 0, 1) correct [1] Last four rows of Y (0, 0, 0, 0) correct [1] (b) Draw: P and Q into an AND gate. Q into a NOT gate, then the NOT output and R into an OR gate. Join the AND output and the OR output with an XOR gate. P goes into a NOT gate. The XOR output and the NOT P output go into a final AND gate. Its output is Y. P AND Q and (NOT Q) OR R correct [1] NOT gate, XOR gate and final AND gate correct [1] KEY IDEA Build the circuit in the order of the brackets: inner gates first, then the XOR, then the final AND with NOT P. TOTAL 4 marks Official mark scheme VIDEO ▶ Starts at Q4 (29:28) Starts at Q4 (29:28) · by Pseudocode Pro. Tap the picture to open it on YouTube.