JavaDeploy
SiteMap
Perl 1
Perl 2
ASP
XML
Perl CGI
«Prev
Next»
Web Perl
Web Server Basics
Http Protocol
Perl Basics
Perl Web Language
Perl Brief History
Compiled vs. Interpreted
Perl Language
Cross Platform Availability
Awk Sed Perl Text
Perl Regex
Pattern Matching
Powerful Pattern Matching
Regexp Substitute Operator
Execute Replacement Component
Aggregate Data Types
Perl Array
Perl Hash
Array hash Association
Perl References
Scalar References
Array References
Hash References
Perl Data Structure
Perl Web Programming
CGI Forms
About Web Forms
Passing Data Server
Server CGI Program
Get post Methods
Form Data encoding
Perl Widgets
Perl Form Conclusion
122
Perl CGI
Perl Program Flow
State Machine Model
Perl SM Example
Perl based HTML
CGI State Machine Model
Processing States using CGI
Perl Guestboook
Identify Perl Cookie Functionality
Set Read Cookies
Expire Perl Cookie
Clearing Perl Cookie State
Perl Interfaces Conclusion
Pipes Streams
Perl Stream
Write File Stream
Reading File Streams
Perl Pipe
Send email
email Form
Streams | Pipes
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
Submit
Quiz Explanation