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

Pass 1D0-437 Exam Guide

Page: 4 / 5
Question 16

Consider the following lines of code:

@array1 = ("apples", "oranges", "pears", "plums"); foreach (@array1)

{print "$_\n"};

What is the result of these lines of code?

Options:

A.

applesorangespearsplums

B.

apples oranges pears plums

C.

apples

D.

apples

oranges

pears

plums

Question 17

Consider that a file named test.txt contains this line of text:

One line of test text.

What is the output of the following lines of code?

$file = "test.txt";

open (OUT, "<$file") || (die "cannot open $file: $!");

seek(OUT, 15, 0);

read(OUT, $buffer, 5);

print $buffer . "\n";

print tell(OUT);

Options:

A.

t text

20

B.

t tex

19

C.

t text

19

D.

t tex

20

Question 18

Which of the following is a valid subroutine name?

Options:

A.

_funct7

B.

get-pass

C.

#sub1

D.

@passwd

Question 19

Consider the following program code:

$val = 5;

if ($val++ == 6)

{

print("True ");

}

else

{

print("False ");

}

if ($val++ == 6)

{

print("True ");

}

else

{

print("False ");

}

What is the output of this code?

Options:

A.

False False

B.

False True

C.

True False

D.

True True

Page: 4 / 5
Exam Code: 1D0-437
Exam Name: CIW PERL FUNDAMENTALS
Last Update: Nov 21, 2024
Questions: 149
1D0-437 pdf

1D0-437 PDF

$28  $80
1D0-437 Engine

1D0-437 Testing Engine

$33.25  $95
1D0-437 PDF + Engine

1D0-437 PDF + Testing Engine

$45.5  $130