Home / Programming Questions / Perl MCQs / Page 6
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
T
Q. Is boolean type provided in Perl?
T
Q. What will be the output of the following Perl code?
$m = 2; if ($m){ print "True"; } else{ print "False"; }
T
Q. Which of these is the 'True' value in Perl?
T
Q. Which of the following is a type of operator in Perl?
T
Q. Logical operators in Perl are ___.
T
Q. The result of the following operation is
100 << 3
T
Q. Which of the following is a valid assignment operator in Perl?
T
Q. What will be the output of the following Perl code?
$val1 = 5; $val2 = 10; $result = $val1 == $val2 ? $val1 : $val2; print "$result"
Don't have account? Register here.