CIW 1D0-437 CIW Perl Specialist Exam Practice Test

Page: 1 / 14
Total 169 questions
Question 1

Which one of the following choices is a unary operator that can apply to only a single variable?



Answer : A


Question 2

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



Answer : C


Question 3

The values function performs which task?



Answer : B


Question 4

Consider the following program code:

@array = (10, Masami, 10..13, Niklas);

for ($i = 1; $i < $#array; $i++)

{

print($array[$i] );

}

What is the result of executing this program code?



Answer : A


Question 5

Consider the following assignments

$x = 9

$y = 7

$z = 5

Given these assignments, which of the following expressions evaluates as true?



Answer : C


Question 6

Consider the following program code:

@arrayA = (10, 20, 30);

@arrayB = @arrayA;

$arrayB[1] = 40;

print $arrayA[1];

What is the output of this code?



Answer : B


Question 7

Which of the following tasks is the least effective in reducing errors in Perl scripts?



Answer : D


Page:    1 / 14   
Total 169 questions