You are on page 1of 28

1.

In Alice,
procedural Mark for Review
abstraction is the (1) Points
concept of
making code
easier to
understand and
reuse. True or
false?

True (*)
False

Correct

2. Breaking down a
problem or Mark for Review
process into (1) Points
smaller parts
makes it easier
to manage. True
or false?

True (*)
False

Incorrect.
Refer to
Section 2
Lesson 5.

3. Which Alice tool


is used to Mark for Review
demonstrate the (1) Points
process flow of
an animation?

Flowchart
(*)
World
Visual
storyboard
Textual
storyboard
Pie chart

Correct

4. The delay
procedure in Mark for Review
Alice halts an (1) Points
object's motion
before the next
motion begins.
True or false?
True (*)
False

Correct

5. In Alice, each
class has a set of Mark for Review
pre-defined (1) Points
procedures and
functions. True
or false?

True (*)
False

Incorrect.
Refer to
Section 2
Lesson 3.

6.To add a
Mark for Review
procedure to
(1) Points
myFirstMethod,
right-click on
the procedure
you wish to add
and select the
Add button.
True or false?

True

False (*)

Correct

7. The first step to using a top-down approach to programming


Mark for Review
is to create a table to align the storyboard steps to the
(1) Points
programming instructions. True or false?

True
False (*)

Correct

8. From your Alice lessons, the Do In Order control statement is


Mark for Review
also referred to by what other name?
(1) Points

Order control

Sequence control

Control order

Sequential control (*)

Correct

9. In Alice, how would you get the length of a fish object?


Mark for Review
(1) Points

getLength

getDepth (*)

getWidth

getHeight

Incorrect. Refer to Section 2 Lesson


7.

10. In Alice, which function is used to move an object directly to


Mark for Review
the center point of another object?
(1) Points

getDuration
getDepth

getObject

getDistance (*)

Incorrect. Refer to Section 2 Lesson


7.

11.One
Mark for Review
type of
(1) Points
object
property
is an
object's
position
in the
scene.
True or
false?

True (*)

False

Correct

12. Which of the following are ways to open an existing Alice project
Mark for Review
file after launching Alice?
(1) Points

(Choose all correct answers)

Browse for the project using the File System tab. (*)

Double-click on the project file name in the folder it is stored


in on your computer.

Select the project from the My Projects tab. (*)


Click and drag the file from your computer into Alice 3.

Correct

13. Which option copies a programming instruction to the clipboard?


Mark for Review
(1) Points

Paste

Clipboard

Copy to Clipboard (*)

Is Enabled

Correct

14. In Alice, a walking motion for a bipedal object can be achieved


Mark for Review
without the Do Together control statement. True or false?
(1) Points

True

False (*)

Incorrect. Refer to Section 2 Lesson 6.

15. In Alice, which of the following is not a control statement?


Mark for Review
(1) Points

Count

Do In Order

While

Move (*)
Correct

1.In Alice,
Mark for Review
control
(1) Points
statements
are
dragged
into the
Code
editor.
True or
false?

True (*)

False

Correct

2. From your Alice lessons, what does the Count control statement
Mark for Review
do?
(1) Points

Executes statements while a condition is true.

Executes statements a random number of times.

Executes statements simultaneously.

Executes statements a specific number of times. (*)

Correct

3. In Alice, which of the following is not a control statement?


Mark for Review
(1) Points
Count

While

Do In Order

Move (*)

Correct

4. Which of the following actions would require a control statement


Mark for Review
to control animation timing?
(1) Points

(Choose all correct answers)

A bird flying. (*)

A biped object walking. (*)

A fish swimming. (*)

A rock object turning.

Correct

5. All objects in Alice have three dimensional coordinates on which


Mark for Review
axes?
(1) Points

(Choose all correct answers)

x (*)

y (*)

z (*)

w
All of the above

Correct

6.In Alice,
Mark for Review
where are
(1) Points
objects
added and
positioned
in the
scene?

The template

The Code editor

The Scene editor (*)

The gallery

Correct

7. Functions answer questions about an object, such as its height,


Mark for Review
width, depth and even distance to another object. True or false?
(1) Points

True (*)

False

Incorrect. Refer to Section 2 Lesson 7.

8. From your Alice lessons, which programming instruction


Mark for Review
represents the following movement: A turtle moves forward half
(1) Points
the distance to the flower.

this.Turtle move Forward this.Turtle getDistanceTo


this.Flower / 0.5
this.Turtle move Forward this.Turtle getDistanceTo
this.Flower * 2

this.Turtle move Forward this.Turtle getDistanceTo


this.Flower / 2.0 (*)

this.Turtle move Forward this.Turtle getDistanceTo


this.Flower / 1.0

Correct

9. In Alice, objects inherit the characteristics of their:


Mark for Review
(1) Points

Class (*)

Program

Code

Project

Correct

10. In Alice, you examine code where a bird moves its wings forward
Mark for Review
and backward while moving forward simultaneously across the
(1) Points
scene. You notice that this set of procedures are repeated in the
Code editor ten times to achieve this motion. How could
procedural abstraction be used to make the code simpler and
easier to read?

