Worked solution from the Hardware and Virtual Machines Paper 3 Advanced Theory booklet, Part 2 of 2.
An SR flip-flop is two NOR gates (or two NAND gates) joined in a cross-coupled loop. Draw the NOR version like this:
Top NOR gate: inputs are R (Reset) and the output of the lower gate. Its output is Q. Lower NOR gate: inputs are S (Set) and the output of the top gate. Its output is NOT Q.
One correct NOR (or NAND) gate with two separate inputs and one output [1]
A second gate of the same type, also with two separate inputs and one output [1]
Each gate's output fed back to an input of the other gate (cross-connections) [1]
Inputs labelled S (Set) and R (Reset) [1]
A NAND version also scores: the top NAND takes S and the lower NAND's output; the lower NAND takes R and the top NAND's output.
Write: to store one binary digit (a single bit) [1]
Use De Morgan's law on the long bar: NOT(X . Y . Z) = NOT X + NOT Y + NOT Z.
Each term is now double negated: NOT NOT (NOT A . NOT B) + NOT NOT (NOT A . C) + NOT NOT (B . D). Apply De Morgan's law [1]
Remove the double negations: (NOT A . NOT B) + (NOT A . C) + (B . D) [1]
Take out the common NOT A (distributive law):
NOT A . (NOT B + C) + B . D [1]
▶ Whole paper
Video solution of the whole paper · by qiphyedu. 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.