GATE / CS ARCHIVE

GATE CSE 2019 / QUESTION 30

Combining Boolean on-sets

Digital Logic · Boolean Algebra & Logic Gates · Full GATE CSE 2019 paper

GATE 2019, Q30 2 marks · MCQ
Report issue

Boolean Algebra & Logic Gates

Question 30, GATE 2019: The on-sets of four-variable functions are f1={0,2,5,8,14}, f2={2,3,6,8,14,15}, f3={2,7,11,14}. A circuit ANDs f1 and f2, then XORs that output with f3. Find the output minterms: A {7,8,11}; B {2,7,8,11,14}; C {2,14}; D {0,2,3,5,6,7,8,11,14,15}.
Tap to enlarge
Your answer
Answer & solution

Official answer: A

1. An on-set lists the input minterms on which a Boolean function equals 1. Working with these sets avoids expanding every minterm into a product of four literals.
2. The AND output is 1 only where both f1 and f2 are 1. Their intersection is H={2,8,14}; all other minterms make the AND output zero.
3. XOR is 1 precisely when its inputs differ. Therefore the final on-set is the symmetric difference of H and the on-set of f3, not their ordinary union.
4. Minterms 2 and 14 occur in both sets, so XOR makes them zero. Minterm 8 occurs only in H, while 7 and 11 occur only in f3, so these three survive.
5. The result is f=Σ(7,8,11), option A. Option B would correspond to OR at the second stage, illustrating why the XOR symbol matters.

Original paper, page 10 · Answer key