Home > MCQs > IT & Programming > Perl MCQs

Perl MCQ

Perl Quick Quiz

Question 1 of 10
  • In relation to Perl taint mode and @INC, which of the following command line options is used for adjusting @INC from outside the program?

    Answer & Explanation

    Correct Answer: -I

    Note: This Question is unanswered, help us to find answer for this one

  • Which of the following are Classes and Objects in Perl?

    Answer & Explanation

    Correct Answer: Dbmopen

    Note: This Question is unanswered, help us to find answer for this one

  • The overload module provides the following public functions?

    Answer & Explanation

    Correct Answer: All of the above

    Note: This Question is unanswered, help us to find answer for this one

  • Which function returns true if the named key exists in a Hash?

    Answer & Explanation

    Correct Answer: exists

    Note: This Question is unanswered, help us to find answer for this one

  • How would you output the list of keys in a hash?

    Answer & Explanation

    Correct Answer: keys %hash

    Note: This Question is unanswered, help us to find answer for this one

  • You may force yourself to declare your variables by:

    Answer & Explanation

    Correct Answer: including the 'use strict' pragma in your program

    Note: This Question is unanswered, help us to find answer for this one

  • In relation to identifier parsing in Perl, which of the following options is invalid?

    Answer & Explanation

    Correct Answer: $exp'nap'

    Note: This Question is unanswered, help us to find answer for this one

  • What does die() do?

    Answer & Explanation

    Correct Answer: Set the error code based on $! or $? if the exception is uncaught

    Note: This Question is unanswered, help us to find answer for this one

  • You can create a reference to an existing variable or subroutine by prefixing it with a:

    Answer & Explanation

    Correct Answer: \

    Note: This Question is unanswered, help us to find answer for this one

  • What does +>> signify in file handling?

    Answer & Explanation

    Correct Answer: read/append

    Note: This Question is unanswered, help us to find answer for this one

  • Perl Quick Quiz

    battery

    Poor Results!

    You need a lot of improvement.

    Just don't give up!

    Correct Answers: 0/10

    Start Practicing with our MCQs given below.

Related Skills Assessments
PHP
search
Related Skills Assessments
PHP