Question

Consider the minterm list form of a Boolean function FF given below.

F(P,Q,R,S)=∑m(0,2,5,7,9,11)+d(3,8,10,12,14)F(P, Q, R, S) = \sum m(0, 2, 5, 7, 9, 11) + d(3, 8, 10, 12, 14)

Here, mm denotes a minterm and dd denotes a don’t care term. The number of essential prime implicants of the function FF is ______.

Official answer and solution
Official answer
3
From
Official GATE 2018 answer key

Solution

Plot minterms and don't care conditions on a 4-variable Karnaugh map to identify essential prime implicants.

Given minterms m(0,2,5,7,9,11)m(0, 2, 5, 7, 9, 11) and don't cares d(3,8,10,12,14)d(3, 8, 10, 12, 14) on variables P,Q,R,SP, Q, R, S:

  • Group 1 (corners and edges): {0,2,8,10}\{0, 2, 8, 10\} forms a quad covering minterms 0 and 2 using don't cares 8 and 10. The term is Q‾ S‾\overline{Q}\,\overline{S}. Minterm 0 cannot be combined into any other prime implicant, so Q‾ S‾\overline{Q}\,\overline{S} is essential.
  • Group 2 (row 01): {5,7}\{5, 7\} forms a pair covering minterms 5 and 7. Since neither 5 nor 7 has any other adjacent 1 or don't care, this pair is a prime implicant P‾QS\overline{P}QS. Because minterm 5 is covered uniquely by it, P‾QS\overline{P}QS is essential.
  • Group 3 (row 10): {8,9,10,11}\{8, 9, 10, 11\} forms a quad covering minterms 9 and 11 using don't cares 8 and 10. The term is PQ‾P\overline{Q}. Minterm 9 cannot be grouped with any other 1 or don't care, so PQ‾P\overline{Q} is essential.

Minterm 2 is covered by Q‾ S‾\overline{Q}\,\overline{S} (and {2,3,10,11}\{2, 3, 10, 11\}), minterm 7 is covered by P‾QS\overline{P}QS (and {3,7}\{3, 7\}), and minterm 11 is covered by PQ‾P\overline{Q} (and {2,3,10,11}\{2, 3, 10, 11\}).

All 6 minterms are covered by these 3 essential prime implicants: Q‾ S‾\overline{Q}\,\overline{S}, P‾QS\overline{P}QS, and PQ‾P\overline{Q}. Hence, the number of essential prime implicants is 3.

Final answer

3

The answer is the one in the official GATE answer key. The solution is this site's own explanation.

Source

Paper
GATE 2018 Computer Science and Information Technology (CS)
Question
59 of 65, printed as CS Q.49
Section
Computer Science and Information Technology

Report an error in this question

GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.