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

Q63 · 9618/11/O/N/25 Q3

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

Q639618/11/O/N/25original Q3Structured · 4 marks
Question 3 from 9618/11/O/N/25

Worked solution

(a)

Draw the gates from the inside brackets outwards.

Draw a NAND gate with inputs A and B, and an OR gate whose inputs are NOT A and NOT C (a NOT gate on each of A and C). [1]

Feed the outputs of the NAND gate and the OR gate into an XOR gate, then put a NOT gate on the XOR output, giving X. [1]

(b)

Q is 1 on two rows only: R=0, S=0, T=1 and R=1, S=1, T=0. Write one AND term for each row and join them with OR.

One correct term: (R AND S AND NOT T) or (NOT R AND NOT S AND T) [1]

Second correct term and the OR in the correct place [1]

Write: Q = (R AND S AND NOT T) OR (NOT R AND NOT S AND T)

KEY IDEAFor a truth table, write an AND term for each row with output 1 and join the terms with OR.
TOTAL 4 marks

Official mark scheme

Mark scheme for 9618/11/O/N/25 question 3
VIDEO
▶ Whole paper

Video solution of the whole paper · by MAK CS. 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.