You Scored:
Ranking:
Past Papers PERL MCQs Questions Answers
1. The statement open (FH,"abc.txt")?
contains an error, so won't compile
opens the file abc.txt for appending
opens the file abc.txt for overwriting
opens the file abc.txt for reading (Answer)
2. What is Perl?
Practice for Exclusive and Report Language
Practical Extraction and Report Language (Answer)
Practical Extraction and Report Learning
Practical Exclusive and Report Language
3. Select the option which allows the user to scroll through the entire program line by line in Perl?
Using the built-in debugger (Answer)
Using the strict pragma
Using the built-in error
Using the string pragma
4. Select comparison operator from the options?
&&
*=
!= (Answer)
=
5. Arrays are denoted by -------in Perl?
@ (Answer)
%
$
#
6. Which of these is NOT available for Perl?
Full documentation of the language which you can print out yourself (Answer)
A Carribean cruise in 2006 on which you can meet some of the Perl gurus
Perl, legally, for free
Individual and site licenses
7. The “+=” is which type of operator?
Arithmetic operators
Assignment operators (Answer)
Comparison operators
Increment/ decrement operators
8. Scalar stores?
Multiple value
Double value
Float value
Single value (Answer)
9. What is used to identify the Subroutine?
@
& (Answer)
#
$
10. Which of the following is used in perl?
elseif
elif
else if
elsif (Answer)