2210/12/O/N/22 question 7: worked solution (October/November 2022, paper 12)
Show as plain textHide plain text
Cambridge O Level Computer Science 2210 · 10.2 Functions of logic gates Worked solution from the Boolean logic Paper 1 Computer Systems booklet, Part 1 of 2. Q1 2210/12/O/N/22 original Q7 Structured · 6 marks Worked solution (a) Think about each gate's truth table and tick the statements that are true for it. Statement NAND OR XOR if both inputs are 1, the output is 1 ✓ if both inputs are different from each other, the output is 1 ✓ ✓ ✓ if both inputs are 0, the output is 0 ✓ ✓ if both inputs are the same as each other, the output is always 0 ✓ Row 1 correct: only OR ticked [1] Row 2 correct: NAND , OR and XOR all ticked [1] Row 3 correct: OR and XOR ticked [1] Row 4 correct: only XOR ticked [1] (b) Choose a gate that is not in the list, for example AND. Write: Logic gate: AND [1] A B Output 0 0 0 0 1 0 1 0 0 1 1 1 Truth table that matches the gate chosen [1] Another gate that is not in the list is also accepted if its truth table matches, but AND is the safest. KEY IDEA Learn the truth table of each gate: AND, OR, NOT, NAND, NOR and XOR. TOTAL 6 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.