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
Which statement will print the capital attribute of the $kansas object?
Options
A print ("capital"=>$kansas);
B print $kansas->{"capital"};
C print (capital)<={$kansas};
D print {$kansas}=>(capital);
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

2
Question
Consider the following program code
@array - (1..5);
print(shift(@array) .
print(shift(@array) .
print(pop(@array) .
print(pop(@array( .
" ");
" ");
" ");
" ");
push(@array, "SIX");
print(shift(@array) .
" ");
print(shift(@array) .
" ");

What is the result of executing this program code?
Options
A The code will output the following 1 2 5 4 SIX 3
B The code will output the following 5 4 1 2 SIX 3
C The code will output the following 1 2 5 4 3 SIX
D The code will output the following 5 4 1 2 3 SIX
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 ("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!

4
Question
Consider the following statement:
for ($count=0; $count < 5; $count++) {print "$count "}

What will be the output from the given statement?
Options
A 1 2 3 4 5
B 0 1 2 3 4
C 1 2 3 4
D 5 10 15 20 25
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

5
Question
Which of the following choices demonstrates the correct syntax to pass a reference to a subroutine?
Options
A \@array4;
B getpass{@array4};
C getpass(\@array4);
D @array4($ref);
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.