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

Q59 · 9618/13/O/N/24 Q1

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

Q599618/13/O/N/24original Q1Structured · 5 marks
Question 1 from 9618/13/O/N/24

Worked solution

(a)

Write: the output is 1 only if the two inputs are different (one is 1 and the other 0). [1]

(b)

Read the circuit gate by gate. A NOR B and A OR B go into an AND. B and C go into a second AND. The two results go into the final NAND.

((A NOR B) AND (A OR B)) [1]

X = ((A NOR B) AND (A OR B)) NAND (B AND C) [1]

(c)

Draw the gates from the inside out:

Draw a NOT gate on A, an AND with NOT A and (B AND C) (using an AND for B and C), and a NAND with B and C. [1]

Draw an OR gate taking the output of that first AND and the NAND, then a final AND taking the OR output and NOT A, giving X. [1]

KEY IDEARead or build a circuit one gate at a time, brackets first.
TOTAL 5 marks

Official mark scheme

Mark scheme for 9618/13/O/N/24 question 1
VIDEO
▶ Whole paper

Video solution of the whole paper · by Zafar Ali Khan (ZAK). 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.