The quiz questions are designed to test your knowledge of the material covered in this hour . The answers to the questions follow.
What is the difference between = and == ?
A single equals symbol is an assignment. It is how you set a variable to a value. A double equals symbol is a test. It compares the values on either side.
Can you access global variables inside a function?
Yes. You can access global variables anywhere in that timeline. However, you can access local variables only in the code segment, such as a function, in which they appear.
When you make a comparison, how many possible outcomes are there?
Only two: true or false. Either the comparison works out, or it doesn't.
How many different types of loops are there in ActionScript?
Three: the for loop, the do loop, and the while loop.