Skip to content

GATE CS 2016 Set 2 Q25 — Transport Layer: Flow Control, Congestion Control, UDP, TCP, Sockets

Explain with AI

Identify the correct sequence in which the following packets are transmitted on the network by a host when a browser requests a webpage from a remote server, assuming that the host has just been restarted.

Choose one option
View worked solution

Answer: C

When a host has just been restarted, its local DNS cache is empty. To fetch a webpage from a remote server, the host must perform the following steps in sequence:

  1. DNS Query: The browser first needs the IP address of the remote server corresponding to the domain name (e.g., www.example.com). Since there is no cached entry, it transmits a DNS query packet to resolve the domain name.
  2. TCP SYN: Once the IP address is obtained, the host must establish a TCP connection with the remote web server. This connection setup begins with the TCP three-way handshake, where the host transmits a TCP SYN packet.
  3. HTTP GET Request: After the TCP connection is successfully established, the browser can send the application-layer request, which is the HTTP GET request, to fetch the webpage.

Thus, the correct sequence of packet transmission is: DNS query → TCP SYN → HTTP GET request.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Transport Layer: Flow Control, Congestion Control, UDP, TCP, Sockets questions