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)?
- A. 0xfffc
- B. 0x0003
- C. 0xff03
- 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
- A link has one-way propagation delay 20 ms and frame transmission time 1 ms. Using a sliding-window protocol with sender window size 1…
- A link has one-way propagation delay 40 ms and frame transmission time 1 ms. Using a sliding-window protocol with sender window size 1…
- A link has bandwidth 50 Mbps and round-trip time 40 ms. What is its bandwidth-delay product, in bytes?
- A link has bandwidth 1 Mbps and round-trip time 100 ms. What is its bandwidth-delay product, in bytes?
- A link has bandwidth 500 Mbps and round-trip time 4 ms. What is its bandwidth-delay product, in bytes?
- A link has bandwidth 2 Mbps and round-trip time 100 ms. What is its bandwidth-delay product, in bytes?