CS FundamentalsHardIBM · Deloitte pattern

A receiver computes the Internet checksum over the 16-bit words 0x0f0f, 0xf0f0, 0x1234, 0x0001 using one's-complement addition with end-around carry. What is the checksum field value (the one's complement of the sum)?

  1. A. 0xed35
  2. B. 0xedca~1
  3. C. 0xedca
  4. D. 0x1235

Correct answer: C. 0xedca

Adding the words with end-around carry (any overflow past 16 bits is added back in) gives a sum of 0x1235. The checksum is the one's complement of this sum: 0xedca.

More Computer Networks questions

Exams that ask this topic