GATE 2014 CS (CS1) – Question 35
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.
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.