Sie sind auf Seite 1von 24

https://quiz.blesdaily.

com/full-answer-oracle-academy-java-fundamentals-midterm-exam-and-final/
http://deniace.blogspot.ba/2017/01/oracle-java-fundamentals-section-2-quiz.html
Friday, 13 January 2017

Section 2 Oracle Java Fundamentals Quiz


Section 2 - Quiz 1 L1-L7
(Answer all questions in this section)

1. In Alice, which control statement is used to invoke simultaneous movement


Do In Order
Count
Do Together (*)
While
Variable
2. In Alice, a computer program requires functions to tell it how to perform the procedure. True or false?
True
False (*)
3. Manually manipulating an Alice object with your cursor is a way to precisely position an object. True or false?
True
False (*)
4. Only acting objects have one-shot procedures. True or false?
True
False (*)
5. In Alice, where are objects added and positioned in the scene?
The template
The Scene editor (*)
The Code editor
The gallery
6. Before you can begin to develop the animation storyboard, what must be defined?
The debugging process
The control statements
The code
The scenario (*)
7. In Alice, which of the following are benefits of separating out motions into their own procedures?
(Choose all correct answers)
It makes the scene easier to view.
It can allow subclasses of a superclass to use a procedure. (*)
It simplifies code and makes it easier to read. (*)
It makes the animation easier to run.
It allows many objects of a class to use the same procedure. (*)
8. Which Alice tool is used to demonstrate the process flow of an animation?
World
Pie chart
Textual storyboard
Visual storyboard
Flowchart (*)
9. Which Alice execution task corresponds with the following storyboard statement?
Cat turns to face mouse.

mouse turnTo cat


