Multiple Choice Identify the choice that
best completes the statement or answers the question.
|
|
|
Case Based Critical
Thinking
Case 1
Sarah, an employee at General Lee’s Flower Delivery, has been asked
by her boss to create a way to gather customer shipping information more quickly using their website,
and Sarah has decided to use ActionScript to create variables that customers can fill out themselves.
Her boss has agreed, saying that the online forms should really cut down on the time that employees
spend on the phone taking orders and shipping information.
|
|
|
1.
|
What does Sarah need to specify
for each variable she creates?
a. | Name and data
type | b. | Expression and dynamic | c. | Input form and name | d. | Data and string
type |
|
|
|
2.
|
What is the name of the
variable in the code var
HomeAddress:String=”ShipInfo”
a. | Shipinfo | b. | var HomeAddress | c. | HomeAddress | d. | String |
|
|
|
3.
|
What sort of text field will
Sarah need to use in order for customers to enter their names and addresses?
a. | Dynamic | b. | Casted | c. | Number | d. | Input |
|
|
|
Case
2
Gerry has created a movie
clip and added it to the Library panel, but he is having trouble using it with ActionScript. He feels
like he might have forgotten to do something, but he can’t think of what it could be. He calls
his friend, Shane, for help.
|
|
|
4.
|
Shane tells Gerry that before
the clip can be used in ActionScript, it needs to be identified. How can this be
done?
a. | Saving the clip as an ActionScript
snippet | b. | Opening the Symbol Properties dialog box and choosing Export Clip to
ActionScript | c. | Turning on the Export for ActionScript feature found in the Symbol Properties
dialog box | d. | Choosing Export from the Tools panel and changing the extension of the clip
when it is exported |
|
|
|
5.
|
The first step Shane tells
Gerry to take is to open the Symbol Properties dialog box and check the Export for ActionScript check
box in the _____ area of the dialog box.
a. | Linkage | b. | Export file | c. | Save File | d. | Move From Library |
|
|
|
6.
|
Which of the following is a
feature that checks for any errors in the syntax of your coding?
a. | Spell
check | b. | Syntax check | c. | Check syntax | d. | Auto check |
|
|
|
7.
|
When writing AS3 code, what is
used to group actions?
|
|
|
|
|
|
8.
|
In the figure above, which
number refers to the Auto Format button?
|
|
|
9.
|
In the figure above, which
number refers to the Code Snippets button?
|
|
|
10.
|
Which of the following
statements concerning exporting movie clips for use in ActionScript is false?
a. | Objects placed on the Stage are
automatically included in a swf file. | b. | When a movie clip has been created and added to the Library panel it is not
yet ready to be used with ActionScript. | c. | To keep the file size down, objects in the Library are automatically included
in the swf file when the movie is published. | d. | The first step in the process is to open the Symbol
Properties dialog box and check the Export for ActionScript check box in the Linkage area of the
dialog box. |
|
|
|
11.
|
To ensure your ActionScript
will run correctly, do not include _____ in variable names.
a. | numbers | b. | spaces | c. | capital letters | d. | All of the above |
|
|
|
|
|
|
12.
|
In the figure above, which
number refers to the Script navigator pane?
|
|
|
13.
|
In the figure above, which
number refers to the Actions toolbox pane?
|
|
|
14.
|
Where can you find the Text
tool?
a. | Tools
panel | b. | History panel | c. | Selection panel | d. | Tools Selection panel |
|
|
|
15.
|
It is good practice to always
check _____ after typing code.
a. | variables | b. | compiled errors | c. | syntax | d. | structure |
|