Home > Articles > Graphics & Web Design > Dreamweaver & Flash

  • Print
  • + Share This
This chapter is from the book


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


  1. What is the difference between a command and a function?

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

  3. Name four important parts of a loop.

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

Quiz Answers

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

  2. 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. A loop has a start point, an end point, a condition test, and some contents.

  4. 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.

  • + Share This
  • 🔖 Save To Your Account