GAT Subject
Engineering
Computer Science Civil Engineering Chemical Engineering Agricultural Engineering Mechanical Engineering Electronics and Communication
31. | If A ⊕ B = C, then: | |
A. | A ⊕ C = B | |
B. | B ⊕ C = A | |
C. | A ⊕ B ⊕ C = 0 | |
D. | Both (a) & (b) | |
Answer: Option D | |
Explanation: | |
Mathematically, XOR is both associative and commutative ie. If C = A XOR B then B = C XOR A or B = A XOR C and and A = B XOR C A = C XOR B |
|
Tutorial Link: |