Home / Programming Questions / Perl MCQs / Page 4

Perl MCQs with answers Page - 4

Dear candidates you will find MCQ questions of Perl here. Learn these questions and prepare yourself for coming examinations and interviews. You can check the right answer of any question by clicking on any option or by clicking view answer button.
Share your questions by clicking Add Question

N

Nisha Gupta • 2.32K Points
Master

Q. Encapsulation is also known as?

(A) Polymorphism
(B) Method overloading
(C) Data hiding
(D) None of these

N

Nisha Gupta • 2.32K Points
Master

Q. Which function is used by perl for reversing a string?

(A) rev
(B) reverse
(C) split
(D) substr

N

Nisha Gupta • 2.32K Points
Master

Q. Scalar stores

(A) Multiple value
(B) Single value
(C) Double value
(D) Float value

N

Nisha Gupta • 2.32K Points
Master

Q. When you're pattern matching, you describe the pattern using 

(A) A string in double quotes
(B) A MySQL select statement
(C) A regular expression
(D) A template

N

Nisha Gupta • 2.32K Points
Master

Q. When the "require" function loads?

(A) Runtime
(B) Compile time
(C) Both
(D) None

N

Nisha Gupta • 2.32K Points
Master

Q. Which of the following statement repeats a statement or group of statements until a given condition becomes true. It tests the condition before executing the loop body?

(A) while
(B) until
(C) for
(D) none of the above

N

Nisha Gupta • 2.32K Points
Master

Q. What is the facility that allows nesting one select statement into another?

(A) nesting
(B) binding
(C) subquerying
(D) encapsulating

N

Nisha Gupta • 2.32K Points
Master

Q. The Perl DBI is _____________

(A) database inheritance
(B) database integrity
(C) database interface
(D) database isolation

Login

Forgot username? click here

Forgot password? Click here

Don't have account? Register here.