Official Bank 0/99

CIW Perl Fundamentals exam (1D0-437) - CIW Exam Questions

Last updated on June 20, 2026

97% Exam Compliance
99 Total Questions
1
Question
Consider the following program code:
@stack = (10, 10..25);
push(@stack, yellow);
shift(@stack);
push(@stack, white);
print shift(@stack);

What is the result of executing this program code?
Options
A The code will fail at line 3 because shift requires two arguments.
B The code will output the following:
C The code will output the following:
D The code will output the following:
11 10 white
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

2
Question
Consider the following program code:
%_Nifty = (one, two, three, four);
@NiftyKeys = sort(keys(%_Nifty));
foreach(@NiftyKeys)
{
}
print ($_Nifty{$_} . );

What is the result of executing this program code?
Options
A The code will output the following:
one three
B The code will output the following:
four one three two
C The code will output the following:
two four
D The code will output the following:
four two
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

3
Question
Consider the following program code:
if ("Apple" gt "Pear")
{
}
else
{
}
{
}
else
{
print("True ");
print("False ");
if ("Banana" le "Banana")
print("True ");
print("False ");
}

What is the result of executing this program code?
Options
A FalseFalse
B TrueTrue
C TrueFalse
D FalseTrue
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

4
Question
Consider the following program code:
if ("cool" =~ m/[cool]{4}/)
{
}
{
}
{
}
{
}
print("True ");
else
print("False ");
if ("cool" =~ m/[col]{4}/)
print("True ");
else
print("False ");

What is the output of this code?
Options
A FalseFalse
B TrueTrue 38/39
C True False
D False True
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

5
Question
The values function performs which task?
Options
A Generates a list of hash keys
B Reads the hash values into an array
C Returns the number of key/value pairs
D Generates a list of hash values
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

Finish Practice?

Are you sure you want to finish? This will end your practice session.