hamming distance between 10101010 and 10011100
Answers
Answered by
2
Now, 10101010 ⊕ 10010010 = 111000. Since there are three zeroes, the hamming distance is 1 + 1 + 1 = 3.
PLEASE MARK ME AS A BRAINLIST AND FOLLOW ME PLEASE
Answered by
0
Answer: XOR, and count '1' (Differences)
4
Explanation:
Hamming distance is the amount of difference between strings
Difference can be calculated as XOR operation.
10101010 XOR 10011100 = 110110
There are 4 '1' therefore Hamming distance is 4
Similar questions
CBSE BOARD XII,
2 months ago
Science,
2 months ago
Math,
4 months ago
Math,
1 year ago
English,
1 year ago