Skip to main contentSkip to solution

Sequence the following steps with respect to working of a dynamic web page in correct order:

(A) The program executes and produces HTML output.

(B) HTTP Response

(C) HTTP Request

(D) Calls an application program in response to the HTTP request.

Solution

✅ Correct Option: 2

A dynamic page is built on the server only after the browser asks for it, and the result is sent back last. So the order is request, application call, execution, response.

(C) HTTP Request: the browser asks the web server for the page.

(D) The web server calls an application program in response to the request.

(A) The program executes and produces HTML output.

(B) HTTP Response: the server sends the generated HTML back to the browser.

Request always comes first and response always comes last.

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question