in Computer Networks
2,194 views
2 votes
2 votes

 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
2.2k views

4 Comments

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

Unclear question I guess.
0
0
Yes, but may you explain bit more? Thank you! :)
0
0
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
2

2 Answers

1 vote
1 vote
The answer should be 3.

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

3 Comments

So here there's 3 bits are different, right? or 3 bit flips?
0
0
yes, there are 3 bits flipped
0
0
Thanks Shaik!
0
0
0 votes
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.

1 comment

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

Related questions