Skip to content
Related Articles

Related Articles

ISRO | ISRO CS 2011 | Question 48
  • Last Updated : 11 May, 2018
GeeksforGeeks - Summer Carnival Banner

The hamming distance between the octets of 0xAA and 0x55 is
(A) 7
(B) 5
(C) 8
(D) 6

Answer: (C)

Explanation: The Hamming Distance between the two octets:

0xAA = 1010 1010
0x55 = 0101 0101

All the bits of both the words are different with respect to each other, so, the Hamming Distance is equal 8.

Option (C) is correct.

Quiz of this Question

Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.

My Personal Notes arrow_drop_up
Recommended Articles
Page :