JavaDeploy
SiteMap
Perl 1
Perl 2
ASP
XML
Perl Basics
«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
Perl References - Quiz
Each question is worth one point. Select the best answer for each question.
1.
A Perl reference is:
Please select the best answer.
A.
Limited to two-dimensional data
B.
the contents of a variable
C.
a scalar variable that points to another object
2.
A dereference is:
Please select the best answer.
A.
A reference to an object in Perl.
B.
An object being accessed via a reference.
C.
A scalar variable being accessed via an object.
3.
An anonymous object is:
Please select the best answer.
A.
an element of the dereferenced array
B.
an object without a name
C.
a special arrow operator
4.
Refer to this code fragment to answer the following questions:
$var1 = "George"; $var2 = $var1; $var3 = $var2; $var4 = $$var2; $var5 = $$var3;
Which variables are references?
Please select the best answer.
A.
$var2 and $var3
B.
$var1
C.
$var5 and $var1
5.
What are they references to?
Please select the best answer.
A.
$var1
B.
George
C.
used to aggregate data into smaller dimensions
6.
What is the content of $var4?
Please select the best answer.
A.
$var1
B.
"George"
C.
$var2
7.
What is the content of $var5?
Please select the best answer.
A.
$var2
B.
$var1
C.
"George"
Your score is 0.0
Submit
Quiz Explanation