this.cat turnToFace this.mouse (*)
this.mouse turnToFace this.cat
cat TurnTo mouse
10. From your Alice lessons, which control statement executes instructions simultaneously?
Do in order
Variable
Do together (*)
Count
11. From your Alice lessons, built-in functions provide precise property details for the following areas:
Proximity and point of view.
Distance to and nesting.
Proximity and size.
Proximity, size, spatial relation, and point of view. (*)
12. From your Alice lessons, which programming instruction represents the following movement: A turtle moves forward half the
distance to the flower.
this.Turtle move Forward this.Turtle getDistanceTo this.Flower * 2
this.Turtle move Forward this.Turtle getDistanceTo this.Flower / 1.0
this.Turtle move Forward this.Turtle getDistanceTo this.Flower / 0.5
this.Turtle move Forward this.Turtle getDistanceTo this.Flower / 2.0 (*)
13. What is the purpose of a function in Alice?
To position the object in the Scene editor.
To save the project.
To compute and answer a question about an object. (*)
To define how the object should execute a task.
14. The comments you enter in Alice should describe the sequence of actions that take place in the code segment. True or
false?
True (*)
False
15. Which of the following is a reason why you might disable programming statements in your Alice code?
To disable the entire program.
To make an object move forward.
To make an object turn and move simultaneously.
To help isolate portions of code during testing. (*)
1. From your Alice lessons, where on an object do an object's axes intersect?
At the object's center point (*)
At the object's head
At the object's chest
At the object's bottom
2. Only acting objects have one-shot procedures. True or false?
True
False (*)
3. In Alice, which of the following is not a control statement?
Count
Move (*)
While
Do In Order
4. In Alice, a computer program requires functions to tell it how to perform the procedure. True or false?
True
False (*)
5. When is an instance created in Alice?
After the scenario is saved.
After the folder is selected in the gallery.
After the class icon is dragged into the scene. (*)
After the code is created.
6. Which of the following is an example of nesting in an Alice program?
Five Do Together statements are nested inside of a Do In Order statement. (*)
A move procedure is nested inside of a turn procedure.
Distance, duration, and direction arguments are nested inside of a procedure.
Text is nested inside of a comments tile.
7. Which Alice control statement executes a set of procedures simultaneously?
Do in order
While
Together
Do together (*)
8. Programming comments do not affect the functionality of your Alice animation. True or false?
True (*)
False
9. What is the first step to entering comments in an Alice program?
Select the instance from the instance menu.
Drag and drop the comments tile below a code segment.
Type comments that describe the sequence of actions in the code segment.
Drag and drop the comments tile above a code segment. (*)
10. In Alice the Functions tab will display the pre-defined functions for the selected instance. True or false?
True (*)
False
11. In Alice, what function would you use to get a wholenumber from the user?
getIntegerFromUser (*)
getBooleanFromUser
getStringFromUser
getDoubleFromUser
12. In Alice, there is no way of reordering the function list in the function tab. True or false?
True
False (*)
13. Defining the scenario, and the Alice animation to represent the scenario, is the first step to programming your animation. True
or false?
True (*)
False
14. In Alice, declaring a new procedure to shorten code and make it easier to read is a procedural abstraction technique. True or
false?
True (*)
False
15. In Alice, what are the forms of a scenario?
(Choose all correct answers)
A problem to solve. (*)
A task to perform. (*)
A person to help.
A system to start.
A section of code to write.
1. Before you can begin to develop the animation storyboard, what must be defined?
The debugging process
The control statements
The scenario (*)
The code
2. In Alice, declaring a new procedure to shorten code and make it easier to read is a procedural abstraction technique. True or
false?
True (*)
False
3. A scenario gives the Alice animation a purpose. True or false?
True (*)
False
4. From your Alice lessons, which programming instruction represents the following movement: A cat moves forward double (or
twice) the distance to the tree.
this.Cat move Forward this.Cat getDistanceTo this.tree / 2.0
this.Cat move Forward this.Cat getDistanceTo this.tree - 2.0
this.Cat move Forward this.Cat getDistanceTo this.tree * 2.0 (*)
this.Cat move forward this.Cat getDistanceTo this.tree + 2.0
5. In Alice, where you would you get access to the specific joints of an object that are not available through the object drop down
menu?
scene editor
procedures tab
functions tab (*)
code editor
6. Only acting objects have one-shot procedures. True or false?
True
False (*)
7. From your Alice lessons, where on an object do an object's axes intersect?
At the object's bottom
At the object's chest
At the object's head
At the object's center point (*)
8. Which Alice execution task corresponds with the following storyboard statement?
Cat turns to face mouse.
this.cat turnToFace this.mouse (*)
mouse turnTo cat
cat TurnTo mouse
this.mouse turnToFace this.cat
9. In Alice, the computer specifies the low and high range values for the range of numbers from which to pull a randomized
number. True or false?
True
False (*)
10. When something is broken or doesn't work as intended in a software program, it is referred to as a _________?
Bug (*)
Error
Code
Debug
11. Debugging and testing is the process of running the animation one time, and adjusting the control statements, procedures, and
arguments.

True
False (*)
12. In Alice the Functions tab will display the pre-defined functions for the selected instance. True or false?

True (*)
False
13. What is the first step to programming an object to turn left in Alice?

Select the object to program from the instance menu. (*)


Drag the turn procedure into the Code editor.
Select the duration for the object to turn.
Select the distance to turn.

14. In Alice, the procedures' arguments allow the programmer to adjust the object, motion, distance amount, and time duration.
True or false?

True (*)
False
15. Which of the following actions would require a control statement to control animation timing?

(Choose all correct answers)


A biped object walking. (*)
A rock object turning.
A bird flying. (*)
A fish swimming. (*)

1. Define the value of the variable LapCount based on the following math calculation: LapCount + 10 = 15
2
15
4
5 (*)
10

2. Which of the following is not an Alice variable value type?

Whole Number
Decimal Number
Color
Function (*)

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

(Choose all correct answers)


A problem to solve. (*)
A person to help.
A task to perform. (*)
A section of code to write.
A system to start.

4. From your Alice lessons, animations should be tested by the programmer before they are considered complete. True or
false?

True (*)
False

5. From your Alice lessons, when testing your animation, you should test that comments were added below each sequence of
instructions in the code. True or false?

True
False (*)

6. In Java, a function is a method that must return a value. True or false?

True
False (*)
7. Which of the following does not describe methods?

A subprogram that acts on data and often returns a value.


A set of code that is referred to by name.
Is associated with an instance variable. (*)
Can be called at any point in a program simply by utilizing its name.

8. In Alice, we can avoid object collision using what?

Downloading the Alice 3 collision detector app.


