GateAI
Boolean Algebra and Minimization

GATE CSE 2025 Set 1 · Q24

MSQ1 markMedium

Time

Let XX be a 3-variable Boolean function that produces output as ‘1’ when at least two of the input variables are ‘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 that applyOne or more correct

Pick every correct option

Solution

Step-by-step verified solution

Official answer: B) X(a, b, X(a, b, c)) = X(a, b, c); D) X(a, b, c) = X(a, X(a, b, c), X(a, c, c))

Boolean Algebra and Minimization

The function X(p,q,r)X(p, q, r) is the 3-variable majority function:

X(p,q,r)=pq+qr+rpX(p, q, r) = pq + qr + rp

Key properties of the majority function include:

  • Idempotence / Repeated variables: X(p,p,q)=p⋅p+p⋅q+q⋅p=p+pq=pX(p, p, q) = p \cdot p + p \cdot q + q \cdot p = p + pq = p.

  • Permutation symmetry: X(p,q,r)X(p, q, r) is invariant under any permutation of its arguments.

Now let us evaluate each statement:

  • Option (A): Consider the assignment a=0,b=0,c=1,d=1,e=1a = 0, b = 0, c = 1, d = 1, e = 1:

    LHS=X(0,0,X(1,1,1))=X(0,0,1)=0\text{LHS} = X(0, 0, X(1, 1, 1)) = X(0, 0, 1) = 0
    RHS=X(X(0,0,1),1,1)=X(0,1,1)=1\text{RHS} = X(X(0, 0, 1), 1, 1) = X(0, 1, 1) = 1

    Since LHS≠RHS\text{LHS} \neq \text{RHS}, statement (A) is incorrect.

  • Option (B):Let $M = X(a, b, c) = ab + bc + ca$. Then:

    X(a,b,M)=ab+bM+aM=ab+(a+b)MX(a, b, M) = ab + bM + aM = ab + (a + b)M

    Substituting M=ab+bc+caM = ab + bc + ca:

    ab+(a+b)(ab+bc+ca)=ab+abc+abc=ab+bc+ca=X(a,b,c)ab + (a + b)(ab + bc + ca) = ab + abc + abc = ab + bc + ca = X(a, b, c)

    Thus, statement (B) is correct.

  • Option (C): Note that X(a,b,a)=aX(a, b, a) = a and X(c,d,c)=cX(c, d, c) = c. The RHS is therefore a⋅ca \cdot c. If we choose a=0,b=1,c=1,d=1a = 0, b = 1, c = 1, d = 1:

    LHS=X(0,1,X(0,1,1))=X(0,1,1)=1\text{LHS} = X(0, 1, X(0, 1, 1)) = X(0, 1, 1) = 1
    RHS=X(0,1,0) AND X(1,1,1)=0⋅1=0\text{RHS} = X(0, 1, 0) \text{ AND } X(1, 1, 1) = 0 \cdot 1 = 0

    Since LHS≠RHS\text{LHS} \neq \text{RHS}, statement (C) is incorrect.

  • Option (D): Since X(a,c,c)=cX(a, c, c) = c, the expression on the RHS is:

    RHS=X(a,X(a,b,c),c)\text{RHS} = X(a, X(a, b, c), c)

    By symmetry, X(a,X(a,b,c),c)=X(a,c,X(a,c,b))X(a, X(a, b, c), c) = X(a, c, X(a, c, b)). From the property verified in (B), this simplifies to X(a,c,b)=X(a,b,c)X(a, c, b) = X(a, b, c). Thus, statement (D) is correct.

Therefore, the correct options are B and D.

Try the question first, then check your work.

Think the official key or this write-up is wrong?

Report error or challenge

Examiner trap

The misconception this question tests

This Boolean Algebra and Minimization previous year question is Q24 of the GATE CSE 2025 Set 1 paper. Find more GATE CSE PYQs on Boolean Algebra and Minimization in Digital Logic, or browse all GATE CSE PYQs.

Free diagnostic

Where do you stand for GATE?

Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related Boolean Algebra and Minimization PYQs now with no account.

One GATE CSE PYQ every morning

An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.

Boolean Algebra and Minimization in GATE CSE

Boolean Algebra and Minimization has 36 GATE CSE PYQs across 23 papers from 2011 to 2026. 5 of them are 1-mark MSQs like this one, and GATE CSE 2025 Set 1 has 2.

How GATE tests Boolean Algebra and Minimization

More from GATE CSE 2025 Set 1

Share this solution

A plain-text card for WhatsApp or Telegram study groups.

GateAI solution cardGATE CSE 2025 Set 1 · Q24 · MSQ

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

Topic-wise GATE CS PYQs with verified steps

Independent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.