Computer Science, asked by ivycliff84, 4 months ago

hamming distance between 10101010 and 10011100

Answers

Answered by srishanth30
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 mclgml
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