Sail E0 Webinar

MCQs

Total Questions : 25 | Page 3 of 3 pages
Question 21. How do you perform a forward declaration of a subroutine performed?
  1.    forward sub name
  2.    sub name
  3.    forward name
  4.    sub name {}
 Discuss Question
Answer: Option A. -> forward sub name




Question 22. The getdir command
  1.    Reads a single file name from an open directory handle
  2.    Reads the rest of the file names from an open directory handle
  3.    Only works after anopendir command
  4.    Is not a perl command
 Discuss Question
Answer: Option D. -> Is not a perl command




Question 23. What will display the list of warning messages regarding the code?
  1.    Strict pragma
  2.    The -w Command-line argument
  3.    Using the built-in debugger
  4.    None
 Discuss Question
Answer: Option C. -> Using the built-in debugger




Question 24. Which of these is NOT available for Perl
  1.    Perl, legally, for free
  2.    Individual and site licenses
  3.    Full documentation of the language which you can print out yourself
  4.    A Caribbean cruise in 2006 on which you can meet some of the Perl gurus
 Discuss Question
Answer: Option C. -> Full documentation of the language which you can print out yourself




Question 25. The "+= is which type of operator?
  1.    comparison operators
  2.    Arithmetic operators
  3.    Increment/ decrements operators
  4.    Assignment operators
 Discuss Question
Answer: Option D. -> Assignment operators




Latest Videos

Latest Test Papers