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

Q7 · 2210/12/M/J/21 Q3

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

Q72210/12/M/J/21original Q3Structured · 10 marks
Question 3 from 2210/12/M/J/21

Worked solution

(a)

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

NOT gate with input A [1]

AND gate with inputs B and the output of the NOT gate [1]

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

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

OR gate with inputs B and C [1]

NOR gate whose inputs are the output of the second AND gate and the output of the second OR gate; its output is X [1]

(b)

Work out the correct X for every row. The working columns are: NOT A AND B, then OR C, then AND B, then B OR C.

ABCNOT A AND BOR CAND BB OR CX
00000001
00101010
01011110
01111110
10000001
10101010
11000010
11101110

Compare with the given outputs:

RowABCCorrect XGiven XMatch?
100011yes
200101NO
301001NO
401100yes
510011yes
610100yes
711001NO
811101NO

Write: Row 2, Row 3, Row 7, Row 8 (one mark for each correct row) [4]

Any order is accepted.

KEY IDEATo find errors in a truth table, work out the correct column yourself and compare row by row.
TOTAL 10 marks

Official mark scheme

Mark scheme for 2210/12/M/J/21 question 3
VIDEO
▶ Whole paper

Video solution of the whole paper · by Level Up with Aqeel Ahmed: CS Edition. 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.