9618/11/O/N/23 question 4: worked solution (October/November 2023, paper 11)
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. Q52 9618/11/O/N/23 original Q4 Structured · 4 marks Worked solution (a) Simplify first. NOT (A NAND B) is the same as A AND B . NOT B AND (B NOR C) is the same as NOT B AND NOT C . X is the XOR of those two. A B C A AND B NOT B AND NOT C X 0 0 0 0 1 1 0 0 1 0 0 0 0 1 0 0 0 0 0 1 1 0 0 0 1 0 0 0 1 1 1 0 1 0 0 0 1 1 0 1 0 1 1 1 1 1 0 1 First four rows of X (1, 0, 0, 0) correct [1] Last four rows of X (1, 0, 1, 1) correct [1] (b) Build the circuit from the inside out, using inputs A, B and C: B OR C goes into a NOT gate. A and the output of that NOT gate go into the first AND gate. B and C also go into a NOR gate. The output of the first AND gate and the output of the NOR gate go into a second AND gate. Its output is X. Both AND gates correct [1] NOT gate, OR gate and NOR gate correct [1] KEY IDEA Simplify NAND and NOR parts first, then work out each row, or build a circuit gate by gate from the inside brackets outwards. TOTAL 4 marks Official mark scheme VIDEO ▶ Starts at Q4 (39:53) Starts at Q4 (39:53) · by Pseudocode Pro. Tap the picture to open it on YouTube.