2210/12/O/N/21 question 11: worked solution (October/November 2021, paper 12)

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. Q8 2210/12/O/N/21 original Q11 Structured · 11 marks Worked solution (a) Build the circuit from the inside of the brackets outwards. Every gate has at most two inputs. Draw these gates: AND gate with inputs A and B [1] OR gate with inputs B and C [1] NOT gate whose input is the output of the OR gate [1] OR gate whose inputs are the output of the AND gate and the output of the NOT gate [1] NAND gate whose inputs are the output of that second OR gate and C; its output is X [1] (b) Work out each part of the statement for every row, then combine them: A B C A AND B B OR C NOT (B OR C) OR of the two X 0 0 0 0 0 1 1 1 0 0 1 0 1 0 0 1 0 1 0 0 1 0 0 1 0 1 1 0 1 0 0 1 1 0 0 0 0 1 1 1 1 0 1 0 1 0 0 1 1 1 0 1 1 0 1 1 1 1 1 1 1 0 1 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. (c) The statement uses AND, OR, NOT and NAND. Two gates that are missing are: NOR [1] XOR (also written EOR) [1] Both gates must be different from AND, OR, NOT and NAND. KEY IDEA Work the truth table out column by column, one bracket at a time, and build circuits from the innermost brackets outwards. TOTAL 11 marks Official mark scheme VIDEO ▶ Whole paper Video solution of the whole paper · by Level Up with Aqeel Ahmed: CS Edition. Tap the picture to open it on YouTube.