Web-Technologies
October 3, 2023Database-Management-System
October 3, 2023Web-Technologies
Question 9
|
A graphical HTML browser resident at a network client machine Q accesses a static HTML webpage from a HTTP server S. The static HTML page has exactly one static embedded image which is also at S. Assuming no caching, which one of the following is correct about the HTML webpage loading (including the embedded image)?
Q needs to send at least 2 HTTP requests to S, each necessarily in a separate TCP connection to server S
|
|
Q needs to send at least 2 HTTP requests to S, but a single TCP connection to server S is sufficient
|
|
A single HTTP request from Q to S is sufficient, and a single TCP connection between Q and S is necessary for this
|
|
A single HTTP request from Q to S is sufficient, and this is possible without any TCP connection between Q and S
|
Question 9 Explanation:
By default, HTTP is a persistent connection.
Whenever a browser opens a webpage, a separate HTML request must be sent for each image or component in HTML like css file or javascript. But all can be done in the same TCP connection.
Whenever a browser opens a webpage, a separate HTML request must be sent for each image or component in HTML like css file or javascript. But all can be done in the same TCP connection.
Correct Answer: B
Question 9 Explanation:
By default, HTTP is a persistent connection.
Whenever a browser opens a webpage, a separate HTML request must be sent for each image or component in HTML like css file or javascript. But all can be done in the same TCP connection.
Whenever a browser opens a webpage, a separate HTML request must be sent for each image or component in HTML like css file or javascript. But all can be done in the same TCP connection.
Subscribe
Login
0 Comments