最新的CIW PERL FUNDAMENTALS - 1D0-437免費考試真題
Which one of the following statements opens a file for appending?
正確答案: A
Which of the following choices demonstrates the correct syntax for creating a hash?
正確答案: C
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?
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?
正確答案: D
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?
正確答案: A
Which of the following accurately describes the roles of the Database Interface Module
(DBI) and the Database Driver Module (DBD)?
(DBI) and the Database Driver Module (DBD)?
正確答案: B
The filehandle INPUT is associated with the file represented by $file. Which statement will close the filehandle INPUT?
正確答案: A
Assume $sth is a valid statement handle. Which of the following correctly outputs the data from the first three columns of a result set?
正確答案: B
Consider the program code in the attached exhibit. What is the result of executing this program code?


正確答案: C