Skip to content
Official PYQ · 2019

GATE CS 2019 Q30 — Boolean Algebra

Explain with AI

Consider three 44-variable functions f1,f2f_1, f_2, and f3f_3, which are expressed in sum-of-minterms as

f1=Σ(0,2,5,8,14),f_1=\Sigma(0,2,5,8,14),

f2=Σ(2,3,6,8,14,15),f_2=\Sigma(2,3,6,8,14,15),

f3=Σ(2,7,11,14)f_3=\Sigma (2,7,11,14)

For the following circuit with one AND gate and one XOR gate the output function ff can be expressed as:

Choose one option
View worked solution

Answer: A

From the given circuit diagram, we can determine the Boolean expression for the output function ff:

  1. The AND gate takes inputs f1f_1 and f2f_2. Its output is: Y=f1⋅f2Y = f_1 \cdot f_2
  2. The XOR gate takes the output of the AND gate (YY) and f3f_3 as inputs. The final output is: f=Y⊕f3=(f1⋅f2)⊕f3f = Y \oplus f_3 = (f_1 \cdot f_2) \oplus f_3

Step 1: Compute f1⋅f2f_1 \cdot f_2

The AND operation on two sum-of-minterms functions corresponds to the intersection of their minterm sets:

  • f1=Σ(0,2,5,8,14)f_1 = \Sigma(0, 2, 5, 8, 14)
  • f2=Σ(2,3,6,8,14,15)f_2 = \Sigma(2, 3, 6, 8, 14, 15)

f1⋅f2=Σ(0,2,5,8,14)∩Σ(2,3,6,8,14,15)=Σ(2,8,14)f_1 \cdot f_2 = \Sigma(0, 2, 5, 8, 14) \cap \Sigma(2, 3, 6, 8, 14, 15) = \Sigma(2, 8, 14)

Step 2: Compute f=(f1⋅f2)⊕f3f = (f_1 \cdot f_2) \oplus f_3

The XOR operation corresponds to the symmetric difference of the minterm sets (i.e., minterms that are present in either of the sets but not in both):

  • f1⋅f2=Σ(2,8,14)f_1 \cdot f_2 = \Sigma(2, 8, 14)
  • f3=Σ(2,7,11,14)f_3 = \Sigma(2, 7, 11, 14)

f=Σ(2,8,14)⊕Σ(2,7,11,14)f = \Sigma(2, 8, 14) \oplus \Sigma(2, 7, 11, 14)

Evaluating the symmetric difference:

  • Minterm 22: Present in both →\rightarrow Excluded
  • Minterm 77: Present only in f3f_3 →\rightarrow Included
  • Minterm 88: Present only in (f1⋅f2)(f_1 \cdot f_2) →\rightarrow Included
  • Minterm 1111: Present only in f3f_3 →\rightarrow Included
  • Minterm 1414: Present in both →\rightarrow Excluded

Thus, the output function is: f=Σ(7,8,11)f = \Sigma(7, 8, 11)

Therefore, the correct option is A.

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

Published
Report a correction
Keep exploringMore Boolean Algebra questions