GATE / CS ARCHIVE

SUBJECT COLLECTION

Digital Logic · Logic Minimization & Karnaugh Maps

38 questions, newest first

GATE CSE has asked 38 questions on Logic Minimization & Karnaugh Maps (Digital Logic) from 1991 to 2026, in 34 of the 46 papers; the most recent is in GATE CSE 2026 Set 2. In the last five years it carried 1.2 marks per 100-mark paper on average, against 1.2 since 2003. Since 2014 the questions have been 9 MCQ, 5 NAT and 3 MSQ. 8 groups of questions here are solved the same way; “One per method” keeps the newest of each.

Browse topics
2 marks · MSQ
Report issue

Minimum sum-of-products covers

Logic Minimization & Karnaugh Maps

Question 48, GATE 2026: For variable order (P,Q,R,S), F is 1 on minterms {1,2,3,4,5,7,10,12,13,14}. All options include (NOT P)S+Q(NOT R). Their remaining two terms are A: (NOT P)(NOT Q)R and (NOT Q)R(NOT S); B: (NOT P)(NOT Q)R and PR(NOT S); C: PQ(NOT S) and PR(NOT S); D: PQ(NOT S) and (NOT Q)R(NOT S). Find the minimal SOP options.
Tap to enlarge
Select all that apply
Answer & solution

Official answer: B, D

Step through it (18 steps)

Givens and goal

For variable order (P,Q,R,S), F is 1 on minterms {1,2,3,4,5,7,10,12,13,14}. All options include (NOT P)S+Q(NOT R). Their remaining two terms are A: (NOT P)(NOT Q)R and (NOT Q)R(NOT S); B: (NOT P)(NOT Q)R and PR(NOT S); C: PQ(NOT S) and PR(NOT S); D: PQ(NOT S) and (NOT Q)R(NOT S). Find the minimal SOP options.

Approach

List maximal valid implicants, identify essential terms, and check coverage of the residual minterms.

Step-by-step solution

1. There are exactly six prime implicants. In bit-pattern notation using variable order (P,Q,R,S), where a dash is a don't-care coordinate, they are:

   - 0--1: (NOT P)S, covering minterms 1,3,5,7.
   - -10-: Q(NOT R), covering 4,5,12,13.
   - 001-: (NOT P)(NOT Q)R, covering 2,3.
   - -010: (NOT Q)R(NOT S), covering 2,10.
   - 1-10: PR(NOT S), covering 10,14.
   - 11-0: PQ(NOT S), covering 12,14.

2. The first two prime implicants are essential: minterm 1 can only be covered by 0--1, and minterm 4 only by -10-. Together they leave 2,10,14 uncovered.
3. No single remaining prime implicant covers all three residual minterms. Therefore at least two further terms are required, for a minimum of four product terms overall. Each additional prime has three literals, so the minimum covers have ten literals in total.
4. Option B adds 001- and 1-10: these cover 2,3 and 10,14, completing the function. Option D adds 11-0 and -010: these cover 12,14 and 2,10, also completing it. Both achieve the four-term, ten-literal minimum.
5. Option A leaves minterm 14 uncovered. Option C leaves minterm 2 uncovered. Hence neither even represents the target function.

Completeness check: Exhaustively enumerated all 81 four-variable cubes, retained cubes containing no zero minterm, and extracted the six maximal cubes above. Enumerating prime-implicant covers found minimum size four. There is a third minimum cover using the two essential implicants plus -010 and 1-10; it is not one of the offered choices. The answer does not claim that B and D are the only possible minimal expressions.

Visual check: Confirmed the minterm list and all complement bars in options A–D directly from rendered page 36.

Residual coverage table after choosing the essential terms:

    Additional prime term          Covers residual minterms
    (NOT P)(NOT Q)R                         2
    (NOT Q)R(NOT S)                         2,10
    PR(NOT S)                              10,14
    PQ(NOT S)                              14

The table explains both validity and minimality: one extra term cannot cover all three residual minterms, while either option B’s pair or option D’s pair can. Expanding a non-prime term to a prime can only improve coverage without covering a zero, so restricting this minimum-cover analysis to prime implicants is sufficient.

Original paper, page 36 · Answer key

2 marks · MCQ
Report issue

Simplifying an eight-minterm Boolean function

Logic Minimization & Karnaugh Maps

Question 40, GATE 2026: With A the most significant bit and D the least significant, F(A,B,C,D)=Σm(0,1,2,3,8,9,10,11). Choose minimal SOP: A A′+B′+C′+D′; B B′; C A′B′+AB; D A′.
Tap to enlarge
Your answer
Answer & solution

Official answer: B

Step through it (9 steps)

Givens and goal

With A the most significant bit and D the least significant, F(A,B,C,D)=Σm(0,1,2,3,8,9,10,11). Choose minimal SOP: A A′+B′+C′+D′; B B′; C A′B′+AB; D A′.

Approach

Find which input bit is fixed across exactly the listed minterms.

Step-by-step solution

1. Minterms 0,1,2,3 are binary 0000,0001,0010,0011. They have A=0,B=0 while C,D take all four combinations, so together they give A′B′.
2. Minterms 8,9,10,11 are 1000,1001,1010,1011. They have A=1,B=0 while C,D again vary freely, giving AB′.
3. Combine the groups: F=A′B′+AB′=(A′+A)B′=B′. Thus F is 1 precisely when B=0, independently of the other inputs.
4. The function is not constant, so at least one literal is required. B′ uses one literal and is therefore minimal, selecting B. For example minterm 8 rules out A′, while minterm 4 has B=1 and must evaluate to zero, ruling out an OR of all four complements.

Original paper, page 27 · Answer key

2 marks · MCQ
Report issue

Minimizing a four-variable Boolean function

Logic Minimization & Karnaugh Maps

Question 42, GATE 2025: F(b3,b2,b1,b0)=Σm(0,2,4,8,10,11,12), with b3 most significant and no don’t-cares. Let ¬ denote NOT, juxtaposition AND and + OR. Choose the minimized expression: A ¬b1¬b0+¬b2¬b0+b1¬b2b3; B ¬b1¬b0+¬b2¬b0; C ¬b2¬b0+b1b2b3; D ¬b0¬b2+¬b3.
Tap to enlarge
Your answer
Answer & solution

