GATE | GATE CS 2019 | Question 21
Which one of the following is NOT a valid identity?
(A) (x ⊕ y) ⊕ z = x ⊕ (y ⊕ z)
(B) (x + y) ⊕ z = x ⊕ (y + z)
(C) x ⊕ y = x + y, if xy = 0
(D) x ⊕ y = (xy + x′y′)′
Answer: (B)
Explanation: According to Exor (⊕) operation,
| x | y | x⊕y |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 0 |
Therefore, option (D),
x⊕y = (x'y + xy′) = (x'+y').(x+y) = (x⊙y)' = (xy + x′y′)′
It also clearly shows that, if atleast one of x and y is 0, then it works as (x+y).
x⊕y = x + y, if xy = 0
You can notice that it works as (x+y) except last row in given Truth table, because only last row does not satisfy (x.y)=0. So, option (C) is also correct.
Exor (⊕) operation also satisfies associative law, i.e.,
(x ⊕ y) ⊕ z = x ⊕ (y ⊕ z)
So, option (A) is also correct.
But, option (B) is not correct because,
(x+y)⊕z = (x+y)'.z + (x+y).z' = (x'y').z + xz' + yz' And, x⊕(y+z) = x'.(y+z) + x.(y+z)' = x'y + x'z + x.y'z' Therefore, (x+y)⊕z ≠ x⊕(y+z)
Recommended Posts:
- GATE | GATE CS 2019 | Question 33
- GATE | GATE CS 2019 | Question 32
- GATE | GATE CS 2019 | Question 31
- GATE | GATE CS 2019 | Question 32
- GATE | GATE CS 2019 | Question 31
- GATE | GATE CS 2019 | Question 30
- GATE | GATE CS 2019 | Question 40
- GATE | GATE CS 2019 | Question 29
- GATE | GATE CS 2019 | Question 29
- GATE | GATE CS 2019 | Question 28
- GATE | GATE CS 2019 | Question 27
- GATE | GATE CS 2019 | Question 34
- GATE | GATE CS 2019 | Question 35
- GATE | GATE CS 2019 | Question 42
- GATE | GATE CS 2019 | Question 41



