Perl Quiz (Set 20)

Perl (Set 10)

1 / 11

What is the purpose of the 'use warnings' pragma?

2 / 11

What is the difference between a subroutine and a function?

3 / 11

What is the purpose of the 'sub' keyword?

4 / 11

What is the difference between 'grep' and 'map'?

5 / 11

What is the purpose of the 'map' function?

6 / 11

What is the difference between 'scalar' and 'array' variables?

7 / 11

What is the purpose of the 'use strict' pragma?

8 / 11

What is the difference between 'die' and 'exit'?

9 / 11

What is the difference between 'while' and 'until' loops?

10 / 11

What is the Perl 'cmp' operator used for?

11 / 11

What is the purpose of the 'unless' statement?

Your score is

The average score is 0%

0%