in Computer Networks edited by
622 views
1 vote
1 vote
To provide more reliability than a single parity bit can give, an error-detecting coding
scheme uses one parity bit for checking all the odd-numbered bits and a second parity
bit for all the even-numbered bits. What is the Hamming distance of this code?
in Computer Networks edited by
622 views

2 Comments

0
0

Although the first parity bit can detect even-numbered bits and the second parity bit can detect odd-numbered bits, this coding scheme can only detect ALL single error for sure, that is, d=1.

Therefore, the Hamming distance is d+1=2.

Although it can sometimes detect 2 errors (one even-numbered, one odd-numbered),

it cannot detect all the 2 errors.(think about it ??  you will get answer)

1
1

Please log in or register to answer this question.

Related questions