Question:

Match the Exclusive-OR (XOR) operations (i)–(iv) with the results (p)–(s), where $X$ is a Boolean input.

Show Hint

Think of XOR as β€œtoggle”: XOR with 0 leaves $X$ unchanged; XOR with 1 flips $X$; XOR with itself gives 0; XOR with its complement gives 1.
Updated On: Sep 1, 2025
  • (i)-(q), (ii)-(r), (iii)-(s), (iv)-(p)
  • (i)-(q), (ii)-(r), (iii)-(p), (iv)-(s)
  • (i)-(p), (ii)-(s), (iii)-(q), (iv)-(r)
  • (i)-(q), (ii)-(p), (iii)-(s), (iv)-(r)
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is D

Solution and Explanation

Step 1: Recall XOR identities
- $X \oplus X = 0$ (same bits give 0). $\Rightarrow$ (i) $\to$ (q).
- $X \oplus \overline{X} = 1$ (different bits give 1). $\Rightarrow$ (ii) $\to$ (p).
- $X \oplus 0 = X$ (0 is the identity for XOR). $\Rightarrow$ (iii) $\to$ (s).
- $X \oplus 1 = \overline{X}$ (1 toggles the bit). $\Rightarrow$ (iv) $\to$ (r).
Final Answer: (i)-(q), (ii)-(p), (iii)-(s), (iv)-(r) $\Rightarrow$ Option (D).
Was this answer helpful?
0
0