GATE / CS ARCHIVE

GATE CSE 2021 SET 2 / QUESTION 52

GATE CSE 2021 Set 2 Q52

Digital Logic · Logic Minimization & Karnaugh Maps · Full GATE CSE 2021 Set 2 paper

GATE 2021 Set 2, Q52 2 marks · NAT
Report issue

Logic Minimization & Karnaugh Maps

Question 52, GATE 2021: Boolean f(w,x,y,z) satisfies f(w,0,0,z)=1; f(1,x,1,z)=x+z; f(w,1,y,z)=wz+y. Find minimum number of literals in an SOP, noting incompletely specified inputs. + means Boolean OR.
Tap to enlarge
Answer & solution

Official answer: 6

The supplied cofactors force on-set minterms 0, 1, 6, 7, 8, 9, 11, 13, 14, 15 and off-set 4, 5, 10, 12. Minterms2, 3 are unspecified and may be used as dont-cares for minimization. One minimum SOP is (NOT x)(NOT y)+xy+wz, containing 6 literals. No one-literal implicant avoids all forced zeros. Moreover on-set points 0, 6, 13 cannot be covered pairwise by a single implicant: their covering cubes would include a forced zero. At least three terms, each with at least two literals, are required, proving the lower bound 6. Treating unspecified cofactors as dont-cares is the minimization convention used here. The supplied equations do not uniquely specify f: for example assigning f(0, 0, 1, 0)=1 and f(0, 0, 1, 1)=0 requires a separate three-literal implicant for minterm 2, while minterms 1, 14, 13 force the three essential prime implicants (NOT x)(NOT y), xy, wz respectively. That completion needs 9 literals, not 6. Thus the official 6 is the minimum over permissible completions, not a forced value for every function satisfying the three equations.

Shannon cofactor constraints leave only minterms 2 and 3 free. The three two-literal cubes ¬x¬y,xy,wz cover the forced on-set and avoid zeros 4,5,10,12. A literal count counts occurrences, so three terms with two literals cost six, not three. The witness completion that needs nine literals must remain disclosed because minimization over don't-cares is an assumption, not a logical consequence that f is uniquely fixed.

Original paper, page 86 · Answer key