Prior to asking my questions I would ask you to write your number in a binary
base (4 bits)
and then add 3 parity check bits to
create a 7- bit Hamming word.
<o:p> </o:p>
If you do not know how to do it - http://users.cs.fiu.edu/~downeyt/cop3402/hamming.html
will provide the necessary guidance.
<o:p> </o:p>
Then I will ask you (in any order) my
7 independent questions:
<o:p> </o:p>
Is the leftmost bit 1?
Is the 2nd from left bit 1?
……etc
Is the rightmost bit 1?
You can either answer truthfully or
lie once.
No problem – 2^3 combination will
indicate the erroneous place (7 possibilities) or
will warrant the right data.
<o:p> </o:p>