Cambridge A2 Level Computer Science 9618 · 15.2 Boolean Algebra and Logic Circuits

Q36 · 9618/33/O/N/25 Q6

Worked solution from the Hardware and Virtual Machines Paper 3 Advanced Theory booklet, Part 2 of 2.

Q369618/33/O/N/25original Q6Structured · 8 marks
Question 6 from 9618/33/O/N/25

Worked solution

(a)(i)

Loop the groups of 1s as large as possible. Three loops cover all the 1s.

Loop 1: the two 1s in row CD = 01, columns AB = 00 and AB = 01 [1]

Loop 2: the four 1s in columns AB = 01 and AB = 11, rows CD = 01 and CD = 11 [1]

Loop 3: the four 1s in columns AB = 11 and AB = 10, rows CD = 11 and CD = 10 [1]

(a)(ii)

Loop 1 has A = 0, C = 0, D = 1. Loop 2 has B = 1 and D = 1. Loop 3 has A = 1 and C = 1.

NOT A . NOT C . D + B . D + A . C

One correct term with an OR sign [1]

All three terms joined by OR signs and no other terms [1]

(b)

The expression is X = NOT(A + B + C) + NOT(NOT B + C). Apply De Morgan's law to each part, then tidy up.

NOT(A + B + C) + NOT(NOT B + C)
NOT A . NOT B . NOT C + NOT(NOT B) . NOT C
NOT A . NOT B . NOT C + B . NOT C
NOT C . (NOT A . NOT B + B)
NOT C . (NOT A + B)

Line 2 uses De Morgan's laws; line 3 removes the double negation: correct use of De Morgan's laws [1]

Line 4 takes out NOT C (distributive law) or line 5 uses the redundancy law: one other correct law [1]

Final answer NOT C . (NOT A + B) [1]

KEY IDEALoop the biggest groups of 1s; use De Morgan's law to break each bar, then factor out what the terms share.
TOTAL 8 marks

Official mark scheme

Mark scheme for 9618/33/O/N/25 question 6
VIDEO
▶ Topic lesson

A lesson on this topic · by Craig'n'Dave. 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.