CIW Course Revision Site

Tutor Marked Assignment PL TMA-01

In a Nutshell - CIW Course Section 2 Part B

PL TMA-01 - CD Access Code: not required

Q1. What does "Perl" stand for?

Q2. The Perl Interpreter on your workstation must be ________ with the platform you are using or it will not be able to read the Perl language.

Q3. Which of the following statements are correct?

Q4. The shebang line is a Perl statement that specifies where the Perl interpreter can be found on your system.

Q5. Which of the following Perl statements uses the correct syntax to display the text "Hello World" on the screen?

Q6. All meta-characters begin with which character?

Q7. A scalar variable is always named beginning with which character?

Q8. The equals sign is a unary operator.

Q9. Which type of operator is the minus sign (-)?

Q10. What would be displayed by the following Perl statement?

print ("29" + 17);

Q11. What is STDIN?

Q12. What character is automatically appended to user input retrieved from STDIN?

Q13. Which Perl function strips the automatically appended character from the end of user input retrieved by STDIN?

Q14. When retrieving a line of user input, which characters should enclose STDIN?

Q15. Perl is often used by Web developers to create CGI applications. What does "CGI" stand for?

Design by Stephen

Certified Internet Webmaster

Page last Edited: 25 Nov 2011