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

Q56 · 9618/12/M/J/24 Q1

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

Q569618/12/M/J/24original Q1Structured · 6 marks
Question 1 from 9618/12/M/J/24

Worked solution

(a)

Say what the output is for each input pattern. Write one clear sentence per gate.

NAND: the output is 0 when both inputs are 1, otherwise the output is 1 [1]

NOR: the output is 1 when both inputs are 0, otherwise the output is 0 [1]

XOR: the output is 1 when one input is 1 and the other is 0, otherwise the output is 0 [1]

OR: the output is 0 when both inputs are 0, otherwise the output is 1 [1]

(b)

Brackets first: two AND gates, then an OR gate, then a NOT gate on the result.

Draw an AND gate with inputs A and B, and a second AND gate with inputs C and D. [1]

Draw an OR gate that takes the outputs of the two AND gates, then a NOT gate on the OR output, giving X. Use no extra gates. [1]

KEY IDEADescribe each gate by the one input pattern that is different, and build a circuit from the brackets outwards.
TOTAL 6 marks

Official mark scheme

Mark scheme for 9618/12/M/J/24 question 1
VIDEO
▶ Starts at Q1 (0:31)

Starts at Q1 (0:31) · 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.