2210/22/M/J/24 question 8: worked solution (May/June 2024, paper 22)
Show as plain textHide 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. Q20 2210/22/M/J/24 original Q8 Structured · 7 marks Worked solution (a) The safe opens only when key A is used (A = 1), key B is used (B = 1) and the time switch is off (C = 0). Write each condition and join them with AND. A time switch that is off means NOT C. Write: X = (A AND B) AND NOT C Start the answer with X = [1] A AND B [1] AND NOT C [1] (b) X is 1 only when A = 1, B = 1 and C = 0. A B C A AND B NOT C X 0 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 1 0 0 1 1 0 0 0 1 0 0 0 1 0 1 0 1 0 0 0 1 1 0 1 1 1 1 1 1 1 0 0 Outputs for the first two rows correct [1] Outputs for the third and fourth rows correct [1] Outputs for the fifth and sixth rows correct [1] Outputs for the 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 Turn each condition in the sentence into a term (use NOT where the input must be 0) and join them with AND. TOTAL 7 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.