9618/12/M/J/24 question 1: worked solution (May/June 2024, paper 12)
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. Q56 9618/12/M/J/24 original Q1 Structured · 6 marks Worked solution (a) Say what the output is for each input pattern. Write one clear sentence per gate. NAND : the output is 0 when both inputs are 1 , otherwise the output is 1 [1] NOR : the output is 1 when both inputs are 0 , otherwise the output is 0 [1] XOR : the output is 1 when one input is 1 and the other is 0 , otherwise the output is 0 [1] OR : the output is 0 when both inputs are 0 , otherwise the output is 1 [1] (b) Brackets first: two AND gates, then an OR gate, then a NOT gate on the result. Draw an AND gate with inputs A and B, and a second AND gate with inputs C and D. [1] Draw an OR gate that takes the outputs of the two AND gates, then a NOT gate on the OR output, giving X. Use no extra gates. [1] KEY IDEA Describe each gate by the one input pattern that is different, and build a circuit from the brackets outwards. TOTAL 6 marks Official mark scheme VIDEO ▶ Starts at Q1 (0:31) Starts at Q1 (0:31) · by Pseudocode Pro. Tap the picture to open it on YouTube.