Multiple choice

Which of the following can be used to conveniently test odd parity of the word?

  1. XOR gate

  2. NOR gate

  3. OR gate

  4. None of these

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

XOR gate outputs 1 when an odd number of inputs are 1, and 0 when an even number of inputs are 1. This property makes it ideal for testing odd parity - if the XOR result is 1, the word has odd parity; if 0, it has even parity.