Topic: Information Theory and Coding
If one of the codewords of a Hamming (7,4) code is 1110000, which of the following is not a valid codeword:
- A. 0000000
- B. 1001100
- C. 1100001
- D. 1111111
Answer: C. 1100001
Explanation: A Hamming (7,4) code is a linear block code with a minimum Hamming distance $d_{min} = 3$. This means any two valid codewords must differ by at least 3 bits. Let's calculate the distance between the known codeword `1110000` and option (c) `1100001`. Performing an XOR yields `0010001`, which has a weight of 2. Since the distance is only 2 (less than 3), they cannot both be valid codewords simultaneously. Therefore, (c) is invalid.