Official answer: A

Step through it (11 steps)

Approach: Group minterms differing only in free variables; each group must contain only listed 1-minterms because there are no don’t-cares.
The four minterms {0,4,8,12} have b1=0,b0=0 while b3,b2 vary freely. They give implicant ¬b1¬b0. Similarly {0,2,8,10} have b2=0,b0=0 and give ¬b2¬b0. Minterm 11 (1011) is still uncovered; pair it with 10 (1010) to obtain b3¬b2b1. These groups cover exactly the seven specified minterms, producing A.
Minimality also follows: minterm 12 needs the first maximal group, minterm 2 the second, and minterm 11 the third. Their essential coverage cannot be omitted.
B misses minterm 11. C has a wrong uncomplemented b2 in its second term, misses required cases such as 4, and includes unwanted cases such as 14. D includes ¬b3, which would make F(0001)=1 despite minterm 1 not being listed.

Original paper, page 42 · Answer key

2 marks · MSQ
Report issue

Logic Minimization & Karnaugh Maps

Question 43, GATE 2025: A 4-variable Karnaugh map for F(w,x,y,z) uses rows wx and columns yz, each in standard Gray order 00,01,11,10. Its rows, from top to bottom, are [1,0,0,1], [0,1,1,0], [0,1,1,0], [1,0,0,1]. Select all equivalent expressions. Use ¬ for complement, adjacency for AND, + for OR.
A. ¬w¬x¬y¬z + w¬x¬y¬z + ¬w¬xy¬z + w¬xy¬z + xz.
B. ¬w¬x¬y¬z + ¬w¬xy¬z + w¬xyz + xz.
C. ¬w¬x¬y¬z + w¬x¬y¬z + w¬x¬yz + xz.
D. ¬x¬z + xz.
Tap to enlarge
Select all that apply
Answer & solution

Official answer: A, D

Step through it (14 steps)

The four corner cells are adjacent through the K-map's wraparound boundaries. Across these corners w and y each vary, while x=0 and z=0 remain fixed. Their size-four group therefore contributes ¬x¬z. The central 2×2 group also lets w and y vary, but fixes x=1 and z=1, contributing xz. All eight ones are covered, giving F=¬x¬z+xz, independent of w and y. This is XNOR of x and z, so D is correct.

Expand the first term by inserting (w+¬w)(y+¬y)=1:
¬x¬z = ¬w¬x¬y¬z + w¬x¬y¬z + ¬w¬xy¬z + w¬xy¬z.
Adding xz reproduces A, so A is also correct.

B omits the required one at wxyz=1000: each of its terms is zero there, while the map gives one. C omits the required one at 0010. Either counterexample suffices to reject the corresponding expression. Select A,D.

Original paper, page 32 · Answer key

2 marks · MSQ
Report issue

Recognize the three-input majority function

Logic Minimization & Karnaugh Maps

Question 47, GATE 2024: F(X,Y,Z)=Σ(3,5,6,7), with minterm indices in XYZ binary order. Which claims are correct? A F=Π(0,1,2,4). B F=XY+YZ+XZ. C F is independent of Y. D F is independent of X.
Tap to enlarge
Select all that apply
Answer & solution

Official answer: A, B

Step through it (13 steps)

Approach: Translate the minterm indices to input assignments, then compare equivalent representations and test claimed independence.
1. The one-output assignments are 3=011, 5=101, 6=110 and 7=111. They are exactly the assignments with at least two inputs equal to 1.
2. The remaining indices 0,1,2,4 give output zero. A product of maxterms lists the zero-output indices, so F=Π(0,1,2,4). A is true.
3. XY is 1 when X and Y are both 1; YZ and XZ cover the other pairs. Their OR, XY+YZ+XZ, is therefore 1 exactly when at least two inputs are 1. B is true.
4. To disprove independence from Y, fix X=1,Z=0: then F=Y, so changing Y changes the output. Likewise with Y=1,Z=0, F=X. Thus C and D are false.
Answer: A and B. Independence requires that changing an input never changes the output, so one counterexample assignment is enough to refute it.

Original paper, page 29 · Answer key

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

2 marks · MCQ
Report issue

Logic Minimization & Karnaugh Maps

Question 28, GATE 2020: Circuit equivalent: b enters NOT, its output and c enter AND, and that result and a enter OR to produce z. With minterm index 4a+2b+c, choose z. A Σm(0,1,3,7); B Σm(1,4,5,6,7); C Σm(2,4,5,6,7); D Σm(2,3,5).
Question 28, GATE 2020: Circuit equivalent: b enters NOT, its output and c enter AND, and that result and a enter OR to produce z. With minterm index 4a+2b+c, choose z. A Σm(0,1,3,7); B Σm(1,4,5,6,7); C Σm(2,4,5,6,7); D Σm(2,3,5).
Tap to enlarge
Your answer
Answer & solution

Official answer: B

Worked explanation

Read the inversion bubble on b before constructing the product term. The AND output is b′c and the final OR adds a. Truth-table equivalent, in order abc=000,001,010,011,100,101,110,111: z=0,1,0,0,1,1,1,1. Index each assignment as binary abc with a most significant. The true rows are therefore 1,4,5,6,7. Option C incorrectly includes minterm 2, which has c=0, while A and D omit true rows with a=1. The displayed gate connections, rather than a guessed canonical expression, determine the result.

Derivation and answer

The circuit computes z=a∨(¬b∧c). For a=1 all four minterms 4, 5, 6, 7 are on. For a=0 the only on assignment is b=0, c=1, minterm 1. Thus Σm(1, 4, 5, 6, 7), B.

Original paper, page 10 · Answer key

2 marks · NAT
Report issue

Essential prime implicants with don’t cares

Logic Minimization & Karnaugh Maps

Question 49, GATE 2018: F(P,Q,R,S) has on-minterms {0,2,5,7,9,11} and don’t-cares {3,8,10,12,14}. All other minterms are off. How many essential prime implicants exist?
Tap to enlarge
Answer & solution

