A directory handle.
is a program that handles your operating system 0.0%
is a link from your computer program to the directory on your file system 100.0%
does not have its own namespace 0.0%
cannot be considered equivalent to a file handle 0.0%
does not require the opendir function 0.0%
A label, in Perl, is.
a marker for the Perl interprete 0.0%
a heading 0.0%
a switch statement 100.0%
the name of an operator 0.0%
a component embedded in the code 0.0%
A scalar variable can contain:
only one data item at a time 100.0%
several data items at a time, the number of which needs to be declared beforehand 0.0%
unlimited items 0.0%
two items at a time 0.0%
an array of data items 0.0%
A scalar variable can contain.
only one data item at a time 100.0%
several data items at a time, the number of which needs to be declared beforehand 0.0%
unlimited items 0.0%
two items at a time 0.0%
an array of data items 0.0%
An atom cannot be
a single character or digit, A-Z, a-z, 0-9 0%
an escaped meta-characte 0%
an escaped special meaning characte 0%
a regular expression enclosed in parenthesis 0%
a meta characte 0%
An atom cannot be:
a single character or digit, A-Z, a-z, 0-9 0%
an escaped meta-character 0%
an escaped special meaning character 0%
a regular expression enclosed in parenthesis 0%
a meta character 0%
Context in Perl can be:
conditional, referenced, literal, null 0.0%
numeric, string, list, scalar 0.0%
associative, numeric, scalar, sparse 0.0%
inary, string, list, scalar 100.0%
Boolean, numeric, string, null 0.0%
Context in Perl can be.
conditional, referenced, literal, null 0.0%
numeric, string, list, scala 0.0%
associative, numeric, scalar, sparse 0.0%
inary, string, list, scala 100.0%
Boolean, numeric, string, null 0.0%
Dereferencing refers to:
accessing an array that contains a reference to another array 0.0%
removing the reference 0.0%
an undefined or empty reference 0.0%
accessing values referred to by Perl references 100.0%
a scalar variable that keeps track of where another variable is stored in memory 0.0%
Dereferencing refers to.
accessing an array that contains a reference to another array 0%
emoving the reference 0%
an undefined or empty reference 0%
accessing values referred to by Perl references 0%
a scalar variable that keeps track of where another variable is stored in memory 0%
How are hash references created?
% $ reference 0.0%
$ reference = % hash; 100.0%
@ reference = % hash; 0.0%
% hash=$reference; 0.0%
$$reference= % hash; 0.0%
How is an array assigned to an array?
@array1=@array[1...6]; 0.0%
@array1=@array2; 0.0%
@array=(1, "string", 4,5, @ array z); 0.0%
By creating another array object 0.0%
An array cannot be assigned to an array 100.0%
How many times does the do statement allow you to execute the block of statements in a loop?
Does not allow you to execute statements in a loop 0.0%
At least once 100.0%
Twice 0.0%
Depends on the number of times specified 0.0%
An indefinite number of times 0.0%
Non-associative operators are those that:
do not bind at all 0.0%
change their associativity depending on the context 0.0%
do not show precedence 100.0%
bind themselves to whichever expression they are adjacent to 0.0%
do not associate the lvalue with the expression on the right 0.0%
Non-associative operators are those that.
do not bind at all 0.0%
change their associativity depending on the context 0.0%
do not show precedence 100.0%
ind themselves to whichever expression they are adjacent to 0.0%
do not associate the lvalue with the expression on the right 0.0%
Of which of the following switch syntax options is the following code an example of? GetOptions("extension:s");
Sets the default syntax 0%
Allows the option to be negated 0%
Sets the input option to include a mandatory string argument 0%
Sets the input option to include a mandatory integer argument 0%
Sets the input option to include an optional string argument 0%
Scalar variables can contain:
numeric data 0%
string data 0%
either numeric or string data 0%
null values 0%
Boolean values 0%
Scalar variables can contain.
numeric data 0%
string data 0%
either numeric or string data 0%
null values 0%
Boolean values 0%
The bless operato
creates references to objects that are not named 0%
creates a link between the reference object and the class the object is created within 0%
contains the literal name of another variable 0%
eferences a subroutine 0%
efers to literals 0%
The bless operator:
creates references to objects that are not named 0%
creates a link between the reference object and the class the object is created within 0%
contains the literal name of another variable 0%
references a subroutine 0%
refers to literals 0%
The following code is an example of which switch syntax option? GetOptions("extension:s");
Sets the default syntax 0%
Allows the option to be negated 0%
Sets the input option to include a mandatory string argument 0%
Sets the input option to include a mandatory integer argument 0%
Sets the input option to include an optional string argument 0%
The foreach loop is usually used to process:
arrays and hashes 0%
a block of statements a number of times 0%
lists 0%
multi-dimensional arrays 0%
namespaces 0%
The foreach loop is usually used to process.
arrays and hashes 0%
a block of statements a number of times 0%
lists 0%
multi-dimensional arrays 0%
namespaces 0%
The keyword 'my' is used to declare
comments 0%
are words 0%
default variables 0%
Lexical variables 0%
The s/// function:
substitutes one string for another string 0%
returns the first position of a substring 0%
returns the last position of a substring 0%
returns the number of characters of a string 0%
returns or modifies a substring 0%
The s/// function.
substitutes one string for another string 0%
eturns the first position of a substring 0%
eturns the last position of a substring 0%
eturns the number of characters of a string 0%
eturns or modifies a substring 0%
The syntax of assigning to an array cell is.
array=new Array(n); 0%
scalar=@array[cellIndex] 0%
@array[cellIndex]=scalar; 0%
$array[cellIndex]=scalar; 0%
$array[n]=newArray; 0%
The syntax of the heredoc operator is.
print >>heredoc - marker; 0%
print <<heredoc - marker; 0%
select <<heredoc - marker; 0%
print << heredoc -label; 0%
printlist <<heredoc -label; 0%
The syntax of the sort function without a special purpose sort subroutine is:
sort ( ) {$b cmp $a ;} 0%
lvalue=sort list 0%
$ name= ~tr/+/ /; 0%
sortDescending ( ) {$b cmp $a;} 0%
lvalue=sort subroutineName list; 0%
The value assigned to an array cell must be:
a scalar value 0%
a variable value 0%
a scalar or a variable value that resolves to a scalar value 0%
null 0%
None of the above 0%
The value assigned to an array cell must be.
a scalar value 0%
a variable value 0%
a scalar or a variable value that resolves to a scalar value 0%
null 0%
None of the above 0%
To start the Perl debugger, what will you type at the command prompt?
perld 0%
DB<1 0%
perl errorMessage.pl-d 0%
perl -d filename.pl 0%
perl-w programName.pl 0%
What are bare words?
Comments with the # sign missing 0%
Improperly declared variables 0%
Operators 0%
Character strings without surrounding quotation marks 0%
Characters denoting a string 0%
What does @ARGV refer to?
The number of elements in an array 0%
An array loaded with the command-line arguments 0%
A file handle used when processing an array 0%
A file associated with a file handle 0%
The name of your program 0%
What does a print FILEHANDLE list do?
Prints to FILEHANDLE the data in list 0%
Prints the contents of the default special variable $_ to FILEHANDLE 0%
Prints to the default selected file handle the data in list 0%
Prints to the default selected file handle the contents of the default special variable $_ 0%
None of the above 0%
What does Perl stand for?
Programmer's Extraction Report Language 0%
Practical Extra Reference Language 0%
Practical Extraction and Report Language 0%
Practical Evolving Report Language 0%
Practical Error Report Language 0%
What does the abs_path method do?
Gets the current working directory 0%
Gets the absolute path of the paramete 0%
Gets the absolute path of the input paramete 0%
Gets the absolute path of the current working directory 0%
Gets the current paramete 0%
What does the directory function telldir do?
Changes the current directory 0%
Closes a directory handle 0%
Creates a new directory 0%
Opens a directory handle 0%
Gets a directory handle's current byte offset 0%
What does the following compound assignment operator signify? | =
Exclusive OR the expression on the left of the operator with the expression on the right of the operator 0%
Logical OR the expression on the left of the operator with the expression on the right of the operator 0%
Left shift the expression on the left of the operator by the expression on the right of the operator 0%
Binary OR the expression on the left of the operator with the expression on the right of the operator 0%
Append the expression on the left of the operator with the expression on the right of the operator 0%
What does the following error indicate? "Can't Locate Function in @INC"
You misspelled a function name 0%
The last line of the required file returned a zero or null value 0%
You forgot to type the comma after the first argument of a function 0%
Your code is using a function that has been replaced by a newer function 0%
You used an uninitialized value 0%
What does the following syntax indicate? $lvalue=join(delimiter, list);
Creates a single delineated string from an input list 0%
Translates a number into a characte 0%
Returns the first position of a substring 0%
Returns the number of characters in a string 0%
Returns the last position of a substring 0%
What does the following syntax indicate? $lvalue=join(delimiter, list);
Creates a single delineated string from an input list 0%
Translates a number into a character 0%
Returns the first position of a substring 0%
Returns the number of characters in a string 0%
Returns the last position of a substring 0%
What does the ord string function do?
Returns or modifies a sub string 0%
Translates a number into a characte 0%
Creates a delineated string from an input list 0%
Returns the number of characters in a string 0%
Converts ASCII characters into their numeric value 0%
What does the pattern modifier m do?
Ignores the character case when matching the pattern 0%
Compiles the pattern and interprets it only the first time it occurs 0%
Treats the input string as if it were a single line 0%
Treats the input string as if it were multiple lines 0%
Allows a comment character in the pattern 0%
What does the pop function do?
Takes elements off the end of an array 0%
Puts elements into the first cell index of an array 0%
Adds an element to the end of an array 0%
Takes elements off the first index of the array 0%
Modifies or deletes elements from the array 0%
What does the switch syntax :f do?
It allows the option to be negated 0%
It sets the default syntax 0%
It sets the input option to include an optional real-number argument 0%
It sets the input option to include an optional integer argument 0%
It sets the input option to include a mandatory real-number argument 0%
What is meant by variable interpolation?
Exchanging the values of one variable with anothe 0%
Passing a variable as an argument to a function 0%
The process of making a variable part of the namespace table 0%
The process of assigning some value to a variable 0%
The process of interpreting characters in a string literal surrounded by double quotation marks 0%
What is the following code an example of? $hitCounter=sub {print "This page has been called $hits times";};
Anonymous array 0%
Anonymous hash 0%
Object reference 0%
Subroutine 0%
Anonymous subroutine 0%
What is the following code an example of? $hitCounter=sub {print "This page has been called $hits times";};
Anonymous array 0%
Anonymous hash 0%
Object reference 0%
Subroutine 0%
Anonymous subroutine 0%
What should be the first character of a format code?
+ or - 0%
x 0%
& 0%
% 0%
@ 0%
When are the environment variables created?
Each time you run a program 0%
When you save a program 0%
When you compile a program 0%
The first time you run a program 0%
When you run a program in the Unix command shell 0%
Which of the following begins or ends a system command string in Perl?
font size=5>"</font 0%
font size=5>'</font 0%
font size=5><></font 0%
font size=5><!</font 0%
font size=5>`</font 0%
Which of the following can be used with the do statement?
A label modifie 0%
next 0%
while 0%
edo 0%
last 0%
Which of the following can replace if else?
? : 0%
: ? 0%
! : 0%
/ ? 0%
? / 0%
Which of the following characters denotes a comment in Perl?
// 0%
# 0%
/* 0%
& 0%
* 0%
Which of the following characters is the variable designator for scalar variables?
Which of the following executes the continue block of statements before returning execution to the top of the loop?
last 0%
edo 0%
less 0%
next 0%
lu 0%
Which of the following file functions gets the file descriptor of a file handle?
fcntl 0%
flock 0%
getc 0%
fileno 0%
link 0%
Which of the following Getopt::Long Configuration variables refers to an internal error flag?
debug 0%
orde 0%
pass_through 0%
null 0%
error 0%
Which of the following is not a feature of Perl?
Portability 0%
Interpreted language 0%
Compiled language 0%
Is used for CGI applications 0%
Was originally used to generate reports that tracked errors 0%
Which of the following is not a rule for switches using the Getopt function?
Switches begin with a dash character (-) 0%
Switches that do not take a parameter are set to the value 0 0%
Switches that take a parameter may or may not have space between the switch name and the switch value 0%
Switches are not required to be in any orde 0%
Switches are case-sensitive 0%
Which of the following is not a type of reference variables?
Direct 0%
Constant 0%
Subroutine 0%
Numeric 0%
Symbolic 0%
Which of the following is not an alignment character?
Which of the following is not true of labels?
A label can go on any line 0%
A label must begin with a character followed by any combination of letters or numbers that end with a colon 0%
Reserved words cannot be used as labels 0%
Labels are case sensitive 0%
A label performs the same function as the last command 0%
Which of the following is not true regarding scalar variable names?
Variable names that begin with an underscore or an alphabet character may have any practical length 0%
The characters that follow variable names that begin with an underscore or alphabet character may be digits, underscores or alphabet characters 0%
If a variable name begins with a digit, it may be of any practical length but can contain only digits 0%
If a variable name begins with a non-alphanumeric character, it can only be one character long 0%
Variable names can contain spaces 0%
Which of the following loops is usually used to process arrays?
while 0%
until 0%
do 0%
for / foreach 0%
Which of the following meta characters creates a single expression or atom?
{ } 0%
( ) 0%
* 0%
+ 0%
? 0%
Which of the following operators has/have the highest precedence?
Increment/decrement 0%
NOT, escape, sign operator 0%
Dereference operator 0%
Exponential operator 0%
Parenthesis, function, quotation marks 0%
Which of the following operators is associated with writing to a program?
+ 0%
0%
| filename 0%
filename | 0%
Which of the following parameters does the printf function take?
An output file handle which is optional 0%
A format string which can include the format codes 0%
The variables to be formatted 0%
All of the above 0%
Does not take any parameters 0%
Which of the following pertains to IO: :Handle?
Base class for IO classes 0%
Interface to file-open functions 0%
Get the file descripto 0%
Interface to IO: : *classes 0%
Export file symbols 0%
Which of the following translation modifiers matches all characters that are not part of the search string?
Which one of the following is a part of the if family of branching statements in Perl?
if 0%
if else 0%
if elsif 0%
if, if else, and if elsif 0%
None of the above 0%
The syntax of assigning to an array cell is:
array=new Array(n);
scalar=@array[cellIndex]
@array[cellIndex]=scalar;
$array[cellIndex]=scalar;
$array[n]=newArray;
The keyword 'my' is used to declare:
comments
words
default variables
Lexical variables
is a program that handles your operating system
is a link from your computer program to the directory on your file system
does not have its own namespace
cannot be considered equivalent to a file handle
does not require the opendir function