GATE / CS ARCHIVE

GATE CSE 2003 / QUESTION 45

Minimum literal counts from a Karnaugh map

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

GATE 2003, Q45 2 marks · MCQ
Report issue

Logic Minimization & Karnaugh Maps

Question 45, GATE 2003: Literal count counts every variable occurrence, complemented or not; for example xy+xz has four literals. Find minimum literal counts for a product-of-sums and a sum-of-products, respectively, for this four-variable Karnaugh map. Rows xy and columns zw both use Gray order 00,01,11,10. Rows are: 00:(X,1,0,1); 01:(0,1,X,0); 11:(1,X,X,0); 10:(X,0,0,X), with X a don’t-care. A. (11,9); B. (9,13); C. (9,10); D. (11,11). An independently minimized pair may be absent from these reproduced options.
Question 45, GATE 2003: Literal count counts every variable occurrence, complemented or not; for example xy+xz has four literals. Find minimum literal counts for a product-of-sums and a sum-of-products, respectively, for this four-variable Karnaugh map. Rows xy and columns zw both use Gray order 00,01,11,10. Rows are: 00:(X,1,0,1); 01:(0,1,X,0); 11:(1,X,X,0); 10:(X,0,0,X), with X a don’t-care. A. (11,9); B. (9,13); C. (9,10); D. (11,11). An independently minimized pair may be absent from these reproduced options.
Tap to enlarge
Your answer
Answer & solution

Answer: (9,8); no listed option (no official key was published)

1. For SOP, group 1 cells with optional X cells and never cover a specified 0; this yields ¬w¬y, w¬x¬z, x¬w¬z. For POS, group zeros with optional X cells, yielding factors (y∨¬x),(¬w∨¬z),(¬y∨¬z),(w∨x∨¬y). Count variable occurrences, not number of groups: SOP has 8 and POS has 9. Don’t-care choices may differ for the two minimizations. The exact-cover checker is needed to certify these are minima rather than just valid upper bounds.

2. Use row variables xy and column variables zw in the printed Gray order 00,01,11,10. A valid minimum SOP is (¬w∧¬y)∨(w∧¬x∧¬z)∨(x∧¬w∧¬z), containing 2+3+3=8 literals. A valid minimum POS is (y∨¬x)∧(¬w∨¬z)∧(¬y∨¬z)∧(w∨x∨¬y), containing 2+2+2+3=9 literals. Each matches every specified 0 and 1; the X cells may be assigned as needed separately for the two minimizations. Exhaustive enumeration of all 3⁴ Boolean cubes, excluding any cube that covers a forbidden cell, and exact minimum-cost covering of the required cells confirms these lower bounds. Thus the requested ordered pair (POS,SOP) is (9,8), absent from (11,9),(9,13),(9,10),(11,11).

Original paper, page 6