Skip to main contentSkip to solution

Provide the sequence for working of a dynamic web page.

(A) Calls an application program in reponse to the request

(B) The program excecutes and produces the output

(C) HTTP Request

(D) HTTP Response

Solution

✅ Correct Option: 3

A dynamic page starts when the browser sends an HTTP request. The web server then calls an application program to handle it. The program runs and produces the output (usually HTML), and the server sends that output back to the browser as the HTTP response.

(C) HTTP Request

(A) Calls an application program in response to the request

(B) The program executes and produces the output

(D) HTTP Response


Options 1 and 2: the response (D) cannot come before the request (C).

Option 4: the response (D) cannot be sent before the program has been called and has produced output.

A static page skips steps (A) and (B), because the server returns a stored file directly.

Keyboard Shortcuts

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