Cambridge AS Level Computer Science 9618 · 3.2 Logic Gates and Logic Circuits

Q41 · 9618/12/M/J/21 Q3

Worked solution from the Hardware Paper 1 Theory Fundamentals booklet, Part 2 of 2.

Q419618/12/M/J/21original Q3Structured · 6 marks
Question 3 from 9618/12/M/J/21

Worked solution

(a)

Build the circuit from the expression S = (A AND B AND C) OR (B XOR C), reading left to right. Use only 2-input gates.

Draw an AND gate with inputs A and B [1]

Draw a second AND gate with inputs C and the output of the first AND gate [1]

Draw an XOR gate with inputs B and C [1]

Join the outputs of the second AND gate and the XOR gate to an OR gate, whose output is S [1]

(b)

Work out each bracket, then OR them.

ABCA AND B AND CB XOR CS
000000
001011
010011
011000
100000
101011
110011
111101

First four rows of S correct (0, 1, 1, 0) [1]

Last four rows of S correct (0, 1, 1, 1) [1]

KEY IDEABreak an expression into small gates, draw them in order, then check the circuit with a truth table.
TOTAL 6 marks

Official mark scheme

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

Video solution of the whole paper · by O/Alevel CS by Wasiq. 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.