Workshop

I l @ ve RuBoard

The quiz questions are designed to test your knowledge of the material covered in this hour . The answers to the questions follow.

Quiz

1:

What is the difference between a command and a function?

A1:

Both commands and functions can perform various actions, but a function always returns some sort of value.

2:

If you created a variable and placed "7" inside it, what type of variable would it be?

A2:

It could be either a string with one character, the digit 7, or it could be an integer with the number 7. Because the question placed quotes around the "7", it is more likely that it is referring to a string.

3:

Name four important parts of a loop.

A3:

A loop has a start point, an end point, a condition test, and some contents.

4:

Should good programmers be able to write bug-free code?

A4:

Even a good programmer will have some bugs in her program when it is first complete. However, a good programmer will also test the code and use debugging techniques to eliminate these bugs before finishing.

I l @ ve RuBoard


Sams Teach Yourself Flash MX ActionScript in 24 Hours
Sams Teach Yourself Flash MX ActionScript in 24 Hours
ISBN: 0672323850
EAN: 2147483647
Year: 2002
Pages: 272

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net