Official answer: 3

Step through it (13 steps)

Method

A prime implicant is a maximal Boolean cube containing no off-cell; don’t-cares may enlarge it but need not be covered. Essential means at least one required on-cell has no alternative prime covering it. In dash notation, the five primes cover required cells as follows: 01-1→{5,7}; 0-11→{7}; 10--→{9,11}; -01-→{2,11}; -0-0→{0,2}. Therefore 5,9,0 respectively force three primes. A prime that covers only redundantly covered on-cells is not essential, even if it appears in a possible cover.

Solution

Enumerating maximal cubes that contain an on-minterm and no off-minterm gives five prime implicants: 01-1, 0-11, 10--, -01-, -0-0 in P, Q, R, S order, where a dash means that variable is absent. Minterm5 is covered only by 01-1; minterm 9 only by 10--; minterm 0 only by-0-0. These three primes are essential. The remaining on-minterms 2, 7, 11 each have more than one covering prime. Therefore exactly 3 prime implicants are essential. The enumeration checks all 81 four-variable cubes and treats only the listed d entries as don’t cares.

Original paper, page 20 · Answer key

1 mark · NAT
Report issue

Logic Minimization & Karnaugh Maps

Question 21, GATE 2017: A four-variable K-map has columns ba=00,01,11,10 and rows dc=00,01,11,10, both in Gray order. Row entries respectively are [0,X,X,0], [1,0,0,X], [1,0,0,1], [0,X,X,0], where X means don’t care. All inputs a,b,c,d and their complements are available. Using only 2-input NOR gates, find the minimum number of gates.
Tap to enlarge
Answer & solution

Official answer: 1.0

Our answer: 1

1. Use the stated column order ba, not ab. The three required ones are at (dc,ba)=(01,00),(11,00),(11,10).

2. Choose the don’t-care at (01,10) to be 1. With wraparound column adjacency, these four cells form a group: a stays 0 and c stays 1, while b and d vary. Thus f=¬a∧c.

3. De Morgan gives f=¬(a∨¬c). Since ¬c is supplied, feed a and ¬c to one NOR gate. A direct wire to any supplied literal fails some required cell, so zero gates cannot suffice. Minimum 1.

Original paper, page 11 · Answer key

2 marks · MCQ
Report issue

Logic Minimization & Karnaugh Maps

Question 28, GATE 2017: Given f(w,x,y,z)=Σm(0,1,2,3,7,8,10)+Σd(5,6,11,15), where d marks don't-cares, choose a minimum product-of-sums expression. A:(¬w+¬z)(¬x+z). B:(¬w+z)(x+z). C:(w+z)(¬x+z). D:(w+¬z)(¬x+z).
Tap to enlarge
Your answer
Answer & solution

Official answer: A

Step through it (12 steps)

1. For a POS minimization, group zeros rather than ones. Of the sixteen minterms, the required zeros are 4,9,12,13,14; entries 5,6,11,15 may be assigned as convenient.

2. The group {9,11,13,15} has w=1,z=1 throughout, so it contributes wz to the complement f′. The group {4,6,12,14} has x=1,z=0, contributing x¬z. Together these cover every required zero without covering any required one.

3. Thus f′=wz+x¬z. Complementing by De Morgan yields f=(¬w+¬z)(¬x+z), A. Both groups are needed: zero 9 is not covered by x¬z and zero 4 is not covered by wz. No single-literal zero group avoids all required ones, so the two two-literal clauses form a minimum POS.

Original paper, page 11 · Answer key

2 marks · MCQ
Report issue

Logic Minimization & Karnaugh Maps

Question 30, GATE 2016: Two 2-to-1 multiplexers are cascaded. The first has select P, input 0 tied to 0 and input 1 tied to R. Its output feeds input 1 of the second multiplexer. The second has select Q and input 0 tied to ¬R; output is X. Find the minimal SOP. A: ¬P¬Q+PQR. B: ¬PQ+QR. C: PQ+¬P¬QR. D: ¬Q¬R+PQR. A select 0 chooses input 0, and select 1 chooses input 1.
Tap to enlarge
Your answer
Answer & solution

Official answer: D

The first mux selects 0 for P=0 and R for P=1, giving PR. The second selects ¬R for Q=0 and PR for Q=1. Therefore X=¬Q¬R+PQR, D. The isolated 111 minterm requires PQR, and the two minterms with Q=R=0 require the other implicant, so this SOP is minimal.

A2:1 mux implements ¬s·I0+s·I1. Applying that equation once gives PR and applying it again gives ¬Q¬R+QPR. In PQR order the 1-minterms are 000,100,111. The first two differ only in P and combine to ¬Q¬R. The 111 minterm has no neighboring 1-minterm and must remain the three-literal term PQR. This verifies both equivalence and minimality, rather than merely matching an option's algebraic shape.

Original paper, page 13 · Answer key

2 marks · NAT
Report issue

Logic Minimization & Karnaugh Maps

Question 55, GATE 2015: How many minterms remain in the minimized function [¬D + A¬B + ¬AC + A¬CD + ¬A¬CD] complemented as a whole? Here juxtaposition is AND and + is OR.
Tap to enlarge
Answer & solution

Official answer: 1

Step through it (11 steps)

For the outer complement to be 1, every inner OR term must be 0. D′=0 requires D=1. With D=1 and C=0, AC′D+A′C′D=A+A′=1, impossible; hence C=1. Then A′C=0 requires A=1, and AB′=0 requires B=1. Conversely A=B=C=D=1 makes all inner terms zero. The function is exactly ABCD, one minterm.

Complementing a sum means that every product inside must be zero. The ¬D term first forces D=1. Then A¬CD and ¬A¬CD combine to ¬C, so C must be 1. With C=1, the term ¬AC forces A=1; with A=1, A¬B forces B=1. Thus exactly A=B=C=D=1 survives. Conversely that assignment makes every original summand zero, verifying the result ABCD and exactly one minterm.

Original paper, page 48 · Answer key

2 marks · MCQ
Report issue

