CIW Course Revision Site
Sign up for PayPal and start accepting credit card payments instantly.

Tutor Marked Assignment PL TMA-11

In a Nutshell - CIW Course Section 2 Part B

PL TMA-11 - CD Access Code: 29175

Q1. One method of debugging is to use the print command at different intervals throughout the script. The positions where the print commands are used in this way are known as what?

Q2. Which switch is used to enable the code warning system in Perl?

Q3. The strict module requires that you declare references, variables and bare word identifiers. To do this you can use either the ________ function, the ________ vars pragma, or a fully ________ variable.

Q4. The Perl debugger can be used to troubleshoot compile-time errors.

Q5. Match the Perl debugger commands to the corresponding description of their function.

 

Q6. The semicolon does not serve as a statement terminator in Perl. A return must be placed at the end of all Perl statements to mark their termination

Q7. Which of the following are good-practice guidelines relating to the use of spacing in Perl scripts?

Q8. Aside from package names, it can be useful to use the ________ character to separate words within the names of variables, functions, etc.

Q9. When using the 'strict' pragma, which items can Perl enforce strict rules about?

Q10. What would be the correct syntax to run the Perl debugger on a script named 'pro1.pl'?

Design by Stephen

Certified Internet Webmaster

Page last Edited: 25 Nov 2011