The GATE Grind

GATE 2020 CS – Question 35

Computer Networks · Application Layer: DNS and HTTP · 1 mark · Numerical answer

Assume that you have made a request for a web page through your web browser to a web server. Initially the browser cache is empty. Further, the browser is configured to send HTTP requests in non-persistent mode. The web page contains text and five very small images. The minimum number of TCP connections required to display the web page completely in your browser is ______.

Practise this question in The GATE Grind →

Show answer and explanation

Correct answer: 6 to 6

Explanation

In **non-persistent** HTTP, each object requires its own TCP connection (one connection per request/response pair).

The page consists of the base HTML text (1 object) and 5 images (5 objects): 6 objects, hence **6** TCP connections.

More Application Layer: DNS and HTTP questions

All Application Layer: DNS and HTTP questions →