Question 1Multiple choiceKarnaugh map minimization
A four-variable Boolean function is specified by its minterms: , where is the most significant bit of each minterm index. Using a Karnaugh map, which expression is the minimal sum-of-products form of ?
- A.
- B.
- C.
- D.
Worked solution
Draw the map with rows and columns (Gray-code order, so neighbouring cells differ in exactly one variable), and place a 1 in each listed minterm.
Minterms 0, 2, 8 and 10 occupy the four corner cells (rows and , columns and ). Because the map wraps around both edges, the corners form a single group of four. Across that group and both change while and stay fixed, so the implicant is .
Minterms 5, 7, 13 and 15 fill the centre block (rows , columns ). Here and change while and , giving .
Each group contains a 1 that no other prime implicant covers, so both are essential, and together they cover all eight minterms:
which is simply XNOR . Spot check: minterm 10 is , where , so as required; minterm 6 is , where both terms are 0, so , and 6 is indeed absent from the list.
Option B is the common slip: treating the corners as two separate pairs instead of one wrapped group of four leaves in both terms. Option C fails to merge the two vertical pairs of the centre block. Option D is the complement of the answer ( XOR ): it is what you get by grouping the eight 0-cells (minterms 1, 3, 4, 6, 9, 11, 12, 14) instead of the 1-cells.
(option A).