GATE / CS ARCHIVE

GATE CSE 2026 SET 1 / QUESTION 48

Minimum sum-of-products covers

Digital Logic · Logic Minimization & Karnaugh Maps · Full GATE CSE 2026 Set 1 paper

GATE 2026 Set 1, Q48 2 marks · MSQ
Report issue

Logic Minimization & Karnaugh Maps

Question 48, GATE 2026: For variable order (P,Q,R,S), F is 1 on minterms {1,2,3,4,5,7,10,12,13,14}. All options include (NOT P)S+Q(NOT R). Their remaining two terms are A: (NOT P)(NOT Q)R and (NOT Q)R(NOT S); B: (NOT P)(NOT Q)R and PR(NOT S); C: PQ(NOT S) and PR(NOT S); D: PQ(NOT S) and (NOT Q)R(NOT S). Find the minimal SOP options.
Tap to enlarge
Select all that apply
Answer & solution

Official answer: B, D

Step through it (18 steps)

Givens and goal

For variable order (P,Q,R,S), F is 1 on minterms {1,2,3,4,5,7,10,12,13,14}. All options include (NOT P)S+Q(NOT R). Their remaining two terms are A: (NOT P)(NOT Q)R and (NOT Q)R(NOT S); B: (NOT P)(NOT Q)R and PR(NOT S); C: PQ(NOT S) and PR(NOT S); D: PQ(NOT S) and (NOT Q)R(NOT S). Find the minimal SOP options.

Approach

List maximal valid implicants, identify essential terms, and check coverage of the residual minterms.

Step-by-step solution

1. There are exactly six prime implicants. In bit-pattern notation using variable order (P,Q,R,S), where a dash is a don't-care coordinate, they are:

   - 0--1: (NOT P)S, covering minterms 1,3,5,7.
   - -10-: Q(NOT R), covering 4,5,12,13.
   - 001-: (NOT P)(NOT Q)R, covering 2,3.
   - -010: (NOT Q)R(NOT S), covering 2,10.
   - 1-10: PR(NOT S), covering 10,14.
   - 11-0: PQ(NOT S), covering 12,14.

2. The first two prime implicants are essential: minterm 1 can only be covered by 0--1, and minterm 4 only by -10-. Together they leave 2,10,14 uncovered.
3. No single remaining prime implicant covers all three residual minterms. Therefore at least two further terms are required, for a minimum of four product terms overall. Each additional prime has three literals, so the minimum covers have ten literals in total.
4. Option B adds 001- and 1-10: these cover 2,3 and 10,14, completing the function. Option D adds 11-0 and -010: these cover 12,14 and 2,10, also completing it. Both achieve the four-term, ten-literal minimum.
5. Option A leaves minterm 14 uncovered. Option C leaves minterm 2 uncovered. Hence neither even represents the target function.

Completeness check: Exhaustively enumerated all 81 four-variable cubes, retained cubes containing no zero minterm, and extracted the six maximal cubes above. Enumerating prime-implicant covers found minimum size four. There is a third minimum cover using the two essential implicants plus -010 and 1-10; it is not one of the offered choices. The answer does not claim that B and D are the only possible minimal expressions.

Visual check: Confirmed the minterm list and all complement bars in options A–D directly from rendered page 36.

Residual coverage table after choosing the essential terms:

    Additional prime term          Covers residual minterms
    (NOT P)(NOT Q)R                         2
    (NOT Q)R(NOT S)                         2,10
    PR(NOT S)                              10,14
    PQ(NOT S)                              14

The table explains both validity and minimality: one extra term cannot cover all three residual minterms, while either option B’s pair or option D’s pair can. Expanding a non-prime term to a prime can only improve coverage without covering a zero, so restricting this minimum-cover analysis to prime implicants is sufficient.

Original paper, page 36 · Answer key