Cambridge O Level Computer Science 2210 · 10.3 Logic circuits, truth tables and logic expressions

Q10 · 2210/12/M/J/22 Q5

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

Q102210/12/M/J/22original Q5Structured · 9 marks
Question 5 from 2210/12/M/J/22

Worked solution

(a)

Build the circuit from the inside of the brackets outwards. Every gate has at most two inputs. Draw these gates:

OR gate with inputs A and B [1]

XOR gate with inputs B and C [1]

NOT gate whose input is the output of the XOR gate [1]

AND gate whose inputs are the output of the OR gate and the output of the NOT gate [1]

AND gate whose inputs are the output of the first AND gate and C; its output is X [1]

(b)

Work out each part of the statement for every row, then combine them:

ABCA OR BB XOR CNOT (B XOR C)AND of the twoX
00000100
00101000
01011000
01110111
10010110
10111000
11011000
11110111

All 8 outputs correct [4]

Marks are also given for part of the column: 6 or 7 correct outputs score 3, 4 or 5 score 2, 2 or 3 score 1.

KEY IDEAWork the truth table out column by column, one bracket at a time, and build circuits from the innermost brackets outwards.
TOTAL 9 marks

Official mark scheme

Mark scheme for 2210/12/M/J/22 question 5
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.