All mock tests are FREE till 31 December — register to save your progress

The Hamming distance between 10101 and 11110 is

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: B. 3

Explanation

10101 XOR 11110 = 01011, which has three 1s, so the Hamming distance is 3.

More Data Communication and Computer Networks questions