retagged by
19,564 views
45 45 votes

Which one of the following is NOT a valid identity?

  1. $(x \oplus y) \oplus z = x \oplus (y \oplus z)$
  2. $(x + y) \oplus z = x \oplus (y+z)$
  3. $x \oplus y = x+y, \text{ if } xy=0$
  4. $x \oplus y = (xy+x’y’)’$

4 Answers

Best answer
50 50 votes
  1. $XOR$ is associative so $(x \oplus y) \oplus z = x \oplus (y \oplus z)$
  2. For $2$ input, XOR and XNOR are complement to each other i.e. $x \oplus y = (xy + x^{'}y^{'})^{'} $
  3. $x \oplus y = x+y \text{ if }xy = 0$

Only false statement is option B.

edited by
21 21 votes

$A. \:(x \oplus y) \oplus z = x \oplus (y \oplus z)$

$\Longrightarrow EX-OR$ and $EX-NOR$  $GATE$ are Commutative and associative.

$\Longrightarrow NAND$ and $NOR$  $GATE$ are commutative but not associative.

$B.\:(x + y) \oplus z = x \oplus (y+z)$

$LHS:(x + y) \oplus z=(x+y)z'+(x+y)'z=xz'+yz'+x'.y'.z$

$RHS:x \oplus (y+z)=x(y+z)'+x'(y+z)=x.y'.z'+x'y+x'z$

Clearly $LHS\neq RHS$

So, this is not valid.

$C.\:x \oplus y = x+y, \text{if}\: xy=0$

           It is like $Q\:\text{if}\:P$ means $\text{if}\: P\:\text{then}\:Q$     

              We can write in ${\color{Magenta}{P\rightarrow Q} }$

Now     if ${\color{Red} {xy=0}},$ then ${\color{Green} {x \oplus y = x+y}}$                          

$x$ $y$ $xy$ $x\oplus y$ $x+y$
$0$ $0$ ${\color{Red} 0}$ ${\color{Green} 0}$ ${\color{Green} 0}$
$0$ $1$ ${\color{Red} 0}$ ${\color{Green} 1}$ ${\color{Green} 1}$
$1$ $0$ ${\color{Red} 0}$ ${\color{Green} 1}$ ${\color{Green} 1}$
$1$ $1$ $1$ $0$ $1$

                                    ${\color{Orange}{(OR)}}$ 

if ${\color{Red} {xy=0}},$ then ${\color{Green} {x \oplus y = x+y}}$  

We know that ${\color{DarkBlue}{x\oplus y=xy'+x'y}}={\color{Orange}{(x\odot y)'}}={\color{Green}{(xy+x'y')'}}={\color{Green} {(0+x'y')'}}={\color{Magenta}{x+y}}$ 

$D.\:{\color{Purple}{x \oplus y = (xy+x’y’)’}}$  

So, the correct answer is $(B).$

edited by
6 6 votes
Checking option A = XOR is associative so this is valid.

Checking option C =

     xy=0 means x=y' .

     so x XOR y = x'y +xy' = (y')' y + x x = x+y

     so option c is valid.

Checking option D = (xy + x'y')' = (xy)' (x'y')' = (x'+y')(x+y) = x'x + x'y +y'x +y'y = x XOR y so option D is valid.

Checking option B = Remaining only option B is the ans and by expanding we can check it's not valid.
2 2 votes

option C is true by truth table 

X Y X ex-or Y x+y xy
0 0 0 0 0
0 1 1 1 0
1 0 1 1 0
1 1 0 1 1

option A says associativity of ex-or,(so true),

option D is true because complement of ex-nor is ex-or(for even variables),

so answer is option B.

 

Answer:
Position:
Show:

Related questions

29 29 votes
5 answers 5 answers
17.3k
17.3k views
Arjun asked Feb 7, 2019
17,251 views
In $16$-bit $2$’s complement representation, the decimal number $-28$ is:$1111 \: 1111 \: 0001 \: 1100$$0000 \: 0000 \: 1110 \: 0100$$1111 \: 1111 \: 1110 \: 0100$$1000 \...
49 49 votes
7 answers 7 answers
22.8k
22.8k views
Arjun asked Feb 7, 2019
22,824 views
Consider $Z=X-Y$ where $X, Y$ and Z are all in sign-magnitude form. X and Y are each represented in $n$ bits. To avoid overflow, the representation of $Z$ would require a...
65 65 votes
10 answers 10 answers
34.1k
34.1k views
Arjun asked Feb 7, 2019
34,069 views
Two numbers are chosen independently and uniformly at random from the set $\{1,2,\ldots,13\}.$The probability (rounded off to $3$ decimal places) that their $4\text{-bit}...
54 54 votes
8 answers 8 answers
23.7k
23.7k views
Arjun asked Feb 7, 2019
23,667 views
Consider three $4$-variable functions $f_1, f_2$, and $f_3$, which are expressed in sum-of-minterms as$f_1=\Sigma(0,2,5,8,14),$$f_2=\Sigma(2,3,6,8,14,15),$$f_3=\Sigma (2,...