2210/22/O/N/25 question 6: worked solution (October/November 2025, paper 22)

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 2 Algorithms, Programming and Logic booklet, Part 3 of 3. Q25 2210/22/O/N/25 original Q6 Structured · 8 marks Worked solution (a) Break the expression into small parts and work from the inputs to X. Each gate has at most two inputs. Gate 1: a NOT gate with input K. [1] Gate 2: a NOT gate with input L. [1] Gate 3: an XOR gate with inputs J and the output of the NOT gate on K. [1] Gate 4: a NAND gate with inputs the output of the XOR gate and the output of the NOT gate on L. Its output is X. [1] (b) Work out each part in the working space: A = NOT K, B = J XOR A, C = NOT L, then X = B NAND C. NAND gives 0 only when both inputs are 1. J K L A = NOT K B = J XOR A C = NOT L X 0 0 0 1 1 1 0 0 0 1 1 1 0 1 0 1 0 0 0 1 1 0 1 1 0 0 0 1 1 0 0 1 0 1 1 1 0 1 1 0 0 1 1 1 0 0 1 1 0 1 1 1 0 1 0 1 Write the X column as: 0, 1, 1, 1, 1, 1, 0, 1 . First two rows correct [1] Next two rows correct [1] Next two rows correct [1] Last two rows correct [1] Marks are given by how many of the 8 outputs are right: 8 correct = 4 marks, 6 or 7 = 3, 4 or 5 = 2, 2 or 3 = 1. KEY IDEA Build the circuit gate by gate from the brackets, then work out each gate's output in the working space before the final gate. TOTAL 8 marks Official mark scheme VIDEO ▶ Whole paper Video solution of the whole paper · by MAK CS. Tap the picture to open it on YouTube.