CS FundamentalsVery hardGATE CS · Product company CS fundamentals
A browser fetches a 100 KB base page and then 3 embedded objects of 200 KB each from one server over a single persistent HTTP connection WITHOUT pipelining. The bottleneck is 10 Mbps, RTT = 40 ms, 1 KB = 1000 bytes; ignore DNS, headers and TCP slow start. How long from the start of the TCP handshake until the last object is received?
- A. 640 ms
- B. 760 ms
- C. 880 ms
- D. 720 ms
Correct answer: B. 760 ms
Handshake 40 ms; base page 40 + 80 ms; each object 40 + 160 ms. Total = 40 + 120 + 3 × 200 = 760 ms. Pipelining all three requests would save two RTTs; non-persistent HTTP would add a handshake (40 ms) per object.
More Computer Networks questions
- A resolver caches an A record whose TTL is 300 s. Clients look the name up at t = 0, 100, 250, 420, 650 and 700 s, with nothing cached at…
- A satellite path offers 50 Mbps with an RTT of 540 ms. A TCP connection without window scaling has a 65,535-byte window. Roughly what…
- An HDLC receiver removes the 0 that the sender stuffed after every five consecutive 1s. What data does it recover from the bit string…
- A receiver has these fragments of one IPv4 datagram (all with 20-byte headers): offset 0, total length 1420, MF = 1; offset 175, total…
- A TCP receiver has a 64 KB buffer with LastByteRcvd − LastByteRead = 20 KB. The sender has LastByteSent − LastByteAcked = 30 KB, and its…
- After a timeout a TCP sender restarts with cwnd = 1 MSS and ssthresh = 32 MSS (slow start doubles cwnd per RTT, capped at ssthresh…