JavaDeploy
SiteMap
Perl 1
Perl 2
ASP
XML
Perl Variables
«Prev
Next»
Perl Intro
Perl Course
Obtaining web Perl
Installing Perl
Learning Perl
Perl History
Perl Language
General Syntax Structure
Perl Comments
Working with Testbed
Perl Conclusion
Perl Variables
Scalar Types
Scalar Variable Syntax
Perl Scalar Context
Numeric Strings Literals (L5)
Perl Lists
Perl Arrays (L7)
Accessing Array Members
Perl Array Subscripts
Perl Stack Array
Splice Function
Shift Unshift
Perl Join Function
Split Function
Perl Hash Functions
Perl Hash Index
Perl Operators
Perl String Operators
Opening Perl File
Regular Expressions
Using Regular Expresions
Regular Expressions References
Perl Pattern Matching
Pattern Matching Modifiers
Perl Substitution Operator
Perl Substitution Modifier
Perl e Modifier
e Substitution Modifier
Perl Selective Replacement
Perl Subexpressions Selective Replacement
Perl split Function
Extended Regular Expressions
Regular Expressions Conclusion
Regular Expression - Quiz
Perl Scalars in Context - Quiz
Each question is worth one point. Select the best answer for each question.
1.
When is a scalar a number?
Please select the best answer.
A.
When it has no alphabetic characters
B.
When it's used in a numeric context
C.
When it's used in any context
2.
Given the line of code below, what is the type of the scalar variable
s
?
$s = "78"
Please select the best answer.
A.
$s
is a number
B.
$s
is a string
C.
$s
is a character
Your score is 0.0
Submit
Quiz Explanation