CS FundamentalsVery hardGATE CS
A transport protocol numbers BYTES (like TCP). On a 10 Gbps link with a maximum segment lifetime of 120 s, how many sequence-number bits are needed so that no number is reused while an old segment with it may still exist?
- A. 32
- B. 37
- C. 41
- D. 38
Correct answer: D. 38
In 120 s the link sends 10¹⁰/8 × 120 = 1.5 × 10¹¹ bytes; log₂(1.5 × 10¹¹) ≈ 37.1, so 38 bits. TCP's 32 bits wrap in about 3.4 s at 10 Gbps, which is why PAWS timestamps exist. Adding 3 extra bits would be counting bits instead of bytes.
More Computer Networks questions
- In a TCP connection the client calls close() first and the server closes later. Which sequence of states does the SERVER go through from…
- A remote-shell client writes one keystroke (1 byte) at a time to a TCP socket with Nagle's algorithm enabled; the RTT is 50 ms and the…
- Which pair correctly matches the fix with the side that causes silly window syndrome? (i) receiving application reads data one byte at a…
- How many of the following statements about UDP are correct? 1. The UDP checksum covers a pseudo-header containing the source and…
- A sender must deliver frames 1–8 with a window of 4. Only the first transmission of frame 3 is lost; nothing else is lost, and the sender…
- A 2 Mbps link uses Selective Repeat with a window of 10 frames. The propagation delay is 8 times the frame transmission time and ACKs are…