GATE / CS ARCHIVE

SIMILAR QUESTIONS / DIGITAL LOGIC

Expand a Boolean expression into minterm indices

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

How these are solved

Enumerate assignments in the stated variable order, evaluate the Boolean expression including whole-expression complements, and collect/count ON indices or complementary maxterms. Formula-to-canonical set conversion, not circuit reconstruction or minimum-cover optimization.

2 marks · NAT
Report issue

Logic Minimization & Karnaugh Maps

Question 55, GATE 2015: How many minterms remain in the minimized function [¬D + A¬B + ¬AC + A¬CD + ¬A¬CD] complemented as a whole? Here juxtaposition is AND and + is OR.
Tap to enlarge
Answer & solution

Official answer: 1

Step through it (11 steps)

For the outer complement to be 1, every inner OR term must be 0. D′=0 requires D=1. With D=1 and C=0, AC′D+A′C′D=A+A′=1, impossible; hence C=1. Then A′C=0 requires A=1, and AB′=0 requires B=1. Conversely A=B=C=D=1 makes all inner terms zero. The function is exactly ABCD, one minterm.

Complementing a sum means that every product inside must be zero. The ¬D term first forces D=1. Then A¬CD and ¬A¬CD combine to ¬C, so C must be 1. With C=1, the term ¬AC forces A=1; with A=1, A¬B forces B=1. Thus exactly A=B=C=D=1 survives. Conversely that assignment makes every original summand zero, verifying the result ABCD and exactly one minterm.

Original paper, page 48 · Answer key

2 marks · MCQ
Report issue

Logic Minimization & Karnaugh Maps

Question 40, GATE 2015: For Boolean F=P′+QR, with variable order P,Q,R (P most significant) and P′=NOT P, assess S1: F=Σ(4,5,6); S2: F=Σ(0,1,2,3,7); S3: F=Π(4,5,6); S4: F=Π(0,1,2,3,7). Here Σ denotes sum of minterms and Π product of maxterms. Options list truth values S1,S2,S3,S4: (A) F,T,T,F; (B) T,F,F,T; (C) F,F,T,T; (D) T,T,F,F.
Tap to enlarge
Your answer
Answer & solution

Official answer: A

Step through it (13 steps)

1. F=¬P+QR is 1 for all P=0 cases 0..3 and for 111 (7).

2. It is 0 exactly on 4, 5, 6. Therefore sum of minterms 0, 1, 2, 3, 7 and product of maxterms4, 5, 6 are correct: S2, S3, option A.

Original paper, page 66 · Answer key

1 mark · MCQ
Report issue

Minterms of a Boolean expression

Logic Minimization & Karnaugh Maps

Question 6, GATE 2010: Find the minterm expansion of f(P,Q,R)=PQ+Q¬R+P¬R. Use P,Q,R as the most-significant to least-significant bits of each minterm index.
Options: (A) m₂+m₄+m₆+m₇; (B) m₀+m₁+m₃+m₅; (C) m₀+m₁+m₆+m₇; (D) m₂+m₃+m₄+m₅.
Tap to enlarge
Your answer
Answer & solution

Answer: A (no official key was published)

Step through it (11 steps)

The expression is PQ+Q R̄+P R̄, with variable order P,Q,R. PQ covers minterms 6 and 7; Q R̄ covers 2 and 6; P R̄ covers 4 and 6. Taking their union gives m₂+m₄+m₆+m₇, option A. Repeated minterm 6 is included only once.

To convert products to minterms, include missing variables: PQ=PQ¬R+PQR, Q¬R=¬PQ¬R+PQ¬R, and P¬R=P¬Q¬R+PQ¬R. Their binary assignments are 110,111; 010,110; and 100,110. OR is idempotent, so duplicate 110 is not counted again. The resulting truth vector in index order 0 through 7 is 00101011.

Original paper, page 2