What is the output of this code?
Consider the following program code
@array – ( “Y”, “W”, “X”);
@array = sort (@array);
unshift(@array, “Z”);
print($array[0]);
What is the output of this code?
What is the result of executing this program code?
Consider the following program code
$i – “15”;
LOOP for(; $i < 25; $i++)
{
if ($i % 2)
{
next LOOP;
}
print(“$i “);
}
What is the result of executing this program code?
Which of the following choices demonstrates the correct syntax to pass the argument $arg2 to the subroutine ge
“Pass Any Exam. Any Time.” – www.actualtests.com 2
ActualTests.com
Which of the following choices demonstrates the correct syntax to pass the argument $arg2 to the
subroutine getpass?
What is the output of this code?
Consider the following program code:
@array = (“ALPHA”, “beta”, “GaMmA”);
@array = sort(@array);
print(“@array”);
What is the output of this code?
Which one of the following statements should immediately follow the given package definition to create a valid
Consider the following package definition package Convert;
Which one of the following statements should immediately follow the given package definition to
create a valid module?
What is the result of executing this program code?
Which one of the following statements will add the symbol table for a package into the including package’
Which one of the following statements will add the symbol table for a package into the including
package’s symbol table?
Which one of the following choices will reverse the key/value pairing of the code?
Consider the following code:
%chars = (“a”, “100”, “b”, “90”, “c”, “80”);
Which one of the following choices will reverse the key/value pairing of the code?
what is the value of @ARGV?
Consider the following command:
perl runme.pl arg1 arg2 arg3
Given this command issued on the command line, what is the value of @ARGV?
Which statement will close the filehandle INPUT?
The filehandle INPUT is associated with the file represented by $file. Which statement will close
the filehandle INPUT?