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

Page 6 of 25

Consider the following statement
@array1 = (9, "A", 0..9, "PERL");
Given this statement, @array1 consists of how many elements?

  1. 13
  2. 4
  3. 12
  4. 16

Answer(s): A



Consider the following program code:
%_Nifty = (one, two, three, four);
@NiftyKeys = sort(keys(%_Nifty));
foreach(@NiftyKeys)
{
print ($_Nifty{$_} . );

}
What is the result of executing this program code?

  1. The code will output the following:
    one three
  2. The code will output the following:
    four two
  3. The code will output the following:
    two four
  4. The code will output the following:
    four one three two

Answer(s): C



Consider the following program code
@list - (10..15);
foreach(@list)
{
print("$_ ");
}
What is the result of executing this program code?

  1. The code will output the following
    $_ $_ $_ $_ $_
  2. The code will output the following
    11 12 13 14
  3. The code will output the following
    10 11 12 13 14
  4. The code will output the following
    10 11 12 13 14 15

Answer(s): D



In Perl, modules are used for which task?

  1. To organize packages.
  2. To provide code reusability.
  3. To separate code in a file.
  4. To create separate namespaces.

Answer(s): B






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

1D0-437 Discussions & Posts