Free 1D0-437 Exam Braindumps (page: 2)

Page 1 of 25

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?

  1. W
  2. X
  3. Y
  4. Z

Answer(s): D



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?

  1. The code will output the following
    15 2 4 6 8 10 12 14 16 18 20 22 24
  2. The code will output the following
    15 17 19 21 23 25
  3. The code will fail at line 2 because $i is not initialized.
  4. The code will output the following
    16 18 20 22 24

Answer(s): D



Which of the following choices demonstrates the correct syntax to pass the argument $arg2 to the subroutine getpass?

  1. getpass($arg2);
  2. call &getpass($arg2);
  3. sub &getpass($arg2);
  4. callgetpass($arg2);

Answer(s): A



Consider the following program code:
@array = ("ALPHA", "beta", "GaMmA");
@array = sort(@array);
print("@array");
What is the output of this code?

  1. betaGaMmA ALPHA
  2. ALPHAGaMmA beta
  3. ALPHA betaGaMmA
  4. beta ALPHAGaMmA

Answer(s): B






Post your Comments and Discuss CIW 1D0-437 exam with other Community members:

1D0-437 Discussions & Posts