True/False Indicate whether the
statement is true or false.
|
|
1.
|
Comments are compiled by Alice.
|
|
2.
|
Alice does not allow objects to be reused in different worlds.
|
|
3.
|
An object’s shape determines its location within the 3D world.
|
|
4.
|
Method variables are names defined within a method that refer to locations in
program memory.
|
|
5.
|
The initial value is the value a variable contains when a method begins.
|
|
6.
|
The World’s functions pane provides the same
set of function-messages that are sent to an object.
|
|
7.
|
An object variable is defined within a method.
|
|
8.
|
You may define a function in Alice.
|
|
9.
|
A value that you pass to an object via a message is called an argument.
|
|
10.
|
An object’s default vehicle is the ground.
|
|
11.
|
The list methods menu does not allow you to set the value of a list to another
list.
|
|
12.
|
The forAllInOrder statement goes through the items in
a list from last to first.
|
|
13.
|
Alice provides built-in transitional effects.
|
|
14.
|
Escape sequences cannot be used in String
literals.
|
|
15.
|
All objects of a class share a class variable.
|
|
16.
|
The System.in class does not provide methods for
reading numbers.
|
|
17.
|
All syntax errors in a program must be fixed before you can run it.
|
Multiple Choice Identify the
choice that best completes the statement or answers the question.
|
|
18.
|
In the context of a storyboard-sketch, an object’s ____ indicates which
direction it is facing.
a. | orientation | c. | position | b. | viewpoint | d. | pose |
|
|
19.
|
The ____ menu at the top of the Alice window lets you examine your world’s
statistics and error console.
a. | File | c. | Help | b. | Edit | d. | Tools |
|
|
20.
|
To alter the style in which Alice displays a program, click the ____ menu,
followed by the Preferences choice, and Alice will display the Preferences window.
a. | Tools | c. | Help | b. | File | d. | Edit |
|
|
21.
|
Any statements you place within the ____ control will be performed in the order
they appear, top-to-bottom.
a. | forAllTogether | c. | forAllInorder | b. | doTogether | d. | doInOrder |
|
|
22.
|
When the program performs a(n) ____ statement, all statements within it are
performed simultaneously.
a. | loop | c. | doTogether | b. | while | d. | doInOrder |
|
|
23.
|
The ____ view in Alice provides the world window, plus views from the top,
right, and front of the scene.
a. | universal | c. | quad | b. | global | d. | local |
|
|
24.
|
When you click the Save button to store an object,
Alice saves the object in a special alice-2.0-____ file.
a. | object | c. | image | b. | class | d. | binary |
|
|
25.
|
To render an object invisible, set its ____ to 0 in the properties pane.
a. | fillingStyle | c. | opacity | b. | skin
texture | d. | vehicle |
|
|
26.
|
Every object in a 3D world has ____ attributes that determine its position and
orientation in the world.
|
|
27.
|
The amount by which an object has rotated about its FORWARD-BACKWARD axis
(compared to its original position) is called the object’s ____.
a. | pitch | c. | roll | b. | variation | d. | deviation |
|
|
28.
|
When you ____ a variable, you provide Alice with a name, type, and initial
value.
a. | extend | c. | define | b. | hide | d. | destroy |
|
|
29.
|
In Alice, a(n) ____ variable type is used to store numeric information.
a. | Integer | c. | Double | b. | Number | d. | Long |
|
|
30.
|
The____ function returns the distance from the center of one object to the
center of the other object.
a. | distanceInFrontOf() | c. | distanceTo() | b. | distanceAbove() | d. | distanceBelow() |
|
|
31.
|
A roll() message requires two arguments: the
direction the object is to roll and the ____ of the roll.
a. | yaw | c. | duration | b. | pitch | d. | amount |
|
|
32.
|
The value the function produces is whatever value appears in the
function’s ____.
a. | parameter list | c. | name | b. | return
statement | d. | storage
class |
|
|
33.
|
If the value of testScore is ____ the condition below
produces a value of false.
testScore < 0 ||
testScore > 100
|
|
34.
|
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 |
|
|
35.
|
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 |
|
|
36.
|
Each item in a list has a ____ by which it can be accessed.
a. | marker | c. | position | b. | flag | d. | handle |
|
|
37.
|
If you wish to generate an integer using Random.nextDouble(), be sure to set the integerOnly
attribute to ____.
|
|
38.
|
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 |
|
|
39.
|
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 |
|
|
40.
|
____ comments begin with // and end at the end of that line.
a. | Inline | c. | Block | b. | External | d. | C-style |
|
|
41.
|
Unlike division with real numbers, integer division produces two distinct
results: the ____, and the remainder.
a. | divisor | c. | dividend | b. | product | d. | quotient |
|
|
42.
|
A reference type variable whose value is ____ does not refer to any
object.
a. | zero | c. | void | b. | null | d. | the empty String
(“”) |
|
|
43.
|
Operator ____ determines the order in which operators with the same priority are
performed.
a. | precedence | c. | transitivity | b. | relativity | d. | associativity |
|
|
44.
|
____ provide a way to make a computation reusable.
a. | Methods | c. | Constants | b. | Variables | d. | Comments |
|
|
45.
|
To send messages to objects, you must learn how to define ____ methods.
a. | static | c. | private | b. | instance | d. | class |
|
|
46.
|
When you declare a class, a variable, a constant, or a method, you are telling
the Java compiler that word’s ____ in the program.
a. | position | c. | meaning | b. | status | d. | path |
|
|
47.
|
The ____ type is used to store sequences of characters.
a. | Text | c. | Character | b. | String | d. | Byte |
|
|
48.
|
A(n) ____ variable can have either of just two values: true
or false.
a. | Number | c. | Object | b. | String | d. | Boolean |
|
|
49.
|
If you wish to generate an integer using Random.nextDouble(), be sure to set the integerOnly
attribute to ____.
|
|
50.
|
An object that can appear or disappear at the press of a key is following the
pattern of ____.
a. | the Cauchy sequence | c. | two-state behavior | b. | random selection | d. | the Fibonacci
numbers |
|