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

Q52 · 9618/11/O/N/23 Q4

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

Q529618/11/O/N/23original Q4Structured · 4 marks
Question 4 from 9618/11/O/N/23

Worked solution

(a)

Simplify first. NOT (A NAND B) is the same as A AND B. NOT B AND (B NOR C) is the same as NOT B AND NOT C. X is the XOR of those two.

ABCA AND BNOT B AND NOT CX
000011
001000
010000
011000
100011
101000
110101
111101

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

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

(b)

Build the circuit from the inside out, using inputs A, B and C:

B OR C goes into a NOT gate. A and the output of that NOT gate go into the first AND gate.

B and C also go into a NOR gate. The output of the first AND gate and the output of the NOR gate go into a second AND gate. Its output is X.

Both AND gates correct [1]

NOT gate, OR gate and NOR gate correct [1]

KEY IDEASimplify NAND and NOR parts first, then work out each row, or build a circuit gate by gate from the inside brackets outwards.
TOTAL 4 marks

Official mark scheme

Mark scheme for 9618/11/O/N/23 question 4
VIDEO
▶ Starts at Q4 (39:53)

Starts at Q4 (39:53) · by Pseudocode Pro. 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.