True/False Indicate whether the
statement is true or false.
|
|
|
1.
|
ActionScript includes an if
action that can test whether certain conditions have been met and, if so, can perform other
actions.
|
|
|
2.
|
Tracking interactions can
provide you with insight on the way people work with your site or application.
|
|
|
3.
|
An else statement lets you specify one set of actions
to run if a condition is true, and an alternate set to run if the condition is
false.
|
|
|
4.
|
To create an email link,
include mailto: and then the email address in the URL field of the URLRequest
statement.
|
|
|
5.
|
Using ActionScript, you can
track user interactions and offer feedback based on the data you gather.
|
Multiple Choice Identify the choice that
best completes the statement or answers the question.
|
|
|
Case Based Critical
Thinking
Case 1
Brett and Saloni have been asked by their boss to improve the look of the
company website. Because the How-Hi Pogo Stick company specializes in old-fashioned pogo sticks, the
two designers decide to create a custom cursor that looks like their product.
|
|
|
6.
|
After designing the look for
their custom cursor, what is the first thing they need to do in order to implement
it?
a. | Use the Mouse.show method to import
it to the Stage | b. | Hide the regular cursor | c. | Save the new cursor as an .fls
file | d. | None of the above |
|
|
|
7.
|
Saloni says that they need to
set up an event listener. What is that?
a. | An event listener
“listens” for when the mouse moves. When the mouse moves, a function is called which
causes the custom cursor to follow the hidden cursor. | b. | It is code that tracks the a and b movements of the
mouse. | c. | It “listens” for when the regular cursor and the custom cursor are
out of phase. | d. | It is code that sets the custom cursor’s coordinates to match those of
the regular cursor. |
|
|
|
Case
2
Jules is new to the idea
of conditional actions, but it has become clear that she will need to learn about them before she can
finish the code she is currently working on. She calls her best friend, Sanjay, a Flash game designer
who works with them all the time.
|
|
|
8.
|
Jules needs to create code that
keeps track of incorrect answers when the user takes a quiz. The quiz will let the user take as many
guesses as needed in order to get to the right answer, but the number of incorrect guesses will
reflect on the final quiz score. Sanjay says that a _____ might be a good
solution.
a. | counter | b. | conditional counter | c. | conditional loop | d. | branch |
|
|
|
9.
|
Jules needs a series of actions
to run while a condition is true. What sort of loop might Sanjay suggest for
her?
a. | if,
then | b. | while, do while | c. | else, but | d. | after, for |
|
|
|
10.
|
Several of the conditions Jules
needs to use have more than two possible states. What statement does Sanjay suggest for her to use in
order to set up a series of possible branches?
a. | else | b. | else if | c. | if then | d. | while |
|
|
|
11.
|
What class can be used with the
addChild method to load an external movie, graphic, text block, or sound?
a. | Finder | b. | Splitter | c. | Loader | d. | Relative |
|
|
|
|
|
|
12.
|
In the figure above, what is
the purpose of the second line of code?
a. | The second line clears the password
that the user typed in the pwEntered input text box. | b. | The second line subtracts the value of n from
3, concatenates it with Sorry ... tries left, and places the text string in the tries dynamic
text box. | c. | The second line increments the variable n by
1. | d. | None of the above |
|
|
|
13.
|
In the figure above, what is
the purpose of the third line of code?
a. | The third line subtracts the value
of n from 3, concatenates it with Sorry ... tries left, and places the text string in
the tries dynamic text box. | b. | The third line clears the password that the user typed in the pwEntered input text
box. | c. | The third line sets up a powered loop named
Entered. | d. | The third line increments the variable n by
1. |
|
|
|
14.
|
In order to be made into a
custom cursor, the graphic, photograph, or animation must be a(n) _____.
a. | JPEG | b. | movie clip symbol | c. | vector graphic | d. | flattened image |
|
|
|
15.
|
Which piece of code creates a
conditional statement that says if mySquare is dropped on targetSquare
then complete the following lines of code?
a. | if (targetSquare.dropTarget.parent
== mySquare) | b. | else (mySquare.dropTarget.parent
== targetSquare) | c. | if (mySquare.dropTarget.parent
== targetSquare) | d. | if (mySquare.dropTarget.parent
= targetSquare) |
|