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.

Comments (0)

No comments yet. Be the first to comment!

Want to practice more?

Explore thousands of MCQs across every exam category on Exams Nepal.

Find More MCQs