최신CIW PERL FUNDAMENTALS - 1D0-437무료샘플문제
문제1
Which of the following choices demonstrates the correct syntax to pass a reference to a subroutine?
Which of the following choices demonstrates the correct syntax to pass a reference to a subroutine?
정답: A
문제2
Which one of the following choices lists valid assertions that represent places within a string?
Which one of the following choices lists valid assertions that represent places within a string?
정답: B
문제3
Consider the following code block:
BEGIN {print ("Jan ");}
BEGIN {print ("Feb ");}
END {print ("Mar ");}
END {print ("Apr ");}
Print ("May ");
What is the result of this code block?
Consider the following code block:
BEGIN {print ("Jan ");}
BEGIN {print ("Feb ");}
END {print ("Mar ");}
END {print ("Apr ");}
Print ("May ");
What is the result of this code block?
정답: B
문제4
Consider the following assignments:
$ x = 9
$ y = 7
$z = 5
Given these assignments, which one of the following expressions evaluates as true?
Consider the following assignments:
$ x = 9
$ y = 7
$z = 5
Given these assignments, which one of the following expressions evaluates as true?
정답: D
문제5
Consider the following program code:
@array = ("ALPHA", "beta", "GaMmA");
sort(@array);
print("@array");
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?
정답: B
문제6
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?
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?
정답: C