Using object detection.
Using math operators. (*)
Slowing movements down.

9. Alice uses built-in math operators; they are:

Add and subtract


Multiply and divide
All of the above (*)
None of the above

10. In Alice, what tab would you choose to start a new animation with a pre-populated world?

Recent
Blank Slate
Starters (*)
My Projects

11. In Alice, when is the sceneActivationListener executed?

When the user clicks on on object


At the end of the animation
At the beginning of the animation (*)
When an object appears on screen

12. A data type defines the type of procedures a variable can store. True or false?

True
False (*)

13. If a value has been assigned to (is stored in) a variable, that value will be overwritten when another value is assigned to the
variable using the assignment "=" operator. True or false?

True (*)
False

14. In Alice, the use of conditional control structures allows what two types of loops?

(Choose all correct answers)


switch
together
conditional (*)
infinite

15. In Alice, which one of the following is not a pre-defined control structure?

do in order
do together
do while (*)
while

1. In Java, which symbol is used to assign one value to another?

<
= (*)
>
//
2. What is the output produced by the following code?

j is 10
j is 5
k is 5

j is 5
k is 5 (*)

j is 10
k is 10

j is 15
k is 15

3. When you want specific code to be executed only if certain conditions are met, what type of Java construct would you use?

if (*)
array
while loop
boolean

4. If you need to repeat a group of Java statements many times, which Java construct should you use?

(Choose all correct answers)


while loop (*)
do while loop (*)
repeat...until
if

5. In Alice it is not possible to transfer a class from one animation to another. True or false?
True
False (*)
6. You want an event to happen when an object collides with another object, which category of event handler would you choose?
Keyboard
Mouse
Scene Activation/time
Position/Orientation (*)
7. Which of the following is not an Alice variable value type?
Color
Decimal Number
Function (*)
Whole Number
8. The initializer of a variable with a TextString value type could be (select all that apply):

(Choose all correct answers)


"Greetings" (*)
"Howdy" (*)
"4" (*)
None of the above.
9. Which of the following WHILE control structures commands the fish to move forward repeatedly 0.5 meters at a time, but stop if
it collides with the shark?

(*)

10. In Alice, we use the WHILE control statement to implement the conditional loop. True or false?

True (*)
False

11. In Alice, which of the following programming statements moves the butterfly forward, double the distance to the tree?

this.Butterfly move forward {this.Butterfly getDistanceTo this.Tree / 2}


this.Butterfly move backward {this.Butterfly getDistanceTo this.Tree * 2}
this.Butterfly move forward {this.Butterfly getDistanceTo this.Tree * 2} (*)
this.Butterfly move backward {this.Butterfly getDistanceTo this.Tree / 2}

12. An example of an expression is:

If or Where
3*3=9 (*)
Move forward 1 meter
"I feel happy."

13. From your Alice lessons, a textual storyboard provides a detailed, ordered list of the actions each object performs in each scene
of the animation. True or false?

True (*)
False

14. From your Alice lessons, when testing your animation, you should test that comments were added below each sequence of
instructions in the code. True or false?

True
False (*)

15. What can be used as a guideline to ensure your Alice animation fulfills animation principles?

An animation checklist (*)


Other programmers
The Internet
A close friend

1. An event is any action initiated by the user that is designed to influence the programメs execution during play.
True (*)
False
2. In Alice, what tab would you choose to start a new animation with a pre-populated world?
Recent
Starters (*)
My Projects
Blank Slate

3. Which of the following is not a valid arithmetic operator in Java?

+
/
-
*
%
$ (*)
None of the above
4. If a value has been assigned to (is stored in) a variable, that value will be overwritten when another value is assigned to the
variable using the assignment "=" operator. True or false?

True (*)
False

5. In Java, a function is a method that must return a value. True or false?

True
False (*)

6. The list below contains method descriptions. All are correct except which one?

(Choose all correct answers)


Is associated with an instance variable.
A subprogram that acts on data and often returns a value. (*)
A set of code that is referred to by name. (*)
Can be called at any point in a program simply by utilizing its name.

7. In Alice, we can avoid object collision using what?

Downloading the Alice 3 collision detector app.


Using math operators. (*)
Using object detection.
Slowing movements down.

