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

Q19 · 9618/31/O/N/22 Q7

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

Q199618/31/O/N/22original Q7Structured · 7 marks
Question 7 from 9618/31/O/N/22

Worked solution

(a)

Write a 1 in each cell for a term of the expression, 0 in all others. Rows are CD and columns are AB. Every term has NOT C and NOT D or NOT C and D, so only rows CD = 00 and 01 can hold 1s.

CD \ AB00011110
000111
010111
110000
100000

Fully correct map [2]

One error in the map scores 1 mark instead.

(b)

Group all the 1s into the biggest blocks. Two blocks of four cover all the 1s, and they share the two cells in the AB = 11 column.

Loop the block AB = 01 and 11, CD = 00 and 01 [1]

Loop the block AB = 11 and 10, CD = 00 and 01 [1]

(c)

First block: B stays 1 and C stays 0, so the term is B . NOT C.

Second block: A stays 1 and C stays 0, so the term is A . NOT C.

One correct term [1]

Z = B . NOT C + A . NOT C, with no other terms [1]

Take out the common NOT C:

Z = NOT C . (A + B) [1]

KEY IDEALoop the biggest blocks of 1s on the K-map, then factor out any letter common to the terms.
TOTAL 7 marks

Official mark scheme

Mark scheme for 9618/31/O/N/22 question 7
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.