1D0-437 無料問題集「CIW PERL FUNDAMENTALS」

Which of the following choices demonstrates the correct syntax for creating a hash?

Which keyword indicates an object reference rather than a variable reference?

Consider the following lines of code:
1 .$playerStr = "Today's player is Bob Petit.";
2 .if($playerStr =~ /[Ruth|Gehrig|DiMaggio]/) {
3 . $game = "Baseball";
4 .}else{
5 . $game = "Basketball";
6 .}
7 .print $game;
What is the output of these lines of code?

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?

Consider the following program code:
$val = 5;
if ($val++ == 6)
{
print("True ");
}
else
{
print("False ");
}
if ($val++ == 6)
{
print("True ");
}
else
{
print("False ");
}
What is the output of this code?

Consider the following program code:
print(1 );
BEGIN { print(2 ); }
END { print(3 ); }
BEGIN { print(4 ); }
END
{
package MyPackage;
print(5 );
}
What is the result of executing this program code?

Which of the following correctly creates a SQL statement that will insert the values of the
$ name and $age variables into a database? The statement is assigned to the $sqlStmt variable. Assume a CHAR data type for $name and an INT data type for $age.

Consider the following program code:
$y = 1;
$x = 2;
$z = 3;
do
{
print ($y );
} while ($y eq 2);
do
{
print ($x );
} until ($x eq 2);
print ($z );
What is the result of executing this program code?

Consider the following lines of code:
sub mySub {
($arg, @args) = @_;
foreach $val (@args) {
$returnVal .= "$arg, $val\n";
}
$returnVal . "" . @args;
}
print &mySub(1, "a value", "another value", "a parameter", "another parameter");
What is the output of these lines of code?

Yngve wants to define a character class that includes any alphanumeric word characters.
Which one of the following choices is best suited for this requirement?

弊社を連絡する

我々は12時間以内ですべてのお問い合わせを答えます。

オンラインサポート時間:( UTC+9 ) 9:00-24:00
月曜日から土曜日まで

サポート:現在連絡