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

Q49 · 9618/11/M/J/23 Q5

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

Q499618/11/M/J/23original Q5Structured · 4 marks
Question 5 from 9618/11/M/J/23

Worked solution

(a)

Break T = (NOT A OR B) XOR (C NAND D) into gates. Draw:

A NOT gate on A, feeding an OR gate with B. A NAND gate with inputs C and D [1]

An XOR gate taking the OR output and the NAND output. Its output is T [1]

Two correct gates score 1 mark and all four correct gates score both marks.

(b)

Write what each gate does:

NAND: the output is 0 only when both inputs are 1; otherwise it is 1 [1]

NOR: the output is 1 only when both inputs are 0; otherwise it is 0 [1]

KEY IDEANAND is NOT of AND and NOR is NOT of OR.
TOTAL 4 marks

Official mark scheme

Mark scheme for 9618/11/M/J/23 question 5
VIDEO
▶ Starts at Q5 (1:21:56)

Starts at Q5 (1:21:56) · 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.