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

Q58 · 9618/12/O/N/24 Q1

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

Q589618/12/O/N/24original Q1Structured · 4 marks
Question 1 from 9618/12/O/N/24

Worked solution

(a)

Work out each part of the expression first:

ABCA XOR BB XOR CA AND (B XOR C)X
0000001
0010101
0101101
0111001
1001001
1011110
1100111
1110001

X correct for the rows with A = 0 [1]

X correct for the rows with A = 1 (only 1 0 1 gives X = 0) [1]

(b)

Build the two brackets, join them with XOR, then NAND with P.

Draw a XOR gate with inputs P and Q, and an OR gate with inputs Q and (NOT R), using a NOT gate on R. [1]

Draw a second XOR gate taking the outputs of those two gates, then a NAND gate taking P and the second XOR output, giving W. [1]

KEY IDEAWork out each bracket in its own column, then combine them.
TOTAL 4 marks

Official mark scheme

Mark scheme for 9618/12/O/N/24 question 1
VIDEO
▶ Topic lesson

A lesson on this topic · by ZAINEMATICS. 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.