What is the Hamming distance between the following two binary sequences: 110101 and 100111?
17 views
- 2 (Correct Answer)
- 3
- 4
- 5
Explanation
The Hamming distance between two binary sequences is the number of positions at which the two sequences differ. To find the Hamming distance between the sequences 110101 and 100111, we can compare each corresponding bit in the two sequences and count the number of differences. 110101 100111 We can see that the bits that differ are in positions 2 and 5. Therefore, the Hamming distance between the two sequences is 2. So, the answer is option A: 2.