The hamming distance between the octets of 0xAA and 0x55 is
2011
The hamming distance between the octets of 0xAA and 0x55 is
Answer: C. 8 — Convert 0xAA to binary (10101010) and 0x55 to binary (01010101). The Hamming distance counts differing bit positions. Since all 8 bits differ between these…
- A.
7
- B.
5
- C.
8
- D.
6
Attempted by 624 students.
Show answer & explanation
Correct answer: C
Convert 0xAA to binary (10101010) and 0x55 to binary (01010101). The Hamming distance counts differing bit positions. Since all 8 bits differ between these two octets, the Hamming distance is 8.
A video solution is available for this question — log in and enroll to watch it.
Explore the full course: Iocl Engineers Officers Grade A Paper 2
Loading lesson…