Skip to content
Official PYQ · 2025

GATE CS 2025 Set 1 Q14 — Boolean Algebra

Explain with AI

Let XX be a 33-variable Boolean function that produces output as ′1′'1' when at least two of the input variables are ′1′'1'. Which of the following statement(s) is/are CORRECT, where a,b,c,d,ea, b, c, d, e are Boolean variables?

Select all correct options
View worked solution

Answer: B;D

The function X(x,y,z)X(x, y, z) represents the 3-variable majority function, defined as X(x,y,z)=xy+yz+zxX(x, y, z) = xy + yz + zx.

  • Option A: Let a=1,b=1,c=0,d=0,e=0a=1, b=1, c=0, d=0, e=0. Then LHS=X(1,1,X(0,0,0))=X(1,1,0)=1\text{LHS} = X(1, 1, X(0,0,0)) = X(1, 1, 0) = 1, while RHS=X(X(1,1,0),0,0)=X(1,0,0)=0\text{RHS} = X(X(1, 1, 0), 0, 0) = X(1, 0, 0) = 0. Since LHS≠RHS\text{LHS} \neq \text{RHS}, Option A is incorrect.
  • Option B: Let M=X(a,b,c)=ab+bc+caM = X(a, b, c) = ab + bc + ca. Then X(a,b,M)=ab+(a+b)M=ab+(a+b)(ab+bc+ca)=ab+bc+ca=X(a,b,c)X(a, b, M) = ab + (a+b)M = ab + (a+b)(ab + bc + ca) = ab + bc + ca = X(a, b, c). Thus, Option B is correct.
  • Option C: Since X(a,b,a)=aX(a, b, a) = a and X(c,d,c)=cX(c, d, c) = c, the RHS=ac\text{RHS} = ac. For a=1,b=1,c=0,d=0a=1, b=1, c=0, d=0, we have LHS=X(1,1,0)=1\text{LHS} = X(1, 1, 0) = 1 but RHS=0\text{RHS} = 0. Since LHS≠RHS\text{LHS} \neq \text{RHS}, Option C is incorrect.
  • Option D: Note that X(a,c,c)=cX(a, c, c) = c. Let M=X(a,b,c)M = X(a, b, c). Then RHS=X(a,M,c)=aM+Mc+ca=(a+c)M+ac=(a+c)(ab+bc+ca)+ac=ab+bc+ca=X(a,b,c)\text{RHS} = X(a, M, c) = aM + Mc + ca = (a+c)M + ac = (a+c)(ab + bc + ca) + ac = ab + bc + ca = X(a, b, c). Thus, Option D is correct.

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

Published
Report a correction
Keep exploringMore Boolean Algebra questions