Question

Consider the following minterm expression for FF:

F(P,Q,R,S)=∑m(0,2,5,7,8,10,13,15)F(P, Q, R, S) = \sum m(0, 2, 5, 7, 8, 10, 13, 15)

The minterms 2, 7, 8 and 13 are 'do not care' terms. The minimal sum-of-products form for FF is

Choose one option
Official answer and solution
Official answer
B
From
Official GATE 2014 answer key

Solution

Map minterms and don't care conditions to a 4-variable Karnaugh map and group into largest implicants.

  1. Minterm assignments:

    • 1-minterms: m={0,5,10,15}m = \{0, 5, 10, 15\}.
    • Don't care minterms: d={2,7,8,13}d = \{2, 7, 8, 13\}.
    • Combined set of available cells: {0,2,5,7,8,10,13,15}\{0, 2, 5, 7, 8, 10, 13, 15\}.
  2. Identify groupings on K-map (P,Q,R,SP, Q, R, S):

    • Group 1: Minterms {0,2,8,10}\{0, 2, 8, 10\}:
      Binary codes:
      0=00000 = 0000, 2=00102 = 0010, 8=10008 = 1000, 10=101010 = 1010.
      Notice that in all four terms, Q=0Q = 0 and S=0S = 0, while PP and RR vary.
      This 4-cell corner group simplifies to Q‾ S‾\overline{Q}\,\overline{S}.
      This covers 1-minterms 00 and 1010.

    • Group 2: Minterms {5,7,13,15}\{5, 7, 13, 15\}:
      Binary codes:
      5=01015 = 0101, 7=01117 = 0111, 13=110113 = 1101, 15=111115 = 1111.
      In all four terms, Q=1Q = 1 and S=1S = 1, while PP and RR vary.
      This 4-cell group simplifies to QSQS.
      This covers 1-minterms 55 and 1515.

  3. Both groups together cover all 1-minterms with minimum cost:

    F=Q‾ S‾+QS.F = \overline{Q}\,\overline{S} + QS.

This matches option B.

Final answer

B

Common trap

Not utilizing the don't cares to form 4-cell quad groups, resulting in an unminimized expression.

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

Source

Paper
GATE 2014 Computer Science and Information Technology (CS) Session 3
Question
17 of 65, printed as CS Q.7
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.