2,194 views

If the Hamming distance between a dataword and the corresponding codeword is three, there are _____ bits in error.

• A)   5
• B)   4
• C)   3
• D)   none of the above

But the question never mentioned 'received' codeword for us to find the errors.

Unclear question I guess.
Yes, but may you explain bit more? Thank you! :)
Hamming distance is calculated between two data words, but here it is between dataword and codeword.

Note that the next dataword may or may not be at 3distance. As the question says the received data and sent data has 3bit difference we are assuming the system is capable of detecting 3 bit error

Because the Hamming distance between two words is the number of differences between corresponding bits.
by

So here there's 3 bits are different, right? or 3 bit flips?
yes, there are 3 bits flipped
Thanks Shaik!
3 .

Codeword (n) = Dataword (k) + (Extra bits(for error checking)) (r)

While Transmitting data from sender to receiver some of the bit may lost . to know this error we use error code which is verifed by receiver whether it is correct bit received or not.
by

### 1 comment

if dataword is three then +1 extra bit =4 how is 3

1 vote