eWebProgrammer
Distributednetworks GofPatterns
prev next
Course navigation
HTTP Protocol in Servlets - Quiz
Please select the best answer for each question.
 
1. HTTP (HyperText Transfer Protocol) requests are:
Please select the best answer.
  A. The only way information moves around the Internet
  B. Used to request HTML from a Web server
  C. Used to ensure a stateful exchange of information over the Internet
  D. None of the above.

2. When a Web browser wants to retrieve a file called welcome.html from a Web server, it sends this command:
Please select the best answer.
  A. SEND /welcome.html HTTP/1.0
  B. SEND /welcome.html
  C. GET /welcome.html HTTP/1.0
  D. GET /welcome.html

3. HTTP is a stateless protocol. This means that:
Please select the best answer.
  A. It will work from anywhere in the world
  B. It’s impossible for the program executing on the Web server to know two requests are from the same user
  C. Every program must be able to gather all the information it needs from a single Web page
  D. It’s hard work to get the program executing on the Web server to know two requests are from the same user

Score =
Correct answers: