Winter Sale Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: v4s65

1D0-437 Exam Dumps - CIW PERL FUNDAMENTALS

Go to page:
Question # 9

Which of the following accurately describes the roles of the Database Interface Module (DBI) and the Database Driver Module (DBD)?

A.

DBI transmits instructions to a database; DBD directs method calls to DBI.

B.

DBD transmits instructions to a database; DBI directs method calls to DBD.

C.

DBI makes available database-specific code; DBD transmits method calls to DBI.

D.

DBD makes available database-specific code; DBI translates method calls to DBD.

Full Access
Question # 10

Consider the following code:

%hashA = ("alpha", "beta", "gamma", "alpha");

%hashA = reverse(%hashA);

print $hashA{"alpha"};

What is the result of executing this code?

A.

The code outputs the following:

alpha

B.

The code outputs the following:

beta

C.

The code outputs the following:

gamma

D.

The code fails at line 3.

Full Access
Question # 11

Consider the following program code:

%color = (sun => yellow, apple => red);

reverse(%color);

@colorKeys = sort(keys(%color));

foreach(@colorKeys)

{

print($color{$_} . );

}

What is the result of executing this program code?

A.

The code will output the following:

apple sun

B.

The code will output the following:

sun apple

C.

The code will output the following:

red yellow

D.

The code will output the following:

apple red sun yellow

Full Access
Question # 12

Consider the program code in the attached exhibit. What is the result of executing this program code?

A.

The code will output the following:

20 100 Apple Grapefruit Orange

B.

The code will output the following:

Apple Grapefruit Orange 20 100

C.

The code will output the following:

100 20 Apple Grapefruit Orange

D.

The code will output the following:

Orange Grapefruit Apple 100 20

Full Access
Question # 13

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

Full Access
Question # 14

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.

arg1

B.

runme.pl

C.

arg1 arg2 arg3

D.

2

Full Access
Question # 15

The filehandle INPUT is associated with the file represented by $file. Which statement will close the filehandle INPUT?

A.

close (INPUT, $file);

B.

closeINPUT;

C.

INPUT(close, $file);

D.

close(INPUT);

Full Access
Question # 16

Consider the following program code:

$Animal = Dogs bark;

package Cat;

$Animal = Cats purr;

{

package Fish;

$Animal = Fish swim;

}

package main;

print $Animal;

What is the result of executing this program code?

A.

The code will fail at line 4.

B.

The code will output the following:

Dogs bark

C.

The code will output the following:

Cats purr

D.

The code will output the following:

Fish swim

Full Access
Go to page: