CS FundamentalsVery hardGATE CS · product-company placement
A 100,000-byte response is sent with MSS 1460 bytes over a path with plenty of bandwidth, no loss, no delayed ACKs and a large receive window. The request goes with the handshake's final ACK, and transmission time is ignored. From the client's SYN until the last byte arrives, how many RTTs pass with an initial window of 10 segments, and with an initial window of 1 segment?
- A. 4 and 8
- B. 3 and 7
- C. 4 and 7
- D. 5 and 9
Correct answer: A. 4 and 8
The response needs ⌈100000/1460⌉ = 69 segments. Doubling from 10 gives 10 + 20 + 40 = 70 after 3 rounds; from 1, 1 + 2 + … + 64 = 127 needs 7 rounds (63 after 6 is too few). Adding 1 RTT for the handshake gives 4 and 8.
More Computer Networks questions
- A shared cache stores a response from origin that carries Vary: Accept-Encoding. A later client asks for the same URL with a different…
- A site's A record has a TTL of 86,400 s. The team will move the site to a new IP at 10:00 on Friday and wants every cache to pick up the…
- A bank sends Strict-Transport-Security: max-age=31536000 and is not on any browser's HSTS preload list. Which statement is correct?
- A bitmap image is encrypted with AES, and the ciphertext still shows the outline of the picture. Which mode of operation was used, and why?
- A developer encrypts two different messages with the same one-time-pad key K: C1 = M1 ⊕ K and C2 = M2 ⊕ K. What can an eavesdropper…
- A layer-2 switch carries an IPTV multicast stream. Without any special feature it floods the stream to every port in the VLAN. Which…