Question

Consider the Boolean operator #\# with the following properties:
x#0=xx \# 0 = x, x#1=xˉx \# 1 = \bar{x}, x#x=0x \# x = 0 and x#xˉ=1x \# \bar{x} = 1. Then x#yx \# y is equivalent to

Choose one option
Official answer and solution
Official answer
A
From
Official GATE 2016 answer key

Solution

Match the given operational properties to the fundamental Boolean XOR operator.

Examine the properties given for the binary operator #\#:

  1. x#0=xx \# 0 = x
  2. x#1=xˉx \# 1 = \bar{x}
  3. x#x=0x \# x = 0
  4. x#xˉ=1x \# \bar{x} = 1

Compare these properties with standard Boolean operations:

  • For the exclusive OR (XOR) operator ⊕\oplus:
    • x⊕0=x⋅1+xˉ⋅0=xx \oplus 0 = x \cdot 1 + \bar{x} \cdot 0 = x
    • x⊕1=x⋅0+xˉ⋅1=xˉx \oplus 1 = x \cdot 0 + \bar{x} \cdot 1 = \bar{x}
    • x⊕x=xxˉ+xˉx=0x \oplus x = x\bar{x} + \bar{x}x = 0
    • x⊕xˉ=x⋅x+xˉ⋅xˉ=x+xˉ=1x \oplus \bar{x} = x \cdot x + \bar{x} \cdot \bar{x} = x + \bar{x} = 1
      All four axioms uniquely identify #\# as the XOR operator.

The sum-of-products (SOP) boolean expression for XOR is:

x⊕y=xyˉ+xˉyx \oplus y = x\bar{y} + \bar{x}y
Final answer

A

Common trap

Confusing XOR (xyˉ+xˉyx\bar{y} + \bar{x}y) with XNOR (xy+xˉyˉxy + \bar{x}\bar{y}), which yields x⊙0=xˉx \odot 0 = \bar{x} and x⊙x=1x \odot x = 1.

The answer is the one in the official GATE answer key. The solution is this site's own explanation.

Source

Paper
GATE 2016 Computer Science and Information Technology (CS) Session 1
Question
16 of 65, printed as CS Q.6
Section
Computer Science and Information Technology

Report an error in this question

GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.