(Choose all correct answers)

Use the Count control statement to execute the forward


motion of the body and up and down motion of the wings 10
times. (*)

Declare a separate "fly" procedure for the body moving


forward and wings moving up and down. (*)

Do not make any changes to the code.


Use the Scene editor to position the wings so that they are up
as the body moves forward.

Correct

11.Which of the
Mark for Review
following is a
(1) Points
reason why
procedural
abstraction
may be used
in
programming
an
animation?

(Choose all correct answers)

The programmer wants to save the animation.

The code is too long. (*)

The code is difficult to read. (*)

The programmer wants to reuse the code. (*)

Incorrect. Refer to Section 2 Lesson


5.

12. Copying programming instructions saves time when


Mark for Review
programming your Alice project. True or false?
(1) Points

True (*)

False

Correct
13. After each execution of your Alice animation, what element or
Mark for Review
elements could be adjusted in your code?
(1) Points

Control statements

Procedures

Arguments

All of the above (*)

Incorrect. Refer to Section 2 Lesson


3.

14. Which of the following would not be an argument in an Alice


Mark for Review
programming instruction that commands a person object to
(1) Points
move forward 2 meters?

Distance to move forward

Person's height (*)

Direction to move

Number of seconds to execute the programming


instruction

Correct

15. An argument is a value that the procedure uses to complete


Mark for Review
its task. True or false?
(1) Points

True (*)

False
Incorrect. Refer to Section 2 Lesson
3.

1.In Alice,
Mark for Review
where
(1) Points
can you
view the
list of
functions
available
for an
object?

Properties tab in the methods panel.

Instance pull-down menu.

Functions tab in the methods panel. (*)

Class description in the Scene editor.

Incorrect. Refer to Section 2 Lesson 7.

2. In Alice, how would you get the length of a fish object?


Mark for Review
(1) Points

getDepth (*)

getHeight

getLength

getWidth

Incorrect. Refer to Section 2 Lesson 7.


3. Which of the following are ways to open an existing Alice project
Mark for Review
file after launching Alice?
(1) Points

(Choose all correct answers)

Browse for the project using the File System tab. (*)

Select the project from the My Projects tab. (*)

Double-click on the project file name in the folder it is stored in


on your computer.

Click and drag the file from your computer into Alice 3.

Correct

4. Only acting objects have one-shot procedures. True or false?


Mark for Review
(1) Points

True

False (*)

Correct

5. Debugging is the process of finding bugs in a software program.


Mark for Review
True or false?
(1) Points

True (*)

False

Correct

6.From your Alice


Mark for Review
lessons, which
(1) Points
control
statement
executes
instructions
simultaneously?

Do together (*)

Variable

Do in order

Count

Correct

7. A complete Alice instruction includes which of the following


Mark for Review
components?
(1) Points

(Choose all correct answers)

Image

Procedure (*)

Class

Direction (*)

Amount (*)

Correct

8. In Alice, you could identify when new procedures need to be


Mark for Review
declared by reviewing the textual storyboard for the animation.
(1) Points
True or false?

True (*)
False

Correct

9. From your Alice lessons, a flowchart could be created in a


Mark for Review
software program, or documented in a journal. True or false?
(1) Points

True (*)

False

Correct

10. From your Alice lessons, which of the following is a tool to show
Mark for Review
the logic of an animation?
(1) Points

Pie chart

Flowchart (*)

Class chart

Scene editor

Visual storyboard

Correct

11.The move
Mark for Review
procedure
(1) Points
in Alice
moves an
object in
how many
different
possible
directions?
4

6 (*)

Correct

12. When you disable a programming instruction, it is still executed


Mark for Review
when you run the Alice animation. True or false?
(1) Points

True

False (*)

Correct

13. Which of the following is a reason why you might disable


Mark for Review
programming statements in your Alice code?
(1) Points

To make an object move forward.

To make an object turn and move simultaneously.

To disable the entire program.

To help isolate portions of code during testing. (*)

Correct

14. In Alice, a walking motion for a bipedal object can be achieved


Mark for Review
without the Do Together control statement. True or false?
(1) Points
True

False (*)

Correct

15. In Alice, the procedures' arguments allow the programmer to


Mark for Review
adjust the object, motion, distance amount, and time duration.
(1) Points
True or false?

True (*)

False

Correct

1.In Alice,
Mark for Review
you can
(1) Points
use a
function
to get
the
current
color of
the
object.
True or
false?

True (*)

False

Correct

2. From your Alice lessons, built-in functions provide precise property


Mark for Review
details for the following areas:
(1) Points
Distance to and nesting.

Proximity and size.

Proximity and point of view.

Proximity, size, spatial relation, and point of view. (*)

Correct

3. Debugging is the process of finding bugs in a software program. True


Mark for Review
or false?
(1) Points

True (*)

False

Correct

4. It is important to save often while debugging your program. True or


Mark for Review
false?
(1) Points

True (*)

False

Correct

5. Which of the following is a reason why you might disable


Mark for Review
programming statements in your Alice code?
(1) Points

To disable the entire program.

To help isolate portions of code during testing. (*)


To make an object move forward.

