Q
What is the hamming distance between the words 1010101, 1100110?
AA. 4
BB. 5
CC. 8
DD. 3
Correct Answer:
A. A. 4
Explanation:
Hamming distance can be obtained by performing X-OR operation on two words of same length, then the number of 1s in the resulting word will be the hamming distance. It is used to find and correct the errors.