Logic Minimization & Karnaugh Maps

Question 40, GATE 2015: For Boolean F=P′+QR, with variable order P,Q,R (P most significant) and P′=NOT P, assess S1: F=Σ(4,5,6); S2: F=Σ(0,1,2,3,7); S3: F=Π(4,5,6); S4: F=Π(0,1,2,3,7). Here Σ denotes sum of minterms and Π product of maxterms. Options list truth values S1,S2,S3,S4: (A) F,T,T,F; (B) T,F,F,T; (C) F,F,T,T; (D) T,T,F,F.
Tap to enlarge
Your answer
Answer & solution

Official answer: A

Step through it (13 steps)

1. F=¬P+QR is 1 for all P=0 cases 0..3 and for 111 (7).

2. It is 0 exactly on 4, 5, 6. Therefore sum of minterms 0, 1, 2, 3, 7 and product of maxterms4, 5, 6 are correct: S2, S3, option A.

Original paper, page 66 · Answer key

2 marks · NAT
Report issue

Logic Minimization & Karnaugh Maps

Question 62, GATE 2015: For Boolean f(w,x,y,z)=Σ(0,2,4,5,6,10), with minterm indexing in variable order w,x,y,z, find the total number of prime implicants. There are no don't-care minterms.
Tap to enlarge
Answer & solution

Official answer: 3

Step through it (11 steps)

1. The four-cell group {0,2,4,6} fixes w=0,z=0; pair {4,5} fixes w=0,x=1,y=0; pair {2,10} fixes x=0,y=1,z=0. All singleton minterms and remaining valid pairs expand into one of these maximal groups. Count prime implicants, not just a selected minimum cover.

2. The maximal all-one cubes are 0--0 covering 0, 2, 4, 6; 010- covering 4, 5; and-010 covering 2, 10. They correspond to w′z′, w′xy′ and x′yz′. No cube can expand without including a zero minterm, and every other valid cube is contained in one of these three. Thus there are 3 prime implicants.

Original paper, page 77 · Answer key

1 mark · MCQ
Report issue

Logic Minimization & Karnaugh Maps

Question 7, GATE 2014: Simplify F(P,Q,R,S)=PQ+P̅QR+P̅QR̅S to a minimal sum of products. A: PQ+QR+QS. B: P+Q+R+S. C: P̅+Q̅+R̅+S̅. D: P̅R+P̅R̅S+P.
Tap to enlarge
Your answer
Answer & solution

Official answer: A

Step through it (11 steps)

1. Method and setup. Factor Q from every term. Then simplify inside the parentheses using absorption X+X̅Y=X+Y twice: first absorb the P̅ factor when P is already present, then simplify R+R̅S. A minimality argument must also show that none of the surviving products is dispensable.

2. Work through the result and its assumptions. Use X+X′Y=X+Y: PQ+P′QR=Q(P+R). Including P′QR′S gives Q[P+P′(R+R′S)]=Q(P+R+S)=PQ+QR+QS. The three products are essential, witnessed by Q=1 with exactly one of P, R, S equal 1. Thus A.

Original paper, page 9 · Answer key

2 marks · MCQ
Report issue

Logic Minimization & Karnaugh Maps

Question 45, GATE 2014: A 4-to-1 multiplexer has select lines S₁=P and S₀=Q. Data inputs numbered 0,1,2,3 are respectively 0,1,R,R̅, and output is F. Choose the minimal sum of products. A: P̅Q+QR̅+PQ̅R. B: P̅Q+P̅QR̅+PQR̅+PQ̅R. C: P̅QR+P̅QR̅+QR̅+PQ̅R. D: PQR̅.
Tap to enlarge
Your answer
Answer & solution

Official answer: A

1. Method and setup. Enumerate the four select cases 00,01,10,11. Only the last three contribute nonzero outputs: data 1 contributes P̅Q, data R contributes PQ̅R, and data R̅ contributes PQR̅. Simplify this canonical mux expansion, taking care that the select bit order is P then Q.

2. Work through the result and its assumptions. Select inputs are P, Q and data inputs 0, 1, R, R′. Thus F=P′Q+PQ′R+PQR′. The first and third terms combine through P′Q+PQR′=Q(P′+PR′)=P′Q+QR′. Hence F=P′Q+QR′+PQ′R, option A. The minterm P=1, Q=0, R=1 is isolated and requires the three-literal term; the remaining on-set requires two additional implicants, establishing minimality.

Original paper, page 19 · Answer key

1 mark · MCQ
Report issue

Logic Minimization & Karnaugh Maps

Question 7, GATE 2014: For F(P,Q,R,S), the listed minterms are Σm(0,2,5,7,8,10,13,15), with 2,7,8,13 designated don't-cares. Find a minimal SOP. A Q S̅+Q̅ S; B Q̅ S̅+QS; C Q̅ R̅ S̅+Q̅ R S̅+Q R̅ S+QRS; D P̅ Q̅ S̅+P̅ QS+PQS+P Q̅ S̅. Variables in minterm indexing are ordered P,Q,R,S.
Tap to enlarge
Your answer
Answer & solution

Official answer: B

Step through it (10 steps)

Step 1: Required ones are 0,5,10,15; the four designated don't-cares may be used to enlarge groups but do not require coverage. Step 2: Group {0,2,8,10}: P and R vary, while Q=S=0, giving Q̅S̅. Group {5,7,13,15}: P and R vary, while Q=S=1, giving QS. Neither group includes a specified zero. Step 3: These two four-cell implicants cover every required one. One implicant cannot bridge the two regions without including specified zeros, so two terms are necessary. The minimal form is B; C and D split these groups into smaller, nonminimal terms.

Original paper, page 54 · Answer key

2 marks · MCQ
Report issue

Karnaugh map with don’t-care cells

Logic Minimization & Karnaugh Maps

Question 30, GATE 2012: Minimize the following four-variable Karnaugh map. Columns ab are 00,01,11,10; rows cd are 00,01,11,10. In that order the rows are [1,X,X,1], [X,0,0,1], [0,0,0,0], [1,0,0,X]. X denotes a don’t-care; blank cells in the source denote zero. A bar denotes complement.
(A) b̄d̄ (B) b̄d̄+b̄c̄ (C) b̄d̄+ab̄c̄d (D) b̄d̄+b̄c̄+c̄d̄.
Tap to enlarge
Your answer
Answer & solution

