Cambridge O Level Computer Science 2210 · 10.2 Functions of logic gates

Q1 · 2210/12/O/N/22 Q7

Worked solution from the Boolean logic Paper 1 Computer Systems booklet, Part 1 of 2.

Q12210/12/O/N/22original Q7Structured · 6 marks
Question 7 from 2210/12/O/N/22

Worked solution

(a)

Think about each gate's truth table and tick the statements that are true for it.

StatementNANDORXOR
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]

ABOutput
000
010
100
111

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 IDEALearn the truth table of each gate: AND, OR, NOT, NAND, NOR and XOR.
TOTAL 6 marks

Official mark scheme

Mark scheme for 2210/12/O/N/22 question 7
VIDEO
▶ Topic lesson

A lesson on this topic · by Mr Bulmer's Learning Zone. Tap the picture to open it on YouTube.

Solutions follow the official Cambridge mark schemes; marks are shown in grey. Videos are from other YouTube channels. Paper codes read component / series / year: M/J = May/June, O/N = October/November. Past-paper questions © UCLES, reproduced for classroom practice.