CS FundamentalsHardHCL · Tech Mahindra pattern

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

  1. A. 0xfffc
  2. B. 0x0003
  3. C. 0xff03
  4. D. 0xfffc~1

Correct answer: A. 0xfffc

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

More Computer Networks questions

Exams that ask this topic