Perl Quiz (Set 1)

Perl (Set 1)

1 / 14

In Perl, what does the 'redo' statement do within a loop?

2 / 14

Which operator is used for the logical NOT in Perl?

3 / 14

In Perl, what does the 'each' function do?

4 / 14

What is the purpose of the 'map' function in Perl?

5 / 14

In Perl, how do you remove an element from an array?

6 / 14

What is the purpose of the 'values' function in Perl?

7 / 14

In Perl, how do you declare a hash?

8 / 14

What is the Perl 'ge' operator used for?

9 / 14

In Perl, what does the 'goto' statement do?

10 / 14

A scalar variable can hold

11 / 14

The statement $myvar = <STDIN>

12 / 14

If $a = “Ape” and $b = 3 the result of $a x $b is

13 / 14

A function that requires a list argument can take an array but a function that requires an array argument cannot take a list. True or False

14 / 14

Value of $expr = 1 + 2 * 3 – 4 is

Your score is

The average score is 0%

0%