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

Q17 · 2210/22/M/J/23 Q8

Worked solution from the Boolean logic Paper 2 Algorithms, Programming and Logic booklet, Part 3 of 3.

Q172210/22/M/J/23original Q8Structured · 4 marks
Question 8 from 2210/22/M/J/23

Worked solution

Work out each bracket first, then combine them with AND. X = (A OR B) AND (NOT B AND C).

ABCA OR BNOT B AND CX
000000
001010
010100
011100
100100
101111
110100
111100

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 IDEAWork out each bracket in its own column, then combine the columns with the last gate.
TOTAL 4 marks

Official mark scheme

Mark scheme for 2210/22/M/J/23 question 8
VIDEO
▶ Whole paper

Video solution of the whole paper · by CS BY AQIB KHAN. 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.