Web Perl   «Prev  Next»

CGI Programs - Quiz

Each question is worth one point. Select the best answer or answers for each question.
 
1. What protocol is used for the Web client to talk to the server?
Please select the best answer.
  A. HTML
  B. HTTP
  C. CGI
  D. Perl

2. What are some important characteristics of the HTTP protocol?
  1. The client always initiates a connection.
  2. The server always initiates a connection.
  3. Connections are persistent.
  4. Connections are not persistent.
  5. Requests always precede responses.
  6. Requests and responses may occur in any order.
  7. HTML is the only possible content of a response.
  8. HTML is one of many possible contents of a response.
Please select the best answer.
  A. 1, 4, 5, and 8
  B. 2, 4, 6, and 8
  C. 1, 3, 5 and 7
  D. 5 and 8


3. What is the purpose of a MIME header in a CGI response?
Please select the best answer.
  A. to initiate the connection with the client
  B. to specify the format of the output
  C. to send a mail message to the Webmaster
  D. to combine a GIF and JPEG image


Your score is 0.0