Skip to content
Official PYQ · 2026

GATE CS 2026 Set 1 Q11 — Boolean Algebra

Explain with AI

Consider the following Boolean expression of a function FF :
F(P,Q)=(Pˉ+Q)⊕(PˉQ)F(P, Q)=(\bar{P}+Q) \oplus(\bar{P} Q)
Which of the following expressions is/are equivalent to FF ?

Select all correct options
View worked solution

Answer: A;C

To find the equivalent expressions for the given Boolean function F(P,Q)=(Pˉ+Q)⊕(PˉQ)F(P, Q) = (\bar{P}+Q) \oplus (\bar{P} Q), we can simplify the expression algebraically.

Method 1: Algebraic Simplification

Let X=Pˉ+QX = \bar{P}+Q and Y=PˉQY = \bar{P} Q.

Using the definition of the XOR ({⊕}\{ \oplus \}) operation, X⊕Y=XYˉ+XˉYX \oplus Y = X\bar{Y} + \bar{X}Y.

First, let's find the complements of XX and YY:

  • Xˉ=Pˉ+Q‾=PQˉ\bar{X} = \overline{\bar{P}+Q} = P\bar{Q}
  • Yˉ=PˉQ‾=P+Qˉ\bar{Y} = \overline{\bar{P}Q} = P+\bar{Q}

Now, substitute these into the XOR formula:

XYˉ=(Pˉ+Q)(P+Qˉ)=PˉP+PˉQˉ+QP+QQˉ=0+PˉQˉ+PQ+0=PQ+PˉQˉ\begin{aligned} X\bar{Y} &= (\bar{P}+Q)(P+\bar{Q}) \\ &= \bar{P}P + \bar{P}\bar{Q} + QP + Q\bar{Q} \\ &= 0 + \bar{P}\bar{Q} + PQ + 0 \\ &= PQ + \bar{P}\bar{Q} \end{aligned} XˉY=(PQˉ)(PˉQ)=(PPˉ)(QˉQ)=0\begin{aligned} \bar{X}Y &= (P\bar{Q})(\bar{P}Q) \\ &= (P\bar{P})(\bar{Q}Q) \\ &= 0 \end{aligned}

Combining these, we get:

F(P,Q)=XYˉ+XˉY=PQ+PˉQˉ=P⊙QF(P, Q) = X\bar{Y} + \bar{X}Y = PQ + \bar{P}\bar{Q} = P \odot Q

Evaluating the Options

  • Option A: P⊕Q‾\overline{P \oplus Q}
    By definition, the complement of XOR is XNOR:
    P⊕Q‾=P⊙Q\overline{P \oplus Q} = P \odot Q.
    (Correct)
  • Option B: P⊕QP \oplus Q
    This is the complement of F(P,Q)F(P, Q).
    (Incorrect)
  • Option C: Pˉ⊕Q\bar{P} \oplus Q
    Complementing one input of an XOR gate complements the entire output:
    Pˉ⊕Q=P⊕Q‾=P⊙Q\bar{P} \oplus Q = \overline{P \oplus Q} = P \odot Q.
    (Correct)
  • Option D: Pˉ⊕Qˉ\bar{P} \oplus \bar{Q}
    Complementing both inputs of an XOR gate leaves the output unchanged:
    Pˉ⊕Qˉ=P⊕Q\bar{P} \oplus \bar{Q} = P \oplus Q.
    (Incorrect)

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

Published
Report a correction
Keep exploringMore Boolean Algebra questions