8. Alice uses built-in math operators; they are:

Add and subtract


Multiply and divide
All of the above (*)
None of the above

9. Define the value of the variable LapCount based on the following math calculation: LapCount + 10 = 15

2
5 (*)
15
4
10
10. The initializer of a variable with a TextString value type could be (select all that apply):
(Choose all correct answers)
"Greetings" (*)
"Howdy" (*)
"4" (*)
None of the above.
6. The list below contains method descriptions. All are correct except which one?

(Choose all correct answers)


Is associated with an instance variable.
A subprogram that acts on data and often returns a value. (*)
A set of code that is referred to by name. (*)
Can be called at any point in a program simply by utilizing its name.

7. In Alice, we can avoid object collision using what?


Downloading the Alice 3 collision detector app.
Using math operators. (*)
Using object detection.
Slowing movements down.
8. Alice uses built-in math operators; they are:
Add and subtract
Multiply and divide
All of the above (*)
None of the above
9. Define the value of the variable LapCount based on the following math calculation: LapCount + 10 = 15

2
5 (*)
15
4
10

10. The initializer of a variable with a TextString value type could be (select all that apply):

(Choose all correct answers)


"Greetings" (*)
"Howdy" (*)
"4" (*)
None of the above.

15. The Alice If control structure requires the false statement to be populated. True or false?

True
False (*)

Section 2 Quiz 1 - L1-L7


(Answer all questions in this section)

1. How do you create a programming instruction in Alice?

Click and drag the desired programming instruction into the Scene editor.

Click and drag the desired programming instruction into the Procedures tab.

Click and drag the desired programming instruction into the myFirstMethod tab. (*)

Click and drag the desired programming instruction into the Functions tab.

Correct

2. Which of the following is not an example of a one-shot procedure?

Turn

Move

Roll

Spin (*)

Correct

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

The template

The gallery

The Scene editor (*)

The Code editor

Correct

4. In Alice, the computer specifies the low and high range values for the range of numbers from which
to pull a randomized number. True or false?
True

False (*)

Incorrect. Refer to Section 2 Lesson 4.

5. Which of the following is an example of nesting in an Alice program?

A move procedure is nested inside of a turn procedure.

Five Do Together statements are nested inside of a Do In Order statement. (*)

Distance, duration, and direction arguments are nested inside of a procedure.

Text is nested inside of a comments tile.

Correct

6. From your Alice lessons, which programming instruction represents the following movement: A
turtle moves forward half the distance to the flower.

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

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

Incorrect. Refer to Section 2 Lesson 7.

7. In Alice, you can use a function to get the current color of the object. True or false?

True (*)

False

Incorrect. Refer to Section 2 Lesson 7.

8. In Alice, new procedures are declared in the Scene editor. True or false?

True

False (*)

Correct

9. Defining the scenario, and the Alice animation to represent the scenario, is the first step to
programming your animation. True or false?

True (*)

False

Correct
10. In Alice, you could identify when new procedures need to be declared by reviewing the textual
storyboard for the animation. True or false?

True (*)

False

Incorrect. Refer to Section 2 Lesson 5.

11. To add a
procedure to
myFirstMethod,
right-click on the
procedure you
wish to add and
select the Add
button. True or
false?

True

False (*)

Incorrect. Refer to Section 2 Lesson 3.

12. The say procedure in Alice plays an audio file. True or false?

True

False (*)

Incorrect. Refer to Section 2 Lesson 3.

13. When you disable a programming instruction, it is still executed when you run the Alice
animation. True or false?

True

False (*)

Correct

14. In Alice, a walking motion for a bipedal object can be achieved without the Do Together
control statement. True or false?

True

False (*)

Incorrect. Refer to Section 2 Lesson 6.

15. In Alice, the setVehicle procedure will associate one object to another. True or false?

True (*)

False
Correct

Section 2 Quiz 1 - L1-L7


(Answer all questions in this section)

1. In Alice, there is a limit of 10 objects per scene. True or false?

True
False (*)

Correct

2. From your Alice lessons, where on an object do an object's axes intersect?

At the object's center point (*)


At the object's head
At the object's bottom
At the object's chest

Incorrect. Refer to Section 2 Lesson 2.

