CS FundamentalsVery hardGATE CS · Product company CS fundamentals
A browser needs www.shop.example: the local resolver (RTT 2 ms) has nothing cached and contacts the root, TLD and authoritative servers iteratively (each RTT 40 ms). The page is a single small object fetched with non-persistent HTTP from a server 40 ms away. Ignoring transmission times, how long from typing the URL until the page arrives?
- A. 82 ms
- B. 162 ms
- C. 202 ms
- D. 200 ms
Correct answer: C. 202 ms
DNS: 2 ms to the local resolver plus 3 × 40 ms for root, TLD and authoritative = 122 ms. HTTP: 1 RTT for the TCP handshake and 1 RTT for request/response = 80 ms. Total 202 ms.
More Computer Networks questions
- example.com has MX records with preference 10 (mx1.example.com) and 20 (mx2.example.com). How does a sending mail server deliver to…
- With IEEE 802.3 Manchester coding (0 = high-to-low in mid-bit, 1 = low-to-high), how many signal transitions occur while sending the bits…
- A 10 Gbps transatlantic fibre link is 6000 km long (signals at 2 × 10⁸ m/s). How much data is in flight in one direction when the link is…
- TCP sequence numbers are 32 bits, and no number may be reused within the maximum segment lifetime of 120 s (assume no PAWS/timestamps)…
- When is the TCP window-scale option negotiated, and what happens if only one side includes it?
- How long does a TCP endpoint stay in TIMEWAIT if MSL = 2 minutes, and which side enters it?