GATE / CS ARCHIVE

GATE CSE 1995 / QUESTION 15(b)

Minimize a four-variable Karnaugh map

Digital Logic · Logic Minimization & Karnaugh Maps · Full GATE CSE 1995 paper

GATE 1995, Q15(b) Descriptive
Report issue

Logic Minimization & Karnaugh Maps

Question 15(b), GATE 1995: K-map columns AB are 00,01,11,10; rows CD are 00,01,11,10. Row values in that order are [1,0,0,1], [0,1,1,0], [0,1,1,0], [1,0,0,1]. Blank source cells mean zero. Find minimal SOP.
Tap to enlarge
Answer & solution

Answer: ¬B¬D+BD (B XNOR D). (no official key was published)

Step through it (10 steps)

Use two groups of four cells. The four corner cells form one valid group because the first and last rows are adjacent in Gray-code order, as are the first and last columns. Within that group B=0 and D=0, while A and C each vary. Its product term is ¬B¬D.

The central 2×2 block forms the other group. Its columns AB=01,11 both have B=1; its rows CD=01,11 both have D=1. A and C again vary, so this group contributes BD. The resulting sum of products is ¬B¬D+BD, independent of A and C.

Each group covers four ones and no zeros, and together they cover all eight ones. No eight-cell group is possible: the zero cells separate the two B,D cases. Each isolated case B=D=0 and B=D=1 needs its own implicant, so two two-literal products are minimal. The output is 1 exactly when B and D agree, which supplies the equivalent description B XNOR D.

Original paper, page 7