K-Map Minimization: GATE ECE practice questions with solutions
This topic covers K-map grouping, prime and essential prime implicants, don't-cares, minimal sums and products, and non-unique covers. The 15 original questions follow the GATE EC format: 9 MCQ, 2 MSQ and 4 NAT, from 5 easy, 7 medium and 3 hard.
Three ideas to know:
- Each literal removed from a 4-literal minterm doubles the group size.
- The four corner cells of a 4-variable map are mutually adjacent and form one quad.
- After the essential prime implicants, cover what is left with the fewest literals.
It helps GATE EC and ECE students revising Digital Circuits for the exam or a semester test. Helpful background: Prime implicants and Don't-care conditions. Start with the 5 easy questions, then work up to the 3 hard ones.
Related
Q.1
EasyMCQ1 mark
In a 4-variable K-map for F(A, B, C, D), how many cells does the product term AC′ cover?
Show answer and solutionHide answer and solution
Answer: (B)
Key idea: Each literal removed from a 4-literal minterm doubles the group size.
1. A product term with k literals in an n-variable map leaves n − k variables free.
2. AC′ fixes A and C and leaves B and D free.
3. It covers 2^(4 − 2) = 4 cells: 1000, 1001, 1100 and 1101 (ABCD).
Common mistake: Taking one cell per literal gives 2, option (A).
You need: K-map layout, product terms
Q.2
EasyMCQ1 mark
The minimal sum of products for F(A, B, C) = Σm(0, 2, 4, 6) is
Show answer and solutionHide answer and solution
Answer: (A)
Key idea: The outer columns of a K-map are adjacent, so a group can wrap around the edge.
1. The minterms are 000, 010, 100 and 110: every row with C = 0.
2. In the 3-variable map (rows A, columns BC in the order 00, 01, 11, 10) they are the first and last columns of both rows.
3. The first and last columns are adjacent, so the four cells form one quad, C′.
Common mistake: Grouping only the top row's cells m0 and m2 as a wrapped pair and forgetting the matching pair m4, m6 in the bottom row gives A′C′, option (B).
You need: K-map adjacency, wrap-around groups
Q.3
EasyMCQ1 mark
In a K-map, the two variables along one edge label the columns in the order
Show answer and solutionHide answer and solution
Answer: (C)
Key idea: K-map rows and columns follow Gray code so that adjacent cells differ in one bit.
1. Neighboring cells must differ in exactly one variable.
2. The Gray-code order 00, 01, 11, 10 does this, including the wrap from 10 back to 00.
3. Binary order fails between 01 and 10, which differ in two bits.
Common mistake: Using plain binary counting order gives 00, 01, 10, 11, option (A), which puts 01 next to 10.
You need: Gray code, K-map layout
Q.4
EasyNAT1 mark
F(A, B, C, D) = Σm(0, 1, 2, 3, 8, 9, 10, 11). The number of literals in the minimal sum of products is ______.
Numerical answer: type a number.
Show answer and solutionHide answer and solution
Answer: 1
Key idea: Look for the largest group first: an octet in a 4-variable map is a single literal.
1. Minterms 0 to 3 are A′B′ and minterms 8 to 11 are AB′.
2. Together they are every cell with B = 0, an octet.
3. F = B′, which has 1 literal.
Common mistake: Stopping at the two quads A′B′ + AB′ gives 4 literals.
You need: K-map grouping
Q.5
EasyMCQ1 mark
An essential prime implicant of a function is a prime implicant that
Show answer and solutionHide answer and solution
Answer: (D)
Key idea: Essential means unavoidable: some 1 can only be covered by that group.
1. A prime implicant is a group that cannot be enlarged.
2. It is essential when some minterm lies in it and in no other prime implicant.
3. Such a group must appear in every minimal cover, whatever its size.
Common mistake: Picking the largest group as the essential one, option (B); a large group can be redundant if its minterms are all covered by other groups.
You need: Prime implicants
Q.6
MediumMCQ2 marks
The minimal sum of products for F(A, B, C, D) = Σm(0, 2, 5, 7, 8, 10, 13, 15) is
Show answer and solutionHide answer and solution
Answer: (B)
Key idea: The four corner cells of a 4-variable map are mutually adjacent and form one quad.
1. Minterms 0, 2, 8 and 10 are the four corners of the map (B = 0, D = 0): the quad B′D′.
2. Minterms 5, 7, 13 and 15 are the center quad (B = 1, D = 1): BD.
3. F = B′D′ + BD, which is B ⊙ D.
Common mistake: Missing the vertical wrap and grouping only the top corners m0, m2 as A′B′D′ leaves m8 and m10 uncovered; writing A′B′D′ + BD gives option (A).
You need: K-map corners, wrap-around
Q.7
MediumNAT2 marks
F(A, B, C, D) = Σm(0, 1, 5, 7, 10, 14, 15). The total number of prime implicants of F is ______.
Numerical answer: type a number.
Show answer and solutionHide answer and solution
Answer: 6
Key idea: Count every group that cannot be enlarged, not only the ones a minimal cover uses.
1. Pairs that cannot grow: A′B′C′ (0, 1), A′C′D (1, 5), A′BD (5, 7), BCD (7, 15), ABC (14, 15) and ACD′ (10, 14).
2. No quad exists among these minterms, so all six pairs are prime.
3. Two of them, A′B′C′ (for m0) and ACD′ (for m10), are essential.
Common mistake: Counting the 4 terms of a minimal cover (for example A′B′C′ + ACD′ + A′BD + BCD) gives 4.
You need: Prime implicants, Quine-McCluskey
Q.8
MediumMCQ2 marks
F(A, B, C, D) = Σm(1, 3, 7, 11, 15) + d(0, 2, 5). Which of the following is a minimal sum of products for F?
Show answer and solutionHide answer and solution
Answer: (C)
Key idea: Use don't-cares only when they make a group larger.
1. Minterms 3, 7, 11 and 15 form the quad CD.
2. Minterm 1 is still uncovered.
3. Using the don't-cares 5 (and 3, 7 already 1s), the quad A′D covers 1, 3, 5 and 7.
4. F = CD + A′D, with 4 literals. (CD + A′B′ is an equally small alternative, but it is not among the options.)
Common mistake: Treating the don't-cares as 0 forces the pair A′B′D for m1 and gives CD + A′B′D, option (A), with 5 literals.
You need: Don't-care conditions
Q.9
MediumMCQ1 mark
The minimal product of sums for F(A, B, C) = Σm(0, 1, 2, 3, 6, 7) is
Show answer and solutionHide answer and solution
Answer: (D)
Key idea: In a product of sums, a variable that is 1 in the zero group appears complemented.
1. The zeros of F are m4 = 100 and m5 = 101.
2. They form the pair with A = 1, B = 0.
3. A zero group becomes a sum term with each literal complemented: (A′ + B).
4. Check: F = A′ + B is 1 for 000 to 011 and for 110, 111.
Common mistake: Writing the zero group's literals as in a sum of products (A = 1 as A, B = 0 as B′) gives (A + B′), option (B).
You need: Product of sums, maxterms
Q.10
MediumMSQ2 marks
For F(A, B, C) = Σm(1, 3, 4, 5, 6), which of the following statements are true?
One or more options are correct.
Show answer and solutionHide answer and solution
Answer: (A), (B) and (D)
Key idea: After the essential prime implicants, any choice among equal remaining groups gives another minimal answer.
1. The prime implicants are A′C (1, 3), B′C (1, 5), AB′ (4, 5) and AC′ (4, 6): four, so (A) is true. 2. m3 is covered only by A′C and m6 only by AC′, so (B) is true.
3. After those, m5 is left and either B′C or AB′ covers it, so there are two minimal covers and (C) is false.
4. Each minimal cover has 3 terms, so (D) is true.
Common mistake: Assuming a K-map always has one minimal answer and choosing (C).
You need: Prime implicants, essential prime implicants
Q.11
MediumNAT1 mark
F(A, B, C, D) = A′B + CD′. The number of 1s in the K-map of F is ______.
Numerical answer: type a number.
Show answer and solutionHide answer and solution
Answer: 7
Key idea: Overlapping product terms share cells; count the union.
1. A′B fixes two variables, so it covers 4 cells (4, 5, 6, 7).
2. CD′ covers 4 cells (2, 6, 10, 14).
3. Cell 6 (A′BCD′) is in both, so the total is 4 + 4 − 1 = 7.
Common mistake: Adding 4 + 4 = 8 counts cell 6 twice.
You need: K-map, product terms
Q.12
MediumMCQ2 marks
F(A, B, C, D) = Σm(0, 2, 4, 6, 8, 12) + d(10, 14). The minimal sum of products for F is
Show answer and solutionHide answer and solution
Answer: (A)
Key idea: Don't-cares that complete an octet reduce the answer to a single literal.
1. The 1s with D = 0 are 0, 2, 4, 6, 8 and 12.
2. The remaining cells with D = 0 are 10 and 14, both don't-cares.
3. Taking them as 1 makes all eight D = 0 cells one octet, so F = D′.
Common mistake: Treating the don't-cares as 0 leaves two quads, C′D′ and A′D′, giving C′D′ + A′D′, option (B).
You need: Don't-care conditions, K-map grouping
Q.13
HardNAT2 marks
F(A, B, C, D) = Σm(0, 1, 2, 5, 6, 7, 8, 9, 10, 14). The number of literals in the minimal sum of products of F is ______.
Numerical answer: type a number.
Show answer and solutionHide answer and solution
Answer: 7
Key idea: After the essential prime implicants, cover what is left with the fewest literals.
1. The prime implicants are B′C′, B′D′, CD′, A′C′D, A′BD and A′BC.
2. B′C′ (for m9) and CD′ (for m14) are essential; together they cover 0, 1, 2, 6, 8, 9, 10 and 14.
3. Left: m5 and m7, both in A′BD.
4. F = B′C′ + CD′ + A′BD: 2 + 2 + 3 = 7 literals.
Common mistake: Covering m5 and m7 with two separate prime implicants, A′C′D and A′BC, gives B′C′ + CD′ + A′C′D + A′BC with 10 literals.
You need: Essential prime implicants, minimal covers
Q.14
HardMCQ2 marks
F(A, B, C, D) = Σm(2, 3, 7, 9, 11, 13) + d(1, 10, 15). The minimal sum of products for F is
Show answer and solutionHide answer and solution
Answer: (B)
Key idea: Using don't-cares, each required 1 that has only one possible group fixes an essential prime implicant.
1. AD covers 9, 11, 13 and 15 (with d15); it is the only prime implicant containing m13, so it is essential.
2. B′C covers 2, 3, 10 and 11 (with d10); it is the only one containing m2.
3. CD covers 3, 7, 11 and 15; it is the only one containing m7.
4. These three cover every minterm, so F = AD + B′C + CD.
Common mistake: Ignoring the don't-cares gives the four-term answer A′B′C + A′CD + AC′D + B′CD, option (D), with 12 literals.
You need: Don't-care conditions, essential prime implicants
Q.15
HardMSQ2 marks
F(A, B, C) = Σm(1, 2, 3, 4, 5, 6), which is 1 unless all three inputs are equal. Which of the following statements are true?
One or more options are correct.
Show answer and solutionHide answer and solution
Answer: (A), (B) and (D)
Key idea: A cyclic function has no essential prime implicants, so the minimal cover must be chosen by trying options.
1. Each 1 has exactly two neighboring 1s, so the prime implicants are the six pairs A′B, A′C, B′C, AB′, AC′ and BC′; (A) is true.
2. Every minterm is in two prime implicants, so none is essential; (B) is true.
3. Six minterms with groups of two need at least 3 terms, so (C) is false.
4. The pairs form a ring of six; a cover by 3 disjoint pairs is A′B + B′C + AC′ or A′C + BC′ + AB′, exactly two, so (D) is true.
Common mistake: Hoping a quad exists and choosing (C); no four of these 1s form a group because m0 and m7 are 0.
You need: Prime implicants, cyclic covers
Past GATE questions on this topic
- GATE 2026 EC, Q.56: Boolean minimisation (2 marks, MSQ)