Which code is commonly used for both error detection and single-bit error correction?
Options
A.
ASCII
B.
Hamming code
C.
BCD
D.
Gray code
E.
None of the above
Correct Answer (Detailed Explanation is Below)
B.
Hamming code
Detailed Explanation
Correct Answer: (B) Hamming code Standard Hamming code can detect and correct a single-bit error. Extended Hamming code adds an overall parity bit and can provide single-error correction and double-error detection (SECDED).