Difficulty: Easy
Correct Answer: Correct
Explanation:
Introduction / Context:
Parity bits provide a simple, low-cost method to detect single-bit errors during storage or transmission. The question checks knowledge of the precise rule that defines even parity and how the parity bit relates to the data bits.
Given Data / Assumptions:
Concept / Approach:
Parity enforces a constraint on the count of 1s. With even parity, the transmitter sets the parity bit so that the total number of 1s in data + parity is even. At the receiver, the same count is performed; a mismatch indicates an odd number of flipped bits (most notably a single-bit error).
Step-by-Step Solution:
Verification / Alternative check:
Worked example: data 1011001 has four 1s (even). Even parity bit = 0; total remains even. If noise flips one bit, total becomes odd; error is detected. If two bits flip, parity may miss it (even number of errors).
Why Other Options Are Wrong:
Common Pitfalls:
Confusing parity with checksums/CRCs; assuming parity guarantees multi-bit error detection (it does not); mixing up the direction (even vs. odd).
Final Answer:
Correct
Discussion & Comments