Related Articles

Related Articles

GATE | GATE-CS-2014-(Set-1) | Question 65
  • Last Updated : 14 Oct, 2019

Identify the correct order in which the following actions take place in an interaction between a web browser and a web server.

  1. The web browser requests a webpage using HTTP.
  2. The web browser establishes a TCP connection with the web server.
  3. The web server sends the requested webpage using HTTP.
  4. The web browser resolves the domain name using DNS.

(A) 4,2,1,3
(B) 1,2,3,4
(C) 4,1,2,3
(D) 2,4,1,3


Answer: (A)

Explanation: The web browser first need to figure out IP address of site from url using DNS, then establishes a TCP connection, typically at port 80. Once the TCP connection is established, the browser sends a HTTP request using GET. Finally web server responds with HTTP response.

Quiz of this Question

sudo-gate-course

My Personal Notes arrow_drop_up
Recommended Articles
Page :