The GATE Grind

GATE 2014 CS (CS1) – Question 35

Computer Networks · Application Layer: DNS and HTTP · 1 mark · Multiple choice

Order browser–server operations: 1: Browser requests webpage using HTTP; 2: Browser establishes TCP connection; 3: Server sends requested webpage using HTTP; 4: Browser resolves domain using DNS.

  1. 4,2,1,3
  2. 1,2,3,4
  3. 4,1,2,3
  4. 2,4,1,3

Practise this question in The GATE Grind →

Show answer and explanation

Correct answer: (A) 4,2,1,3

Explanation

Resolve the hostname using DNS before opening a connection to its IP address. Establish TCP, send the HTTP request, then receive the HTTP response. The sequence is **4,2,1,3, A**, for the stated ordinary TCP-based HTTP interaction without an existing connection or cached resolution.