CGI Forms   «Prev  Next»

Perl Server CGI - Quiz

Each question is worth one point. Select the best answer for each question.
 
1. Use this HTTP request to answer the following questions:
GET /program.cgi?foo=one&bar=two HTTP/1.0
User-Agent: Mozilla/3.01 (Win95; I)
Referer: https://www.javadeploy.com/xml-programming/module3/business-order-form.html
Host: luna
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*

What object is being requested?
Please select the best answer.
  A. program.cgi
  B. https://www.javadeploy.com/xml-programming/module3/business-order-form.html
  C. Mozilla/3.01

2. What will be the value of HTTP_USER_AGENT?
Please select the best answer.
  A. https://www.javadeploy.com/xml-programming/module3/business-order-form.html
  B. (Win95; I)
  C. Mozilla/3.01 (Win95; I)

3. What variable will have the value luna?
Please select the best answer.
  A. HTTP_HOST
  B. User-Agent
  C. HTTP_GET


Your score is 0.0