1D0-437 Exam - CIW PERL FUNDAMENTALS

certleader.com

New CIW 1D0-437 Exam Dumps Collection (Question 8 - Question 17)

New Questions 8

Which one of the following choices lists valid assertions that represent places within a string?

A. \b, \B, \x, \X

B. \A, \B, \Z, \G

C. \z, \Z, \g, \y

D. \Y, \X, \Z, \A

Answer: B


New Questions 9

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?

A. The code will output the following: 15 2 4 6 8 10 12 14 16 18 20 22 24

B. The code will output the following: 15 17 19 21 23 25

C. The code will fail at line 2 because $i is not initialized.

D. The code will output the following: 16 18 20 22 24

Answer: D


New Questions 10

Which of the following is a valid subroutine name?

A. _funct7

B. get-pass

C. #sub1

D. @passwd

Answer: A


New Questions 11

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?

A. W

B. X

C. Y

D. Z

Answer: D


New Questions 12

Assuming $a = 2, which of the following evaluates as false?

A. "False"

B. $a

C. $a < 0

D. 1

Answer: C


New Questions 13

Consider the following program code:

if ("Apple" gt "Pear")

{

print("True ");

}

else

{

print("False ");

}

if ("Banana" le "Banana")

{

print("True ");

}

else

{

print("False ");

}

What is the result of executing this program code?

A. False False

B. False True

C. True False

D. True True

Answer: B


New Questions 14

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?

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

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

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

D. The code will output the following: 2 4 1 3

Answer: B


New Questions 15

Which statement writes data to the filehandle OUTPUT?

A. print "Here's my data.\n" > OUTPUT

B. write OUTPUT "Here's my data.\n";

C. write OUTPUT ">Here's my data.\n";

D. print OUTPUT "Here's my data.\n";

Answer: D


New Questions 16

Consider the following command: perl runme.pl arg1 arg2 arg3

Given this command issued on the command line, what is the value of $#ARGV?

A. 0

B. 1

C. 2

D. 3

Answer: C


New Questions 17

Consider the following program code:

@array = ("ALPHA", "beta", "GaMmA");

sort(@array); print("@array");

What is the output of this code?

A. beta GaMmA ALPHA

B. ALPHA GaMmA beta

C. ALPHA beta GaMmA

D. beta ALPHA GaMmA

Answer: C


100% Most recent CIW 1D0-437 Questions & Answers shared by Thedumpscentre, Get HERE: http://www.thedumpscentre.com/1D0-437-dumps/ (New Q&As)