Perl Quiz (Set 2)

Perl (Set 2)

1 / 14

What is the difference between 'sort' and 'reverse'?

2 / 14

What is the purpose of the 'sub' keyword?

3 / 14

What is the purpose of the 'eval' function?

4 / 14

What is the purpose of the 'die' keyword?

5 / 14

What is the difference between 'scalar' and 'list' context?

6 / 14

What is the difference between 'local' and 'my' variables?

7 / 14

What is the purpose of the 'continue' statement?

8 / 14

What is the purpose of the 'break' statement?

9 / 14

What is the purpose of the 'foreach' loop?

10 / 14

What is the purpose of the 'for' loop?

11 / 14

What is the purpose of the 'do'...'while' loop?

12 / 14

What is the purpose of the 'while' loop?

13 / 14

What is the purpose of the 'and' and 'or' operators?

14 / 14

What is the difference between 'if' and 'unless'?

Your score is

The average score is 0%

0%