CS FundamentalsModerateGATE CS
What is the Hamming distance between the codewords 10110110 and 11010011?
- A. 3
- B. 4
- C. 5
- D. 8
Correct answer: B. 4
XOR the words: 10110110 ⊕ 11010011 = 01100101, which has 4 ones, so they differ in 4 positions.
More Computer Networks questions
- A CRC uses the generator polynomial x⁵ + x² + 1. What bit string is transmitted for the data 1001101?
- In the classic Ethernet contention model, each of N = 4 ready stations transmits in a contention slot with probability 1/N. What is the…
- In 802.11, why is SIFS shorter than DIFS?
- Which comparison of link-state and distance-vector routing is correct?
- Inside an AS, router R learns the same external prefix from two border routers via iBGP with identical BGP attributes. R's IGP cost to…
- Which statement about multicast forwarding is correct?