You Scored:
Ranking:
Past Papers MS Word Questions Answers
1. Command line arguments in Perl are stored in?
Scalar
Hash
Resource
Array (Answer)
2. The “%” is used for?
Subroutines
Arrays
Hash variable (Answer)
Scalar variables
3. When the “require” function loads?
Runtime (Answer)
Both
Compile time
All of these
4. Scalar is denoted by-------in Perl?
^
#
%
$ (Answer)
5. What will display the list of warning messages regarding the code?
Strict pragma
None of them
Using the built-in debugger
The -w Command-line argument (Answer)
6. Select data type in Perl which stores associative arrays?
Hash (Answer)
Resource
Array
Scalar
7. Perl is?
A type of interactive web page
An application program
A programming language (Answer)
A relational database
8. What is ‘->’ symbol?
Postfix dereference operator
None of this
Prefix dereference operator
Infix dereference operator (Answer)
9. Does Perl have objects?
No
Yes (Answer)
10. Can we load binary extension dynamically?
No
Yes (Answer)