Difficulty: Easy
Correct Answer: The parity bit is the logical NOT of the even-parity bit (invert the even-parity output).
Explanation:
Introduction / Context:
Odd and even parity differ only in the chosen value of the parity bit for a given data word. Understanding the simple relationship between them helps when designing parity-generation hardware using XOR networks.
Given Data / Assumptions:
Concept / Approach:
Because the even-parity bit equals XOR of the data bits, the odd-parity bit is simply the inversion of that result. Hardware-wise, you can generate even parity with a tree of XOR gates and then pass it through a NOT gate to obtain odd parity.
Step-by-Step Solution:
Verification / Alternative check:
Try a sample word with an odd number of 1s. Even parity produces 1 to make the total even; inverting yields 0 for odd parity, preserving the odd total. The complement relationship holds for all words.
Why Other Options Are Wrong:
Common Pitfalls:
Confusing parity generation with majority or checksum logic, or forgetting that XOR implements addition modulo 2 across bits.
Final Answer:
The parity bit is the logical NOT of the even-parity bit (invert the even-parity output).
Discussion & Comments