Difficulty: Easy
Correct Answer: Correct
Explanation:
Introduction / Context:Parity is a classic error-detection method used in serial links, memory systems, and storage. “Even parity” and “odd parity” describe how the parity bit is set to make the overall count of logical 1s either even or odd. Understanding this helps interpret UART frames, memory parity errors, and simple link diagnostics.
Given Data / Assumptions:
Concept / Approach:Definition: In an even-parity system, if the data bits contain an odd number of 1s, the parity bit is set to 1 to make the total even; if the data bits already contain an even number of 1s, the parity bit is set to 0. This gives a quick way to detect any odd number of bit flips.
Step-by-Step Solution:
Count the number of 1s in the data word.If count is even → set parity bit = 0; total ones remains even.If count is odd → set parity bit = 1; total ones becomes even.Hence the statement aligns exactly with the standard definition.Verification / Alternative check:Test with an example: data 10110010 has four 1s (even), so parity = 0 and overall ones remain even. Flip one data bit and parity detection flags a mismatch.
Why Other Options Are Wrong:
Incorrect: Contradicts the definition of even parity.Only true for 7-bit ASCII: Parity rule is independent of word size.Depends on baud rate: Parity logic is independent of signaling speed.Common Pitfalls:Confusing the terms “even” and “odd”; counting bits incorrectly; assuming parity corrects errors (it only detects many, not all).
Final Answer:Correct
Discussion & Comments