The Gateway to Computer Science Excellence
+1 vote

 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
in Computer Networks by Loyal (8.3k points) | 269 views
What does bits in error mean?

I understood that as how many bits got toggled (corrupted) while transmission Vikas Verma 

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

2 Answers

+1 vote
The answer should be 3.

Because the Hamming distance between two words is the number of differences between corresponding bits.
by Boss (12.9k points)
edited by
So here there's 3 bits are different, right? or 3 bit flips?
yes, there are 3 bits flipped
Thanks Shaik!
0 votes
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 (163 points)
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,648 questions
56,422 answers
99,827 users