To make an object turn and move simultaneously.

Correct

6.What is
Mark for Review
the
(1) Points
purpose
of a
function
in
Alice?

To compute and answer a question about an object. (*)

To save the project.

To define how the object should execute a task.

To position the object in the Scene editor.

Incorrect. Refer to Section 2 Lesson 3.

7. In Alice, Do In Order and Do Together:


Mark for Review
(1) Points

Are move statements

Are control statements (*)

Are complex statements

None of the above

Correct
8. In Alice, which procedure is used to assign one object as the vehicle
Mark for Review
of another?
(1) Points

Vehicle

setVehicle (*)

setObjectVehicle

setClassVehicle

Correct

9. In Alice, what does the resize handle style do?


Mark for Review
(1) Points

Change size of the object and stretch it along the x, y, and z axes
(*)

Simple rotation and movement

Move along the x, y, and z axes

Rotate about the x, y, and z axes

Correct

10. From your Alice lessons, what is a one-shot procedural method?


Mark for Review
(1) Points

A procedure that is used to make a scene adjustment. (*)

A procedure that is dragged into the Code editor.

A procedure that is invoked when the Run button is clicked.

A procedure that is used to launch the program.


Incorrect. Refer to Section 2 Lesson 2.

11.Defining the
Mark for Review
scenario, and
(1) Points
the Alice
animation to
represent the
scenario, is
the first step
to
programming
your
animation.
True or false?

True (*)

False

Correct

12. In Alice, what are the forms of a scenario?


Mark for Review
(1) Points

(Choose all correct answers)

A task to perform. (*)

A system to start.

A problem to solve. (*)

A section of code to write.

A person to help.

Correct
13. A textual storyboard helps the reader understand the actions
Mark for Review
that will take place during the animation. True or false?
(1) Points

True (*)

False

Correct

14. In Alice, the computer specifies the low and high range values
Mark for Review
for the range of numbers from which to pull a randomized
(1) Points
number. True or false?

True

False (*)

Correct

15. From your Alice lessons, random numbers are set in the
Mark for Review
distance and duration arguments in a procedure. True or
(1) Points
false?

True (*)

False

Correct

After each
Mark for Review
execution
(1) Points
of your
Alice
animation,
what
element
or
elements
could be
adjusted
in your
code?

Control statements

Procedures

Arguments

All of the above (*)

Correct

2. Which of the following instructions turns the


Mark for Review
clown fish left 5 revolutions?
(1) Points

this.clownFish turn Left 5.0 (*)

this.Fish turn Left 5

this.clownFish turn Left 5

this.clownFish turn Left 0.5

Correct

3. The Procedures tab and the Functions tab are


Mark for Review
the two tabs available in the Alice methods
(1) Points
panel. True or false?

True (*)

False

Correct
4. Creating multiple versions of your Alice
Mark for Review
project saves time. True or false?
(1) Points

True (*)

False

Incorrect. Refer to Section 2 Lesson 1.

5. In Alice, functions are dragged into the control


Mark for Review
statement, not the procedure. True or false?
(1) Points

True

False (*)

Incorrect. Refer to Section 2 Lesson 7.

6.In Alice,
Mark for Review
where
(1) Points
can you
view the
list of
functions
available
for an
object?

Class description in the Scene editor.

Properties tab in the methods panel.

Functions tab in the methods panel. (*)

Instance pull-down menu.

Correct
7. In Alice, which of the following arguments could be replaced with a
Mark for Review
random number?
(1) Points

(Choose all correct answers)

Duration (*)

Procedure name

Object name

Distance (*)

Direction

Correct

8. In Alice, control statements are dragged into the Code editor. True
Mark for Review
or false?
(1) Points

True (*)

False

Correct

9. In Alice, where are objects added and positioned in the scene?


Mark for Review
(1) Points

The Code editor

The Scene editor (*)

The gallery

The template
Correct

10. One type of object property is an object's position in the scene.


Mark for Review
True or false?
(1) Points

True (*)

False

Correct

In Alice,
Mark for Review
which of the
(1) Points
following
are benefits
of
separating
out motions
into their
own
procedures?

(Choose all correct answers)

It simplifies code and makes it easier to


read. (*)

It makes the animation easier to run.

It makes the scene easier to view.

It can allow subclasses of a superclass to


use a procedure. (*)

It allows many objects of a class to use


the same procedure. (*)

Incorrect. Refer to Section 2 Lesson 5.


12. In Alice, when a new procedure is declared,
Mark for Review
all subclasses of the superclass will inherit
(1) Points
the procedure. True or false?

True (*)

False

Correct

13. In Alice, you could identify when new


Mark for Review
procedures need to be declared by reviewing
(1) Points
the textual storyboard for the animation.
True or false?

True (*)

False

Correct

14. In Alice, which procedure is used to assign


Mark for Review
one object as the vehicle of another?
(1) Points

Vehicle

setClassVehicle

setVehicle (*)

setObjectVehicle

Correct

15. In Alice, which control statement is used to


Mark for Review
invoke simultaneous movement?
(1) Points
Do Together (*)

Count

Do In Order

Variable

While

Correct

You might also like