2210/11/M/J/21 question 6: worked solution (May/June 2021, 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. Q6 2210/11/M/J/21 original Q6 Structured · 10 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] NOT gate with input B [1] AND gate with inputs C and the output of the NOT B gate [1] OR gate whose inputs are the outputs of the two AND gates [1] NOT gate with input C [1] XOR gate whose inputs are the output of the OR gate and the output of the NOT C gate; its output is X [1] (b) Work out the correct X for every row: A B C A AND B C AND NOT B OR of both NOT C X 0 0 0 0 0 0 1 1 0 0 1 0 1 1 0 1 0 1 0 0 0 0 1 1 0 1 1 0 0 0 0 0 1 0 0 0 0 0 1 1 1 0 1 0 1 1 0 1 1 1 0 1 0 1 1 0 1 1 1 1 0 1 0 1 Compare with the given outputs: Row A B C Correct X Given X Match? 1 0 0 0 1 0 NO 2 0 0 1 1 1 yes 3 0 1 0 1 0 NO 4 0 1 1 0 1 NO 5 1 0 0 1 0 NO 6 1 0 1 1 1 yes 7 1 1 0 0 0 yes 8 1 1 1 1 1 yes Write: Row 1 , Row 3 , Row 4 , Row 5 (one mark for each correct row) [4] Any order is accepted. KEY IDEA To find errors in a truth table, work out the correct column yourself and compare row by row. TOTAL 10 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.