Official answer: B

Step through it (11 steps)

Use Gray-order rows cd=00, 01, 11, 10 and columns ab=00, 01, 11, 10, treating blank cells as zero. The four corners form a wraparound group using the don’t-care at row10, column 10, giving b̄d̄. Rows00 and 01 in the two outer columns form a second wraparound group using the don’t-care at row01, column 00, giving b̄c̄. Their union covers all required ones without covering a zero. No single implicant can cover both required cells with cd=01 and cd=10 without including row11 zeros. Thus the minimal expression is b̄d̄+b̄c̄, B.

Check: Each selected four-cell group varies a and one of c,d, eliminating those variables. In the corner group b=0,d=0 stay fixed; in the rows 00/01 outer-column group b=0,c=0 stay fixed. A don’t-care may be used as 1 to enlarge a group but need not be covered.

Original paper, page 7 · Answer key

1 mark · MCQ
Report issue

Simplifying product of sums

Logic Minimization & Karnaugh Maps

Question 14, GATE 2011: Find the simplified sum-of-products form of (P+Q'+R')(P+Q'+R)(P+Q+R'), where + is OR, juxtaposition is AND, and ' denotes complement.

(A) P'Q+R'
(B) P+Q'R'
(C) P'Q+R
(D) PQ+R
Tap to enlarge
Your answer
Answer & solution

Official answer: B

Step through it (10 steps)

Using (P+A)(P+B)=P+AB, the product becomes P+(Q′+R′)(Q′+R)(Q+R′). The first two residual factors reduce to Q′. Then Q′(Q+R′)=Q′R′, yielding P+Q′R′, B.