3. Which of the following would a clown fish object in Alice inherit from its class?

Fins
Two eyes
Procedures
Functions
All of the above (*)

Incorrect. Refer to Section 2 Lesson 5.

4. A textual storyboard helps the reader understand the actions that will take place during the
animation. True or false?

True (*)
False

Correct

5. In Alice, you examine code where a bird moves its wings forward and backward while
moving forward simultaneously across the 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. (*)
Use the Scene editor to position the wings so that they are up as the body moves
forward.
Do not make any changes to the code.
Declare a separate "fly" procedure for the body moving forward and wings moving up
and down. (*)

Incorrect. Refer to Section 2 Lesson 5.

6. To
access
the
Alice
Code
editor
from
the
Scene
editor,
which
button
do you
click?

Code Editor
Access Code Editor
Code
Edit Code (*)

Incorrect. Refer to Section 2 Lesson 3.

7. Debugging and testing is the process of running the animation one time, and adjusting the control
statements, procedures, and arguments.

True
False (*)

Correct

8. Which of the following is a reason why you might disable programming statements in your Alice
code?

To make an object turn and move simultaneously.


To make an object move forward.
To help isolate portions of code during testing. (*)
To disable the entire program.

Incorrect. Refer to Section 2 Lesson 3.

9. From your Alice lessons, which programming instruction represents the following movement: A
person moves forward the distance to the table, minus the depth of the person.

this.Person move Forward this.Person getDistanceTo this.Table + this.Person getDepth


this.Person move Forward this.Person getDistanceTo this.Table - this.Table getDepth
this.Table move Forward this.Person getDistanceTo this.Table - this.Table getDepth
this.Person move Forward this.Person getDistanceTo this.Table - this.Person getDepth (*)

Incorrect. Refer to Section 2 Lesson 7.

10. In Alice, functions ask questions about an object. True or false?

True
False (*)

11.In Alice,
the
setVehicle
procedure
will
associate
one object
to
another.
True or
false?

True (*)
False

Correct

12. In Alice, different programming is not required for different objects, because all objects
move the same way. True or false?

True
False (*)

Incorrect. Refer to Section 2 Lesson 6.

13. Debugging is the process of finding bugs in a software program. True or false?

True (*)
False

Incorrect. Refer to Section 2 Lesson 1.

14. Which Alice execution task corresponds with the following storyboard statement?
<br><br>Cat turns to face mouse.

this.mouse turnToFace this.cat


cat TurnTo mouse
this.cat turnToFace this.mouse (*)
mouse turnTo cat

Incorrect. Refer to Section 2 Lesson 4.

15. From your Alice lessons, the Do In Order control statement is also referred to by what other
name?
Incorrect. Refer to Section 2 Lesson 4.

Sequence control
Sequential control (*)
Order control
Control order

Section 2 Quiz 1 - L1-L7


(Answer all questions in this section)

1. In Alice, functions ask questions about an object. True or false?


Mark for Review
(1) Points

True

False (*)

Correct

2. In Alice, when using the getDistanceTo function what menu option would you use to subtract a set value
from the distance? Mark for Review
(1) Points

Custom DecimalNumber

Random

Whole to decimal number

Math (*)

Correct
3. In Alice, a computer program requires functions to tell it how to perform the procedure. True or false?
Mark for Review
(1) Points

True

False (*)

Correct

4. In Alice, the procedures' arguments allow the programmer to adjust the object, motion, distance
amount, and time duration. True or false? Mark for Review
(1) Points

True (*)

False

Incorrect. Refer to Section 2 Lesson 6.

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

(Choose all correct answers)

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.

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

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

Correct

6. All objects
in Alice Mark for Review
have three
(1) Points
dimensional
coordinates
on which
axes?

(Choose all correct answers)

x (*)

y (*)

z (*)

All of the above

Correct
7. When something is broken or doesn't work as intended in a software program,
it is referred to as a _________? Mark for Review
(1) Points

Debug

Code

Error

Bug (*)

Correct

8. Breaking down a problem or process into smaller parts makes it easier to


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

True (*)

False

Correct

9. In Alice, which of the following situations could benefit from declaring a new
procedure? Mark for Review
(1) Points

(Choose all correct answers)

