Name:     ID: 
 
Email: 

Alice Advanced Quiz 2

True/False
Indicate whether the statement is true or false.
 

 1. 

A while statement without a falsifiable condition will create an infinite loop.
 

 2. 

The for statement is a more general flow-control structure than the while statement.
 

 3. 

The list methods menu does not allow you to set the value of a list to another list.
 

 4. 

To remove the first item from a list, you can use the remove(0) method.
 

 5. 

Alice provides a wide variety of predefined operations for array variables.
 

 6. 

The forAllInOrder statement goes through the items in a list from last to first.
 

 7. 

Alice will not let you access the upperBody component of an item from a list.
 

 8. 

If 3D text objects are to be fixed in place in front of the camera, they should be the first objects you add to a world or scene.
 

 9. 

Alice provides built-in transitional effects.
 

 10. 

Edge wipe effects are transitions in which one or more edges move across the screen to hide the end of one scene and expose the beginning of the next scene.
 

Multiple Choice
Identify the choice that best completes the statement or answers the question.
 

 11. 

If the value of testScore is ____ the condition below produces a value of false.

     testScore < 0 || testScore > 100
a.
-100
c.
0
b.
-1
d.
101
 

 12. 

In Alice, a(n) ____ statement is a flow control statement that directs flow according to the value of a condition.
a.
doTogether
c.
select
b.
doInOrder
d.
if
 

 13. 

The ____ statement directs a program’s flow through the statements within it, while counting through a range of numbers.
a.
doTogether
c.
for
b.
if
d.
doInOrder
 

 14. 

Mathematicians have discovered that many of the spirals that occur in nature use a pattern given in the ____ series.
a.
Fibonacci
c.
Church
b.
Goedel
d.
Pythagorean
 

 15. 

Each item in a list has a ____ by which it can be accessed.
a.
marker
c.
position
b.
flag
d.
handle
 

 16. 

To determine whether a list is empty, we can compare its ____ to zero.
a.
address
c.
size
b.
name
d.
type
 

 17. 

If you wish to generate an integer using Random.nextDouble(), be sure to set the integerOnly attribute to ____.
a.
true
c.
1
b.
false
d.
0
 

 18. 

The components of an Alice Object are ____.
a.
attributes
c.
properties
b.
objects
d.
classes
 

 19. 

An action by the user (or the program) that causes a change in the program is called a(n) ____.
a.
definition
c.
event
b.
declaration
d.
instantiation
 

 20. 

The ____ event is triggered by the program.
a.
While a key is pressed
b.
When the mouse is clicked on something
c.
While the world is running
d.
When a variable changes
 

 21. 

Making programs easy to use is an important aspect of programming known as ____.
a.
reliability
c.
quality assurance
b.
usability
d.
extensibility
 

 22. 

To make a 3D text object move with the camera, set the text object’s ____ property to camera.
a.
vehicle
c.
pointOfView
b.
skin texture
d.
font
 

 23. 

In a transition called a ____, the camera instantaneously jumps from the end of one scene to the beginning of the next scene.
a.
segue
c.
sweep
b.
cut
d.
join
 

 24. 

In a complementary pair of methods, one method “____” the actions of the other.
a.
enhances
c.
undoes
b.
defines
d.
reinforces
 

 25. 

In a ____ effect, an entire screen gradually darkens until it is completely black, and then lightens, exposing a new scene.
a.
dissolve
c.
diminish
b.
vanish
d.
fade
 



 
         Start Over