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

Q60 · 9618/11/M/J/25 Q1

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

Q609618/11/M/J/25original Q1Structured · 4 marks
Question 1 from 9618/11/M/J/25

Worked solution

(a)

Follow each wire from the inputs to the output, one gate at a time. X: NOT P and R go into an OR gate; its output and Q go into an AND gate.

Write: X = Q AND (NOT P OR R) [1]

Y: Q and R go into a NOR gate; its output and S go into an XOR gate.

Write: Y = S XOR (Q NOR R) [1]

(b)

Work out each gate for every row. The first gate is an XOR (A, B) followed by a NOT; the AND gate takes B and C; an OR gate joins the two.

ABCNOT (A XOR B)B AND CX
000101
001101
010000
011011
100000
101000
110101
111111

X column correct for the first four rows [1]

X column correct for the last four rows [1]

KEY IDEABreak a circuit into gates, give each gate its own working column, then combine the columns.
TOTAL 4 marks

Official mark scheme

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

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