First combine the first two factors by taking their common term X=P+Q': (X+R')(X+R)=X+R'R=X. The remaining product is (P+Q')(P+Q+R'). Apply the same common-term identity with common P to obtain P+Q'(Q+R')=P+Q'R'. This two-stage simplification avoids a long expansion of all eight products and makes the absorption of Q'Q=0 explicit.

Original paper, page 4 · Answer key

1 mark · MCQ
Report issue

Minterms of a Boolean expression

Logic Minimization & Karnaugh Maps

Question 6, GATE 2010: Find the minterm expansion of f(P,Q,R)=PQ+Q¬R+P¬R. Use P,Q,R as the most-significant to least-significant bits of each minterm index.
Options: (A) m₂+m₄+m₆+m₇; (B) m₀+m₁+m₃+m₅; (C) m₀+m₁+m₆+m₇; (D) m₂+m₃+m₄+m₅.
Tap to enlarge
Your answer
Answer & solution

Answer: A (no official key was published)

Step through it (11 steps)

The expression is PQ+Q R̄+P R̄, with variable order P,Q,R. PQ covers minterms 6 and 7; Q R̄ covers 2 and 6; P R̄ covers 4 and 6. Taking their union gives m₂+m₄+m₆+m₇, option A. Repeated minterm 6 is included only once.

To convert products to minterms, include missing variables: PQ=PQ¬R+PQR, Q¬R=¬PQ¬R+PQ¬R, and P¬R=P¬Q¬R+PQ¬R. Their binary assignments are 110,111; 010,110; and 100,110. OR is idempotent, so duplicate 110 is not counted again. The resulting truth vector in index order 0 through 7 is 00101011.

Original paper, page 2

1 mark · MCQ
Report issue

K-map minimum using dont-cares

Logic Minimization & Karnaugh Maps

Question 5, GATE 2008: Minimize the Karnaugh map. Columns ab are 00,01,11,10; rows cd are 00,01,11,10. Rows of cell values are [1,1,0,1], [X,0,0,0], [X,0,0,0], [1,1,0,X]. X is a don’t-care; blank source cells are zero. Prime denotes complement.

(A) b′d′+a′d′
(B) a′b′+b′d′+a′bd′
(C) b′d′+a′bd′
(D) a′b′+b′d′+a′d′
Tap to enlarge
Your answer
Answer & solution

Answer: A (no official key was published)

Step through it (11 steps)

1. Treat the map edges as adjacent. The four corners form a legal group by using the bottom-right don’t-care; b and d are zero throughout, giving b′d′.
2. Group the cells in the top and bottom rows of the left two columns. Here a=d=0, giving a′d′.
3. The union covers every specified 1 without any specified 0, so f=b′d′+a′d′, A. One implicant cannot cover both required ab=01 and ab=10 regions without including a forbidden ab=11 cell, so two terms are needed.

Original paper, page 2

1 mark · MCQ
Report issue

Variables absent from a Boolean function

Logic Minimization & Karnaugh Maps

Question 9, GATE 2007: For f(w,x,y,z)=Σm(1,3,4,6,9,11,12,14), which statement is true? Minterm bits are in w,x,y,z order.
Options:
(A) Independent of one variable
(B) Independent of two variables
(C) Independent of three variables
(D) Dependent on all variables
Tap to enlarge
Your answer
Answer & solution

Answer: B (no official key was published)

Step through it (10 steps)

1. Approach. List x,z for the selected minterms: each has either x=0,z=1 or x=1,z=0. Both w values and both y values occur for each such pair.

2. Derivation and interpretation. Pairing minterms differing in w or y leaves membership unchanged. The given minterms are exactly those with x≠z, so f=x⊕z. It depends on x,z but not w,y, hence is independent of two variables, B.

Original paper, page 3

2 marks · MCQ
Report issue

Boolean forms not matching the minterms

Logic Minimization & Karnaugh Maps

Question 32, GATE 2007: Let f(w,x,y,z)=Σm(0,4,5,7,8,9,13,15), with minterm bits in w,x,y,z order. Which listed expressions are NOT equivalent to f? Prime denotes complement. The source expressions are:
P = x′y′z′ + w′xy′ + wy′z + xz
Q = w′y′z′ + wx′y′ + xz
R = w′y′z′ + wx′y′ + xyz + xy′z
S = x′y′z′ + wx′y′ + w′y
Options:
(A) P only
(B) Q and S
(C) R and S
(D) S only
Tap to enlarge
Your answer
Answer & solution

Answer: D (no official key was published)

1. Approach. Read each complement mark carefully before testing equivalence. The source has Q=w′y′z′+wx′y′+xz. Expand product terms into minterms, or enumerate all sixteen inputs; a single extra or missing minterm disproves equivalence.

2. Derivation and interpretation. P, Q and R each produce minterms {0,4,5,7,8,9,13,15}, exactly the target set. For Q, w′y′z′ covers {0,4}, wx′y′ covers {8,9}, and xz covers {5,7,13,15}. For R, xyz+xy′z=xz, so R equals Q. S instead produces {0,2,3,6,7,8,9}: for instance input 0010 makes w′y true although minterm 2 is not in f. Thus only S is not equivalent, option D. The previous B answer resulted from dropping the prime on z in Q; the scanned original visibly contains that prime. This is a source-based independent correction, not an official-key match.

Original paper, page 7

2 marks · MCQ
Report issue

Hazard-free cover

Logic Minimization & Karnaugh Maps

Question 38, GATE 2006: For f(w,x,y,z)=Σm(5,7,11,12,13,15), only one input changes at a time. A transition between adjacent ON minterms must never cause a momentary zero. Which cube cover avoids such static-1 hazards? The options below explicitly use GateForum p11; its D begins wzy, while the corresponding GFG term is too blurred to establish. This question therefore retains a source discrepancy rather than silently repairing an option.
Options:
(A) {¬wxz, wx¬y, x¬yz, xyz, wyz}
(B) {wxy, ¬wxz, wyz}
(C) {wx·overline(yz), xz, w¬xyz}; the printed bar spans yz, retaining the source bar-scope ambiguity
(D) {wzy, wyz, wxz, ¬wxz, x¬yz, xyz}
Tap to enlarge
Your answer
Answer & solution

Answer: Proven cover given; option letter unresolved (no official key was published)

1. For a two-level AND-OR cover to avoid static-1 hazards on single-input changes, every adjacent pair of ON minterms must share a cube. The adjacent pairs are(5,7),(5,13),(7,15),(11,15),(12,13),(13,15).

2. The cover{xz,wyz,wx¬y} covers all six and exactly the ON set. Equivalently, the six edge cubes are{¬wxz,x¬yz,xyz,wyz,wx¬y,wxz}.

3. Option A lacks a cube spanning 13↔15; option C leaves 12↔13 unbridged if its first term is read as wx¬y¬z.

4. Neither reading makes C valid.

5. Thus a corrected D containing wx¬y would work, but the paper warrants silently claiming that printed D is correct. Original wording/key are needed to resolve the letter.

6. Teaching check: Ordinary truth-table equivalence does not by itself guarantee hazard freedom. For every adjacent ON pair, one product term must remain asserted throughout the changing input. The independently derived valid cover {xz,wyz,wx¬y} can be verified by checking both its ON set and its coverage of all six ON edges.

Original paper, page 5

1 mark · MCQ
Report issue

Matching a sum of minterms

Logic Minimization & Karnaugh Maps

Question 18, GATE 2005: Minimize f(A, B, C, D)=Σ(1, 4, 5, 9, 11, 12). Options: A BC′D′+A′C′D+AB′D; B ABC′+ACD+B′C′D; C ACD′+A′BC′+AC′D′; D A′BD+ACD′+BCD′.
Tap to enlarge
Your answer
Answer & solution

Answer: A (no official key was published)

Step through it (13 steps)

BC′D′ covers minterms 4, 12; A′C′D covers 1, 5; AB′D covers 9, 11. Their union is exactly{1, 4, 5, 9, 11, 12}, so A matches the function.

Each product in a valid SOP must cover only required minterms, and all six required minterms must be covered by at least one product. A four-variable Karnaugh map or direct 16-row evaluation makes this test mechanical. For A, BC′D′ covers 4 and 12, A′C′D covers 1 and 5, and AB′D covers 9 and 11. Their union is exactly the required six minterms with no extras. A single added or lost prime would alter these pairs, so the options were cross-checked against the clearer alternate.

Original paper, page 2

2 marks · MCQ
Report issue

Essential prime implicants

Logic Minimization & Karnaugh Maps

Question 59, GATE 2004: What are the essential prime implicants of f(a,b,c)=a′c+ac′+b′c?
Options:
(A) a′c and ac′
(B) a′c and b′c
(C) a′c only
(D) ac′ and bc′
Question 59, GATE 2004: What are the essential prime implicants of f(a,b,c)=a′c+ac′+b′c?
Options:
(A) a′c and ac′
(B) a′c and b′c
(C) a′c only
(D) ac′ and bc′
Tap to enlarge
Your answer
Answer & solution

Answer: A (no official key was published)

Step through it (12 steps)

1. The on-set of a′c+ac′+b′c is{1,3,4,5,6}. Prime implicants include a′c covering 1,3; ac′ covering 4,6; b′c covering 1,5; and ab′ covering 4,5.

2. Minterm3 is covered only by a′c, and minterm 6 only by ac′, so these two are essential. Minterm5 can be covered by either b′c or ab′, making neither of those essential.

3. Teaching check: A prime implicant is essential only if it alone covers some on-set minterm. Minterm 5 can be covered by either b′c or ab′, so the visible term b′c is not essential merely because it appears in the original expression.

Original paper, page 8

2 marks · MCQ
Report issue

Minimum literal counts from a Karnaugh map

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

1 mark · MCQ
Report issue

Minimizing the four-variable Karnaugh map

Logic Minimization & Karnaugh Maps

Question 1.12, GATE 2002: Find the minimum sum-of-products form of f(w,x,y,z) from this Karnaugh map. Columns wx are 00, 01, 11, 10; rows yz are 00, 01, 11, 10. The respective rows of entries are [0,1,1,0], [X,0,0,1], [X,0,0,1], [0,1,1,X], where X is a don’t-care. Prime denotes complement.
(A) xz + y′z; (B) xz′ + zx′; (C) x′y + zx′; (D) None of these.
Tap to enlarge
Your answer
Answer & solution

Answer: B (no official key was published)

Step through it (12 steps)

Step 1: Read the map using its Gray-code axes.

Step 2: The clearer alternate labels columns wx=00,01,11,10 and rows yz=00,01,11,10. Rows with z=0 have specified ones where x=1; rows with z=1 have ones where x=0, with don’t-cares available to complete the groups. Each four-cell group removes the two variables that change inside it. The two resulting product terms have opposite x,z values, identifying XOR rather than an expression depending on y.

Conclusion: Group the four cells with x=0,z=1 to obtain x′z. Group the four cells with x=1,z=0, using the displayed don’t-care cells, to obtain xz′. The remaining specified cells are zero. Thus f=xz′+x′z, B. Each implicant is needed to cover its separate group, and w,y disappear.

Original paper, page 2

1 mark · MCQ
Report issue

Minimum sum of products from a Karnaugh map

Logic Minimization & Karnaugh Maps

Question 1.11, GATE 2001: Find a minimal SOP for the displayed four-variable map. Columns wx and rows yz both use Gray order 00,01,11,10. Rows are [0,X,0,X], [X,1,X,1], [0,X,1,0], [0,1,X,0], with X a don’t-care. Choices: A xy+y′z; B wx′y′+xy+xz; C w′x+y′z+xy; D xz+y.
Question 1.11, GATE 2001: Find a minimal SOP for the displayed four-variable map. Columns wx and rows yz both use Gray order 00,01,11,10. Rows are [0,X,0,X], [X,1,X,1], [0,X,1,0], [0,1,X,0], with X a don’t-care. Choices: A xy+y′z; B wx′y′+xy+xz; C w′x+y′z+xy; D xz+y.
Tap to enlarge
Your answer
Answer & solution

Answer: A (no official key was published)

Step through it (13 steps)

Step 1: Read columns wx and rows yz in Gray order 00,01,11,10. The entire row yz=01 can be grouped using its don’t-care cells, producing y′z. The block with x=1,y=1 across rows 11/10 and columns 01/11 produces xy.

Step 2: These two four-cell groups cover all specified ones without covering a specified zero. One term cannot cover both required regions: enlarging to a common cube would include forbidden zero cells.

Conclusion: xy+y′z is a minimal two-term expression, A. Don’t-care cells are chosen only to enlarge legal groups, not to change specified zeros.

Original paper, page 2

2 marks · MCQ
Report issue

Comparing three implementations of a Karnaugh map

Logic Minimization & Karnaugh Maps

Question 2.11, GATE 2000: Map columns wz and rows xy are Gray-ordered 00,01,11,10. Rows are [0,X,0,0],[0,X,1,1],[1,1,1,1],[0,X,0,0]. Which does NOT implement it: A(w+x)y; Bxy+yw; C(w+x)(w′+y)(x′+y); D none?
Tap to enlarge
Your answer
Answer & solution

Answer: D (no official key was published)

Step through it (15 steps)

Step 1: The specified ones occur when y=1 and at least one of w,x is 1. Thus F=(w+x)y, and distribution gives xy+yw, proving A and B equivalent and consistent with all specified cells.

Step 2: Simplify C: (w′+y)(x′+y)=y+w′x′. Multiplying by(w+x) gives y(w+x)+(w+x)w′x′=y(w+x), because the last product is zero.

Therefore C is equivalent as well, so none of A–C fails: D. The complement bars on both w and x in C are essential and were checked in the clearer alternate figure.

Original paper, page 4

1 mark · MCQ
Report issue

Karnaugh-map simplification

Logic Minimization & Karnaugh Maps

Question 1.8, GATE 1999: Rows AB and columns CD are Gray ordered 00,01,11,10. Rows are [0,0,1,0],[X,X,1,X],[0,1,1,0],[0,1,1,0]. Find the expression; B is D(C+A).
Tap to enlarge
Your answer
Answer & solution

Answer: B (no official key was published)

Step through it (13 steps)

The entire CD=11 column consists of ones, giving implicant CD. The block spanning AB=11,10 and CD=01,11 gives AD. Their union is CD+AD=D(C+A). Check that every specified one is covered and neither group contains a specified zero; don’t-cares may take either value. Both terms are needed: AB=00,CD=11 requires CD, while AB=10,CD=01 requires AD. Therefore the displayed expression B implements all constrained cells.

Original paper, page 1

2 marks · MCQ
Report issue

A map with binary-ordered columns

Logic Minimization & Karnaugh Maps

Question 2.7, GATE 1998: The map has rows A=0, 1 and columns BC=00, 01, 10, 11. Both rows are 1, 0, 0, 1. Find its function; C is complement (B XOR C).
Tap to enlarge
Your answer
Answer & solution

Answer: C: XNOR of B, C (no official key was published)

The identical rows show that A is irrelevant. The output is 1 exactly for BC=00 or 11, meaning B and C agree. Therefore F=B′C′+BC=¬(B⊕C), option C. The displayed columns are binary order 00, 01, 10, 11 rather than Gray order; treating adjacent columns as automatically differing in one bit would be invalid. Reading the labels as a truth table avoids that trap and gives the result directly. Its altered map is B′C′+BC+A′C, which is not any displayed option. The C answer follows the the paper map, not a claim that the paper agrees.

Original paper, page 4

2 marks · MCQ
Report issue

Implicant versus prime implicant

Logic Minimization & Karnaugh Maps

Question 5.1, GATE 1997: For f (x, y, z)=¬x+¬y·x+xz, which is valid: ¬y·x is prime, xz is a minterm, xz is an implicant, y is prime?
Question 5.1, GATE 1997: For f (x, y, z)=¬x+¬y·x+xz, which is valid: ¬y·x is prime, xz is a minterm, xz is an implicant, y is prime?
Tap to enlarge
Your answer
Answer & solution

Answer: C (no official key was published)

Step through it (15 steps)

The term xz appears directly in the sum, so whenever xz=1, the function is 1; hence it is an implicant, C. It is not a minterm because it omits y. Simplifying f by absorption gives¬x+¬y+z, so¬y·x can be enlarged to¬y and is not prime. Finally y alone does not imply f: at (x, y, z)=(1, 1, 0), y=1 but f=0. Thus D is false.

Original paper, page 4

3 marks · Descriptive
Report issue

Minimal SOP of a five-factor function

Logic Minimization & Karnaugh Maps

Question 71(a), GATE 1997: f=(¬w+y)(¬x+y)(w+¬x+z)(¬w+z)(¬x+z), where + is Boolean OR, juxtaposition is AND, and ¬ is complement. Express f in minimal sum-of-products form. The source requests only the answer; the derivation is included for learning.
Question 71(a), GATE 1997: f=(¬w+y)(¬x+y)(w+¬x+z)(¬w+z)(¬x+z), where + is Boolean OR, juxtaposition is AND, and ¬ is complement. Express f in minimal sum-of-products form. The source requests only the answer; the derivation is included for learning.
Tap to enlarge
Answer & solution

Answer: f=¬w¬x+yz. (no official key was published)

Group the two factors sharing ¬w and the two sharing ¬x. The Boolean identity (a+b)(a+c)=a+bc gives
(¬w+y)(¬w+z)=¬w+yz,
(¬x+y)(¬x+z)=¬x+yz.
Applying the same identity with the common term yz gives (¬w+yz)(¬x+yz)=¬w¬x+yz. The original function is therefore (¬w¬x+yz)(w+¬x+z).

The remaining factor is redundant. Whenever ¬w¬x=1, its term ¬x makes w+¬x+z true. Whenever yz=1, its term z makes that factor true. Thus multiplying by it changes neither product term and f=¬w¬x+yz.

To justify minimality, not just equivalence, consider the true input 0000 in variable order wxyz. Any implicant covering it must require w=0 and x=0: changing w alone gives 1000, which is false, and changing x alone gives 0100, which is false. Its largest covering cube is therefore ¬w¬x. At 1111, changing y alone or z alone makes f false, so an implicant covering that point must require y=z=1. Its largest covering cube is yz. A single product cannot cover both 0000 and 1111 without allowing false inputs, since they disagree on every variable. Hence at least two terms and at least four literals are needed. The expression above uses exactly two two-literal terms and is minimal.

As a separate finite check, its 1-minterms are 0,1,2,3,7,11,15. Evaluating all 16 assignments agrees with the visually read five-factor source formula.

Original paper, page 10

2 marks · MCQ
Report issue

Product of sums from a Karnaugh map

Logic Minimization & Karnaugh Maps

Question 2.24, GATE 1996: The K-map has rows CD=00,01,11,10 and columns AB=00,01,11,10; its 1s occur exactly where B≠D. Find a product-of-sums expression.
Tap to enlarge
Your answer
Answer & solution

Answer: C: (B+D)(¬B+¬D) (no official key was published)

The displayed 1s occupy both B=1 columns when D=0 and both B=0 columns when D=1, independent of A and C. Hence the function is B XOR D. For a product-of-sums derivation, group the zeros with B=D=0 to obtain maxterm B+D, and group the zeros with B=D=1 to obtain maxterm ¬B+¬D. Their product is the required function. The paper option C prints this expression.

Original paper, page 7

Descriptive
Report issue

Minimize a four-variable Karnaugh map

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

Report issue

A variable-entered Karnaugh map

Logic Minimization & Karnaugh Maps

Question 1(i), GATE 1992: Rows are B=0, 1 and columns C=0, 1. The four entries are 1, 0, ¬A, A respectively. Give a sum of products.
Question 1(i), GATE 1992: Rows are B=0, 1 and columns C=0, 1. The four entries are 1, 0, ¬A, A respectively. Give a sum of products.
Tap to enlarge
Answer & solution

Answer: ¬B¬C+¬A¬C+ABC (no official key was published)

The B=0, C=0 cell is one for either A, giving ¬B¬C. At B=1, C=0 the output is ¬A, which joins the A=0 portion of the first cell to give ¬A¬C. The remaining one occurs at A=B=C=1 and is isolated, giving ABC. Thus the SOP is ¬B¬C+¬A¬C+ABC. Alternatively the direct unsimplified expansion ¬B¬C+¬AB¬C+ABC is equivalent. The letter entries in the map are functions of the third variable, not literal binary cells.

Original paper, page 1

4 marks · Descriptive
Report issue

Minimum sum of products with don’t-cares

Logic Minimization & Karnaugh Maps

Question 5(b), GATE 1991: Find a minimum SOP for f(A,B,C,D)=Σm(0,2,8,10,15)+Σd(3,11,12,14), with A the most significant bit.
Question 5(b), GATE 1991: Find a minimum SOP for f(A,B,C,D)=Σm(0,2,8,10,15)+Σd(3,11,12,14), with A the most significant bit.
Tap to enlarge
Answer & solution

Answer: f = B′D′ + AC (two products, four literals). (no official key was published)

Step through it (12 steps)

Place the mandatory ones at 0,2,8,10,15 in the four-variable Karnaugh map, mark 3,11,12,14 as optional, and treat all other cells as zeros. The group {0,2,8,10} fixes B=0,D=0 while A,C vary, producing B′D′. The group {10,11,14,15} fixes A=1,C=1, producing AC; its cells 11 and 14 are permitted don’t-cares. The union covers every mandatory one and no mandatory zero.

For minimality, a single implicant containing both 0=0000 and 15=1111 would leave all four bits free and cover forbidden zeros. Therefore at least two product terms are necessary. No one-literal implicant is legal: each half of the truth table contains at least one mandatory zero. Hence each nonzero product needs at least two literals, and two products need at least four literals. Our expression meets both lower bounds.

Don’t-cares are permissions to choose values that simplify the implementation, not required ones. For example this solution sets 3 and 12 to zero, which is allowed. Check the seven mandatory-zero cells as well as the five mandatory-one cells; checking only the specified ones would not establish equivalence.

Original paper, page 5