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

Page 8 of 25

Consider the following expression $modresult - 33 % 11; What is the value of $modresult in the expression?

  1. 1
  2. 3
  3. 0
  4. -3

Answer(s): C



Consider the following program code
@array - (1..5);
print(shift(@array) . " ");
print(shift(@array) . " ");
print(pop(@array) . " ");

print(pop(@array( . " ");
push(@array, "SIX");
print(shift(@array) . " ");
print(shift(@array) . " ");
What is the result of executing this program code?

  1. The code will output the following
    1 2 5 4 SIX 3
  2. The code will output the following
    5 4 1 2 3 SIX
  3. The code will output the following
    1 2 5 4 3 SIX
  4. The code will output the following
    5 4 1 2 SIX 3

Answer(s): C



Which one of the following statements uses correct syntax and expressions?

  1. do (print "Hello $a") until ($a = 10);
  2. do {$a++} until {$a == $b}\;
  3. do {$in = $in++} while ($in < 100);
  4. do ($a++) until ($b = $a);

Answer(s): C



Which one of the following choices will replace all occurrences of the word perl with the word Perl?

  1. s/Perl/perl/l;
  2. s/"perl"/Perl"/g;
  3. s/"perl"/"Perl"/;
  4. s/perl/Perl/g;

Answer(s): D






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

1D0-437 Discussions & Posts