CIW PERL FUNDAMENTALS - 1D0-437 FREE EXAM DUMPS QUESTIONS & ANSWERS
Running your Perl scripts with a d switch will perform which task?
Correct Answer: A
Vote an answer
Which one of the following choices lists the three loop-control commands?
Correct Answer: D
Vote an answer
Consider the following program code:
$ x = 0;
$ y = 5;
do
{
print ($x $y );
}
while (++$x < 5 && ++$y < 10);
print ($x $y );
What is the result of executing this program code?
$ x = 0;
$ y = 5;
do
{
print ($x $y );
}
while (++$x < 5 && ++$y < 10);
print ($x $y );
What is the result of executing this program code?
Correct Answer: D
Vote an answer
In the context of Perl user-defined subroutines, which statement is the most accurate?
Correct Answer: C
Vote an answer
Consider the following code:
@cities = qw( Pittsburgh Atlanta Nashville Boston );
$city = join (":", @cities);
What is the value of $city after the code is executed?
@cities = qw( Pittsburgh Atlanta Nashville Boston );
$city = join (":", @cities);
What is the value of $city after the code is executed?
Correct Answer: B
Vote an answer
Which of the following choices demonstrates the correct syntax to pass a reference to a subroutine?
Correct Answer: C
Vote an answer
Consider the following program code:
@ array = ("ALPHA", "beta", "GaMmA");
@ array = sort(@array);
print("@array");
What is the output of this code?
@ array = ("ALPHA", "beta", "GaMmA");
@ array = sort(@array);
print("@array");
What is the output of this code?
Correct Answer: A
Vote an answer