Skip to content
Official PYQ · 2014

GATE CS 2014 Set 3 Q55 — Boolean Algebra

Explain with AI

Let ⊕\oplus denote the exclusive OR (XOR) operation. Let '11' and '00' denote the binary constants. Consider the following Boolean expression for FF over two variables PP and QQ:

F(P,Q)=((1⊕P)⊕(P⊕Q))⊕((P⊕Q)⊕(Q⊕0))F(P,Q)=\left( \left(1 \oplus P \right) \oplus \left( P \oplus Q \right )\right ) \oplus \left(\left(P \oplus Q\right) \oplus \left(Q \oplus 0\right)\right)

The equivalent expression for FF is

Choose one option
View worked solution

Answer: D

We can simplify the given Boolean expression by using the fundamental properties of the exclusive OR (XOR) operation:

  • Associativity & Commutativity: (A⊕B)⊕C=A⊕(B⊕C)(A \oplus B) \oplus C = A \oplus (B \oplus C) and A⊕B=B⊕AA \oplus B = B \oplus A
  • Self-inverse: A⊕A=0A \oplus A = 0
  • Identity: A⊕0=AA \oplus 0 = A
  • Complement: A⊕1=A‾A \oplus 1 = \overline{A}

The given expression is:

F(P,Q)=((1⊕P)⊕(P⊕Q))⏟Part 1⊕((P⊕Q)⊕(Q⊕0))⏟Part 2F(P,Q) = \underbrace{\left( (1 \oplus P) \oplus (P \oplus Q) \right)}_{\text{Part 1}} \oplus \underbrace{\left( (P \oplus Q) \oplus (Q \oplus 0) \right)}_{\text{Part 2}}

Step 1: Simplify Part 1

Part 1=(1⊕P)⊕(P⊕Q)\text{Part 1} = (1 \oplus P) \oplus (P \oplus Q)

Using associativity and commutativity, we can group the PP terms together:

Part 1=1⊕(P⊕P)⊕Q\text{Part 1} = 1 \oplus (P \oplus P) \oplus Q

Since P⊕P=0P \oplus P = 0:

Part 1=1⊕0⊕Q=1⊕Q=Q‾\text{Part 1} = 1 \oplus 0 \oplus Q = 1 \oplus Q = \overline{Q}

Step 2: Simplify Part 2

Part 2=(P⊕Q)⊕(Q⊕0)\text{Part 2} = (P \oplus Q) \oplus (Q \oplus 0)

Since Q⊕0=QQ \oplus 0 = Q:

Part 2=(P⊕Q)⊕Q\text{Part 2} = (P \oplus Q) \oplus Q

Grouping the QQ terms together:

Part 2=P⊕(Q⊕Q)\text{Part 2} = P \oplus (Q \oplus Q)

Since Q⊕Q=0Q \oplus Q = 0:

Part 2=P⊕0=P\text{Part 2} = P \oplus 0 = P

Step 3: Combine Part 1 and Part 2

Now, substitute the simplified parts back into the expression for F(P,Q)F(P,Q):

F(P,Q)=Part 1⊕Part 2=Q‾⊕PF(P,Q) = \text{Part 1} \oplus \text{Part 2} = \overline{Q} \oplus P

Using the property that complementing one input of an XOR gate complements the entire output:

Q‾⊕P=P⊕Q‾\overline{Q} \oplus P = \overline{P \oplus Q}

Thus, the equivalent expression is P⊕Q‾\overline{P \oplus Q}, which corresponds to option D.

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

Published
Report a correction
Keep exploringMore Boolean Algebra questions