GATE CS 2024 Set 1 | Question 16

Computer Networks › Transport Layer · MCQ · 1 mark · Answer: C

  1. Question 16Computer Networksmcq1 mark
    A browser opens a single TCP connection to fetch a webpage (index page + embedded images), all caches empty. The packets leaving the user's computer: (i) HTTP GET for index, (ii) DNS request, (iii) HTTP GET for an image, (iv) TCP SYN. Correct chronological order (earliest to latest)?
    • A.
      (iv), (ii), (iii), (i)
    • B.
      (ii), (iv), (iii), (i)
    • C.
      (ii), (iv), (i), (iii)
      ✓
    • D.
      (iv), (ii), (i), (iii)

    Answer: C

    Solution

    Answer: (C) (ii), (iv), (i), (iii) First resolve the server name: (ii) DNS request. Then open the connection: (iv) TCP SYN. Then request the index page: (i) HTTP GET index. Only after parsing the index are the embedded images known, so: (iii) HTTP GET image, last.

More GATE PYQ on Transport Layer

All GATE CS Computer Networks PYQ →

Attempt GATE CS 2024 Set 1 in real GATE exam mode

Full paper with a timer, the GATE interface and a topic-wise analysis — free.

Create free account →