• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Workshop

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 = and ==?
A1: 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.
2:Can you access global variables inside a function?
A2: 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.
3:When you make a comparison, how many possible outcomes are there?
A3: Only two: true or false. Either the comparison works out, or it doesn't.
4:How many different types of loops are there in ActionScript?
A4: Three: the for loop, the do loop, and the while loop.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint