Home C C++ Java Python Perl PHP SQL JavaScript Linux Selenium QT Online Test

Home » Perl Objective Questions

Perl Objective Questions - 17


Question: 1

(A) /^a/
(B) /@a/
(C) /$a/
(D) /~a/

Level: Beginner Category of MCQ: regularexpressions


Question: 2

(A) /a?bc/
(B) /a~bc/
(C) /a'bc/
(D) /ab?c/

Level: Beginner Category of MCQ: regularexpressions


Question: 3

(A) /a*c/
(B) /a.c/
(C) /a_c/
(D) /a?c/

Level: Beginner Category of MCQ: regularexpressions


Question: 4

(A) push @arr ($x)
(B) push @arr $x
(C) push $x @arr
(D) push @arr, $x

Level: Beginner Category of MCQ: arrays


Question: 5

(A) die["Error detected!"]
(B) die "Error detected!"
(C) die $"Error detected!"
(D) exit; "Error detected!"

Level: Beginner Category of MCQ: other


Question: 6

(A) Yes
(B) No

Level: Practionar Category of MCQ: variables


Question: 7

(A) Scalar
(B) Hash
(C) Resource
(D) Array

Level: Beginner Category of MCQ: arrays


Question: 8

(A) $
(B) #
(C) %
(D) ^

Level: Beginner Category of MCQ: other


Question: 9

(A) Scalar Variables
(B) Has Variables
(C) Arrays
(D) Subroutines

Level: Beginner Category of MCQ: variables


Question: 10

(A) #
(B) $
(C) @
(D) %

Level: Beginner Category of MCQ: arrays


Question: 11

(A) An application program
(B) A relation database
(C) A type of interat
(D) A programming language

Level: Beginner Category of MCQ: other


Question: 12

(A) &&
(B) ||
(C) !=
(D) =

Level: Beginner Category of MCQ: other


Question: 13

(A) Arithematic Operator
(B) Comparision Operator
(C) Increment/Decrement Operator
(D) Assignment Operator

Level: Beginner Category of MCQ: operators


Question: 14

(A) &
(B) $
(C) #
(D) @

Level: Practionar Category of MCQ: other


Question: 15

(A) Array
(B) Hash
(C) Scalar
(D) Resource

Level: Practionar Category of MCQ: other


Question: 16

(A) else if
(B) elsif
(C) elseif
(D) elif

Level: Beginner Category of MCQ: conditional


Question: 17

(A) Arrays
(B) Single Value
(C) Float Values
(D) Hashes

Level: Beginner Category of MCQ: variables