GATE / CS ARCHIVE

SIMILAR QUESTIONS / DIGITAL LOGIC

Enumerate prime and essential implicants

4 questions solved the same way, newest first. Back to Digital Logic

How these are solved

Enumerate all maximal legal ON-cubes; test cube containment and unique coverage of required minterms to distinguish implicants, prime implicants and essential prime implicants.

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

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

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

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