Question
Can you provide an example of how to apply the Hamming Code formula to a 7-bit data word?
Asked by: USER8479
89 Viewed
89 Answers
Answer (89)
For a 7-bit data word (m=7), we need 4 parity bits (r=4) because 24 = 16 ≥ 7 + 4 + 1 = 12. The 11-bit codeword will have parity bits at positions 1, 2, 4, and 8. Each parity bit checks specific data bits based on their binary representation. You then calculate the parity values and insert them into the codeword. Error detection involves recalculating parity and forming the syndrome.