2210/11/M/J/20 question 2: worked solution (May/June 2020, paper 11)

Show as plain text

Cambridge O Level Computer Science 2210 · 10.3 Logic circuits, truth tables and logic expressions Worked solution from the Boolean logic Paper 1 Computer Systems booklet, Part 2 of 2. Q2 2210/11/M/J/20 original Q2 Structured · 9 marks Worked solution (a) Build the circuit from the inside of the brackets outwards. Every gate has at most two inputs. Draw these gates: NAND gate with inputs A and B [1] XOR gate with inputs B and C [1] OR gate whose inputs are the outputs of the NAND gate and the XOR gate [1] NOT gate with input C [1] AND gate whose inputs are the output of the OR gate and the output of the NOT gate; its output is X [1] (b) Work out each part of the statement for every row, then combine them: A B C A NAND B B XOR C (A NAND B) OR (B XOR C) NOT C X 0 0 0 1 0 1 1 1 0 0 1 1 1 1 0 0 0 1 0 1 1 1 1 1 0 1 1 1 0 1 0 0 1 0 0 1 0 1 1 1 1 0 1 1 1 1 0 0 1 1 0 0 1 1 1 1 1 1 1 0 0 0 0 0 All 8 outputs correct [4] Marks are also given for part of the column: 6 or 7 correct outputs score 3, 4 or 5 score 2, 2 or 3 score 1. KEY IDEA Each bracket becomes one gate, working from the inside out; the final gate gives X. TOTAL 9 marks Official mark scheme VIDEO ▶ Topic lesson A lesson on this topic · by Mr Bulmer's Learning Zone. Tap the picture to open it on YouTube.