200+ TOP PERL Online Quiz Questions – Exam Test

PERL Online Test and Answers Pdf Download :-

These are very useful & Most Asked Questions in your certification Exam. Read all Online Mock Test Exam Question Bank for Beginners Freshers & Experienced.

1) Arrays are denoted by _______in Perl.
A. @
B. %
C. $
D. #
Answer: A

2)Scalar is denoted by_______in Perl.
A. #
B. $
C. %
D. ^
Answer: B

3)Does Perl have objects?
A. Yes
B. No
Answer: A

4)What will display the list of warning messages regarding the code?
A. Strict pragma
B. The -w Command-line argument
C. Using the built-in debugger
Answer: B

5)When the “require” function loads?
A. Runtime
B. Compile time
C. Both
Answer: A

6)The “+=” is which type of operator?
A. comparison operators
B. Arithmetic operators

C. Increment/ decrement operators
D. Assignment operators
Answer: D

7)Select comparison operator from the options.
A. *=
B. &&
C. !=
D. =
Answer: C

8)Scalar stores –
A. Multiple value
B. Single value
C. Double value
D. Float value
Answer: B

PERL Objective type Questions with Answers

9)The “%” is used for
A. Scalar variables
B. Hash variable
C. Arrays
D. Subroutines
Answer: B

10)What is used to identify the Subroutine?
A. @
B. $
C. &
D. #
Answer: C

PERL Objective Questions
PERL MCQs

11)What is ‘->’ symbol?
A. Postfix dereference operator

B. Prefix dereference operator
C. Infix dereference operator
D. None of this
Answer: C

12)Can we load binary extension dynamically?
A. Yes
B. No
Answer: A

13)Select the option which allows the user to scroll through the entire program line by line in Perl.
A. Using the strict pragma
B. Using the built-in debugger
C. Using the string pragma
D. Using the built-in error
Answer: B

14)Command line arguments in Perl are stored in
A. Scalar
B. Resource
C. Array
D. Hash
Answer: C

15)Select data type in Perl which stores associative arrays.
A. Resource
B. Scalar
C. Hash
D. Array
Answer: C

PERL Questions and Answers pdf Download