GATE CS 2024, set 1 · Question 16 · Computer Networks · Multiple choice (MCQ) · 1 mark · −1/3 for a wrong answer

A user starts browsing a webpage hosted at a remote server. The browser opens a single TCP connection to fetch the entire webpage from the server. The webpage consists of a top-level index page with multiple embedded image objects. Assume that all caches (e.g., DNS cache, browser cache) are all initially empty. The following packets leave the user's computer in some order.
(i) HTTP GET request for the index page
(ii) DNS request to resolve the web server's name to its IP address
(iii) HTTP GET request for an image object
(iv) TCP SYN to open a connection to the web server
Which one of the following is the CORRECT chronological order (earliest in time to latest) of the packets leaving the computer ?

  1. (A) (iv), (ii), (iii), (i)
  2. (B) (ii), (iv), (iii), (i)
  3. (C) (ii), (iv), (i), (iii)
  4. (D) (iv), (ii), (i), (iii)
Answer

Answer (C)

Answer from the official GATE CS 2024 answer key.

The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes