CS FundamentalsHardGATE CS · Product company CS fundamentals
A base HTML page references 8 small images on the same server. The browser uses NON-persistent HTTP with up to 4 parallel TCP connections. Ignoring transmission times and DNS, how many RTTs does it take from the request for the page until all images have arrived?
- A. 10 RTTs
- B. 4 RTTs
- C. 6 RTTs
- D. 18 RTTs
Correct answer: C. 6 RTTs
The base file costs 2 RTTs (TCP handshake + request/response). The 8 images go in 2 waves of 4 parallel connections, each wave costing 2 RTTs, so 2 + 4 = 6. Serial non-persistent fetching would take 2 + 16 = 18 RTTs, and one persistent connection without pipelining 2 + 8 = 10.
More Computer Networks questions
- A 20 kHz channel has a signal-to-noise ratio of 63 (linear). How many signal levels are needed so that a Nyquist-rate signal reaches the…
- What baud rates do 10 Mbps Ethernet (Manchester coding) and 100BASE-TX's 4B/5B stage (100 Mbps of data) require?
- Router R has three interfaces. Interface 1 connects to switch S1 with 6 hosts. Interface 2 connects to hub H1 with 4 hosts. Interface 3…
- A host builds its IPv6 interface identifier from its MAC address 00:1A:2B:3C:4D:5E using modified EUI-64. What is the interface identifier?
- Assertion (A): With the same window size, Selective Repeat usually needs a larger sequence-number space than Go-Back-N. Reason (R): A…
- A client sends SYN with seq = 7000. The server replies SYN-ACK with seq = 22000. The client then sends the final ACK carrying 100 bytes of…