Perl CGI  «Prev  Next»

Perl State Machine - Quiz

State-machine Model

Each question is worth one point. Select the best answer or answers for each question.
 
1. How does the state-machine model improve CGI programs?
Please select the best answer.
  A. It tracks a user through the use of cookies.
  B. It helps a program keep track of its own flow.
  C. It passes information to the Web.

2. How is state-management data usually passed in Web-based state-machines?
Please select the best answer.
  A. hidden fields
  B. cookies
  C. call by reference


3 Why is the state-machine necessary for Web-based programs?
Please select the best answer.
  A. The state-machine sends hidden form elements before terminating
  B. Web programs send only one object before terminating
  C. The state-machine calls the validate routine


Your score is 0.0