9618/12/O/N/24 question 1: worked solution (October/November 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. Q58 9618/12/O/N/24 original Q1 Structured · 4 marks Worked solution (a) Work out each part of the expression first: A B C A XOR B B XOR C A AND (B XOR C) X 0 0 0 0 0 0 1 0 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 1 1 0 0 1 1 0 0 1 0 0 1 1 0 1 1 1 1 0 1 1 0 0 1 1 1 1 1 1 0 0 0 1 X correct for the rows with A = 0 [1] X correct for the rows with A = 1 (only 1 0 1 gives X = 0) [1] (b) Build the two brackets, join them with XOR, then NAND with P. Draw a XOR gate with inputs P and Q, and an OR gate with inputs Q and (NOT R), using a NOT gate on R. [1] Draw a second XOR gate taking the outputs of those two gates, then a NAND gate taking P and the second XOR output, giving W. [1] KEY IDEA Work out each bracket in its own column, then combine them. TOTAL 4 marks Official mark scheme VIDEO ▶ Topic lesson A lesson on this topic · by ZAINEMATICS. Tap the picture to open it on YouTube.