A single motion, such as walking, takes up a lot of room in


myFirstMethod. (*)
An object does not have a default procedure for a motion, such as
swimming. (*)
Multiple objects need to use a motion, such as bunnies hopping. (*)

An object needs to move forward, then move up 10 meters.

An object needs to say three statements.

Incorrect. Refer to Section 2 Lesson 5.

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


Mark for Review
(1) Points

Class (*)

Project

Program

Code

Correct
11. Which of
the Mark for Review
following
(1) Points
is an
example
of
nesting
in an
Alice
program?

Text is nested inside of a comments tile.

Distance, duration, and direction arguments are nested inside of a


procedure.
A move procedure is nested inside of a turn procedure.

Five Do Together statements are nested inside of a Do In Order


statement. (*)

Correct

12. Which Alice control statement executes a set of procedures simultaneously?


Mark for Review
(1) Points

Do in order

Together

Do together (*)

While

Correct

13. Which of the following instructions turns the clown fish left 5 revolutions?
Mark for Review
(1) Points

this.clownFish turn Left 0.5

this.clownFish turn Left 5.0 (*)

this.clownFish turn Left 5

this.Fish turn Left 5

Correct

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

True (*)

False

Correct

15. To add a procedure to myFirstMethod, right-click on the procedure you wish to


add and select the Add button. True or false? Mark for Review
(1) Points

True
False (*)

Correct

1. To
access Mark for Review
the
(1) Points
Alice
Code
editor
from
the
Scene
editor,
which
button
do
you
click?

Edit Code (*)

Code Editor

Code

Access Code Editor

Correct

2. What is the purpose of a function in Alice?


Mark for Review
(1) Points

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

To position the object in the Scene editor.

To define how the object should execute a task.

To save the project.

Correct

3. In an Alice program, which code is executed when the Run button is clicked?
Mark for Review
(1) Points

The one-shot procedures selected in the Scene editor.

The code entered in myMethod in the Code editor.

The code entered in the class's procedure in the procedures tab.

The code entered in myFirstMethod in the Code editor. (*)

Correct
4. When something is broken or doesn't work as intended in a software program, it is referred to as a
_________? Mark for Review
(1) Points

Debug

Bug (*)

Code

Error

Correct

5. Functions answer questions about an object, such as its height, width, depth and even distance to
another object. True or false? Mark for Review
(1) Points

True (*)

False

Correct

6. From your
Alice lessons, Mark for Review
which
(1) Points
programming
instruction
represents
the following
movement:
A turtle
moves
forward half
the distance
to the
flower.

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

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

this.Turtle move Forward this.Turtle getDistanceTo this.Flower / 1.0

this.Turtle move Forward this.Turtle getDistanceTo this.Flower / 2.0 (*)

Correct

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

(Choose all correct answers)


Distance (*)

Direction

Procedure name

Object name

Duration (*)

Correct

8. From your Alice lessons, which of the following are reasons why random numbers would be
used by a computer? Mark for Review
(1) Points

(Choose all correct answers)

For simulation. (*)

For security. (*)

For opening a project.

For creating procedures.

Correct

9. In Alice, there is a limit of 10 objects per scene. True or false?


Mark for Review
(1) Points

True

False (*)

Correct

10. Manually manipulating an Alice object with your cursor is a way to precisely position an object.
True or false? Mark for Review
(1) Points

True

False (*)

Correct

11. In Alice,
when two Mark for Review
objects are
(1) Points
synchronized
and move
together,
this means
that one
object is:

A class of another
An instance of another

An object of another

A vehicle of another (*)

Correct

12. Which of the following actions would require a control statement to control animation timing?
Mark for Review
(1) Points

(Choose all correct answers)

A bird flying. (*)

A fish swimming. (*)

A rock object turning.

A biped object walking. (*)

Correct

13. A scenario gives the Alice animation a purpose. True or false?


Mark for Review
(1) Points

True (*)

False

Correct

14. From your Alice lessons, inheritance means that the superclass inherits its traits from the
subclass. True or false? Mark for Review
(1) Points

True

False (*)

Incorrect. Refer to Section 2 Lesson 5.

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

True (*)

False

Correct

Das könnte Ihnen auch gefallen