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

Q47 · 9618/12/O/N/22 Q3

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

Q479618/12/O/N/22original Q3Structured · 7 marks
Question 3 from 9618/12/O/N/22

Worked solution

(a)

Turn the rules into an expression first. Temperature too high and wind acceptable gives T AND NOT W. Rain not detected or override off gives NOT R OR NOT M. Join the two parts with AND:

X = (T AND (NOT W)) AND ((NOT R) OR (NOT M))

Draw these gates, wired in this order:

A NOT gate on W, feeding an AND gate with T. This AND gate gives T AND NOT W [1]

A NOT gate on R and a NOT gate on M, both feeding an OR gate. This OR gate gives NOT R OR NOT M [1]

A final AND gate taking the output of the first AND gate and the output of the OR gate. Its output is X [1]

(b)

Work out NOT (A OR B OR C) and (B NOR C) for each row. NOT (A OR B OR C) is 1 only when A, B and C are all 0. B NOR C is 1 only when B and C are both 0. So X is 1 only on the first row.

ABCX
0001
0010
0100
0110
1000
1010
1100
1110

First four rows correct [1]

Last four rows correct [1]

(c)

ROM keeps its contents when the power is off and cannot be changed by accident. Write any two of these:

It stores data or instructions that do not change [1]

The data must stay stored when the device has no power [1]

Also accepted: It stores the start-up (boot) instructions, firmware or system software

Only two points are needed for the 2 marks.

KEY IDEABreak a written rule into small gates (NOT, AND, OR), then join them with a final gate.
TOTAL 7 marks

Official mark scheme

Mark scheme for 9618/12/O/N/22 question 3
VIDEO
▶ Whole paper

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