Which one of the following statements uses correct syntax and expressions?
Which one of the following statements uses correct syntax and expressions?
Which one of the following choices will replace all occurrences of the word perl with the word Perl?
Which one of the following choices will replace all occurrences of the word perl with the word Perl?
What is the result of executing this program code?
Consider the following program code
package Dog;
$string = “Walk the dog.”;
if($string eq “Walk the dog.”)
{
package Cat;
$string = “Pet the cat.”;
print(“$string\n”);
}
print (“$string\n”);
What is the result of executing this program code?
which of the following expressions evaluates as true?
Consider the following assignments
$x = 9
$y = 7
$z = 5
Given these assignments, which of the following expressions evaluates as true?
What is the output of this code?
Consider the following program code
@array – (“ALPHA”, “beta”, “GaMmA”);
sort (@array);
print (“@array”);
What is the output of this code?
Which of the following describes the functionality of the DBI tables method?
Which of the following describes the functionality of the DBI tables method?
Which of the following choices is best suited for this requirement?
Karl wants to define a character class that includes any alphanumeric word characters.
Which of the following choices is best suited for this requirement?
What is the result of executing this program code?
Consider the following program code:
@stack = (10, 10..25);
push(@stack, yellow);
shift(@stack);
push(@stack, white);
print shift(@stack);
What is the result of executing this program code?
Which one of the following choices lists the three loop-control commands?
Which one of the following choices lists the three loop-control commands?
What is the result of executing this program code?
Consider the following program code:
1.$x = 100;
2.$y = “-25”;
3.$sum = $x + $y;
4.
5.print $sum;
What is the result of executing this program code?