JavaDeploy
SiteMap
Perl 1
Perl 2
ASP
XML
Web Perl
«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
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
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?
The client always initiates a connection.
The server always initiates a connection.
Connections are persistent.
Connections are not persistent.
Requests always precede responses.
Requests and responses may occur in any order.
HTML is the only possible content of a response.
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
Submit
Quiz Explanation