GATE Assistant

Past questions › Computer Science and Information Technology › GATE 2024 set1

GATE 2024 set1 · CS · MCQ · 1 mark · Computer Networks › Application Layer

GATE 2024 set1 Computer Science and Information Technology question: A user starts browsing a webpage hosted at a remote server. The browser opens a single…

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)

Show answer

Official answer: C

Practise this question with exam-style marking

Discussion

No discussion yet.

Join the discussion