Multiple Choice Identify the
choice that best completes the statement or answers the question.
|
|
1.
|
Alice is both ____ and ____.
a. | visual, virtual | c. | complex, simple | b. | object-oriented,
event-driven | d. | procedural,
complicated |
|
|
2.
|
A class of objects is a set of objects that each have the same ____.
a. | properties and methods | c. | instantiations | b. | classes and states | d. | name |
|
|
3.
|
Users interact with Alice through a(n) ____.
a. | object | c. | IDE | b. | class | d. | OOP |
|
|
4.
|
An event handler runs whenever the ____ occurs.
a. | condition | c. | method | b. | event trigger | d. | handler |
|
|
5.
|
The ____ turns and rotates an object in any direction.
a. | Rotate tool | c. | Vertical tool | b. | Turn tool | d. | Tumble tool |
|
|
6.
|
Messages that appear when the program is run are intended to ____.
a. | make the program easier to use | c. | make the program more space
efficient | b. | make the program more time efficient | d. | ensure the program meets
specifications |
|
|
7.
|
After dragging an object from the Scene Editor, what is the object’s
location?
a. | The center point of the world’s coordinate system. | b. | The location of the
cursor before the object was dragged. | c. | The location of the object when the person let
go of the mouse button. | d. | The upper left-hand
corner. |
|
|
8.
|
After dragging an object from the Scene Editor, what is the object’s
location?
a. | The center point of the world’s coordinate system. | b. | The location of the
cursor before the object was dragged. | c. | The location of the object when the person let
go of the mouse button. | d. | The upper left-hand
corner. |
|
|
9.
|
In a flowchart, ____ boxes mark the beginning and end of an algorithm
a. | circular | c. | oval | b. | square | d. | rectangular |
|
|
10.
|
Linear sequences must have ____.
a. | clearly stated entry and exit conditions, but they need not be
complete | b. | a complete set of instructions that may be in any order | c. | complete and correct
instructions in the proper order | d. | correct instructions, which may be
incomplete |
|
|
11.
|
A loop is also known as a(n) ____.
a. | circular sequence | c. | horseshoe sequence | b. | infinite sequence | d. | repetition
sequence |
|
|
12.
|
When you click the create new event button in the Event area, a menu showing
____ appears.
a. | all available worlds | c. | all event handlers | b. | the nine Alice event types | d. | all event
triggers |
|
|
13.
|
The Web Gallery ____.
a. | is an expensive add-on to Alice | b. | is required for the exercises in this
book | c. | requires an Internet connection | d. | has been installed on your computer as part of
Alice |
|
|
14.
|
Of the event types in Alice, ____ are more complex events.
|
|
15.
|
In the Ice Skater example in Chapter 4, without collision detection the ice
skater will ____.
a. | bounce off of other objects | b. | skate around other objects | c. | skate through other
objects | d. | collide with objects, causing the program to crash |
|
True/False Indicate whether the
statement is true or false.
|
|
16.
|
Most modern programming languages have an IDE that contains everything a
programmer needs to create and run computer programs.
|
|
17.
|
Zooming out means the item gets smaller in the screen.
|
|
18.
|
The values that functions return can sometimes be used like properties.
|
|
19.
|
The galleries are organized as a tree of folders that can only be navigated by
using the gallery navigation bar.
|
|
20.
|
When creating virtual worlds, the designers need not develop specifications for
the starting scene for the world.
|
|
21.
|
Footprint efficiency refers to the amount of memory the program uses.
|
|
22.
|
Debugging occurs whenever errors are exposed in the testing process.
|
|
23.
|
In the 1950s, two Italian mathematicians, Marco Pantani and Giuseppe Guerrini,
showed that all algorithms are composed of just four elements of logical structure.
|
|
24.
|
To implement a binary choice, place the instruction to be executed when the
condition is true below the word If, and the instruction to be executed if the condition is false
below the word Else.
|
|
25.
|
Computers sometimes round off numbers, especially if a long chain of
calculations occurs inside the computer.
|
|
26.
|
Parameters that are not often used can be accessed using the more button.
|
|
27.
|
A new software method can be unit tested by itself, or inside a testing shell
that simulates the environment in which it will run.
|
|
28.
|
Software developers avoid specializing in a particular kind of software.
|
|
29.
|
A series of binary branching routines can be layered so that only one true
answer is possible.
|
|
30.
|
When an event trigger detects the event, the event listener calls the event
handler.
|