CS FundamentalsVery hardGATE CS

A 16-bit Internet checksum is computed over the five 16-bit words 4A3F, B7C1, 2E9D, F05A and 8C13 (hexadecimal): the words are added with end-around carry and the result is complemented. What is the checksum?

  1. A. 52F5
  2. B. 52F4
  3. C. AD0C
  4. D. 52F3

Correct answer: D. 52F3

The plain sum is 2AD0A; folding the carry gives AD0C, and its one's complement is 52F3. Dropping the end-around carry instead gives 52F5; failing to complement gives AD0C.

More Computer Networks questions

Exams that ask this topic