CIW PERL FUNDAMENTALS - 1D0-437 Exam Practice Test
In the context of Perl user-defined subroutines, which statement is the most accurate?
Correct Answer: D
Vote an answer
Which one of the following choices uses the correct syntax for a valid array assignment?
Correct Answer: A
Vote an answer
Consider the following program code:
@array = (10, Masami, 10..13, Niklas);
for ($i = 1; $i < $#array; $i++)
{
print($array[$i] );
}
What is the result of executing this program code?
@array = (10, Masami, 10..13, Niklas);
for ($i = 1; $i < $#array; $i++)
{
print($array[$i] );
}
What is the result of executing this program code?
Correct Answer: C
Vote an answer
Consider the following command:
perl runme.pl arg1 arg2 arg3
Given this command issued on the command line, what is the value of $#ARGV?
perl runme.pl arg1 arg2 arg3
Given this command issued on the command line, what is the value of $#ARGV?
Correct Answer: B
Vote an answer
Which statement will open the /etc/passwd file for reading only?
Correct Answer: D
Vote an answer