Skip to content
Official PYQ · 2026

GATE CS 2026 Set 1 Q38 — Minimization (K-Maps etc.)

Explain with AI

Consider a Boolean function FF with the following minterm expression:
F(P,Q,R,S)=∑m(1,2,3,4,5,7,10,12,13,14)F(P, Q, R, S)=\sum m(1,2,3,4,5,7,10,12,13,14)
Which of the following options is/are the minimal sum-of-products expression(s) of FF ?

Select all correct options
View worked solution

Answer: B;D

To find the minimal sum-of-products (SOP) expressions for the Boolean function F(P,Q,R,S)=∑m(1,2,3,4,5,7,10,12,13,14)F(P, Q, R, S) = \sum m(1,2,3,4,5,7,10,12,13,14), we construct the K-map:

PQ∖RSPQ \setminus RS 00 01 11 10
00 0 1 (m1m_1) 1 (m3m_3) 1 (m2m_2)
01 1 (m4m_4) 1 (m5m_5) 1 (m7m_7) 0
11 1 (m12m_{12}) 1 (m13m_{13}) 0 1 (m14m_{14})
10 0 0 0 1 (m10m_{10})

Step 1: Identify Essential Prime Implicants (EPIs)

  • Quad 1: {m1,m3,m5,m7}  ⟹  PˉS\{m_1, m_3, m_5, m_7\} \implies \bar{P}S
  • Quad 2: {m4,m5,m12,m13}  ⟹  QRˉ\{m_4, m_5, m_{12}, m_{13}\} \implies Q\bar{R}

These two EPIs cover the minterms {1,3,4,5,7,12,13}\{1, 3, 4, 5, 7, 12, 13\}. The remaining uncovered minterms are {2,10,14}\{2, 10, 14\}.

Step 2: Cover the remaining minterms {2,10,14}\{2, 10, 14\}

We can choose from the following prime implicants of size 2:

  • I1={m2,m3}  ⟹  PˉQˉRI_1 = \{m_2, m_3\} \implies \bar{P}\bar{Q}R
  • I2={m2,m10}  ⟹  QˉRSˉI_2 = \{m_2, m_{10}\} \implies \bar{Q}R\bar{S}
  • I3={m10,m14}  ⟹  PRSˉI_3 = \{m_{10}, m_{14}\} \implies PR\bar{S}
  • I4={m12,m14}  ⟹  PQSˉI_4 = \{m_{12}, m_{14}\} \implies PQ\bar{S}

To cover {2,10,14}\{2, 10, 14\} minimally, we need exactly two of these prime implicants:

  1. Combination 1: Selecting I1I_1 and I3I_3 covers all three remaining minterms.
    SOP1=PˉS+QRˉ+PˉQˉR+PRSˉ(Option B)\text{SOP}_1 = \bar{P}S + Q\bar{R} + \bar{P}\bar{Q}R + PR\bar{S} \quad \text{(Option B)}
  2. Combination 2: Selecting I2I_2 and I4I_4 covers all three remaining minterms.
    SOP2=PˉS+QRˉ+PQSˉ+QˉRSˉ(Option D)\text{SOP}_2 = \bar{P}S + Q\bar{R} + PQ\bar{S} + \bar{Q}R\bar{S} \quad \text{(Option D)}

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Minimization (K-Maps etc.) questions