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?
- A. 52F5
- B. 52F4
- C. AD0C
- 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
- A 4-port learning switch has an empty MAC table. Hosts A, B, E, C and D are attached as follows: A and F on port 1 (through a hub), B and…
- A stop-and-wait link carries 1000-byte frames at 2 Mbps with a one-way propagation delay of 20 ms; ACK transmission time is negligible…
- A token bucket has capacity 3 MB, a token arrival rate of 6 MB/s, and starts full. The link allows a maximum output rate of 30 MB/s. For…
- A single-error-correcting Hamming code protects m data bits with r check bits satisfying 2^r >= m + r + 1. How many check bits are needed…
- A 12-bit CRC uses a generator polynomial of degree 12 with non-zero constant term. What are the probabilities that a burst error of length…
- A TCP connection runs over a 1 Gbps path with RTT = 100 ms. The 16-bit window field alone can express at most 65535 bytes; with the…