Consider the binary code that consists of only four valid codewords as given below:
Let the minimum Hamming distance of the code and the maximum number of erroneous bits that can be corrected by the code be . Then the values of and are
View worked solution
Answer: A
To find the minimum Hamming distance and the error-correcting capability of the given binary code, we analyze the set of valid codewords:
Step 1: Find the Minimum Hamming Distance ()
The Hamming distance between two codewords is the number of positions at which the corresponding bits differ. Let's compute the pairwise Hamming distances:
The minimum Hamming distance is the minimum of all pairwise distances:
Step 2: Find the Error-Correction Capability ()
To correct up to errors, the minimum Hamming distance of the code must satisfy the following relation:
Substituting into the inequality:
Thus, the maximum number of erroneous bits that can be corrected is .
Therefore, and , which corresponds to Option A.
Free practice · Your answers on this page are not saved.
