Sei sulla pagina 1di 7

Test: Section 2 Quiz 1 - L1-L7

Test: Section 2 Quiz 1 - L1-L7

Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.

Section 2 Quiz 1 - L1-L7


(Answer all questions in this section)

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

Vehicle
setObjectVehicle
setVehicle (*)
setClassVehicle

Incorrect. Refer to Section 2 Lesson 6.

2. In Alice, different programming is not required for different objects, because all objects move
the same way. True or false? Mark for Review
(1) Points

True
False (*)

Incorrect. Refer to Section 2 Lesson 6.

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


Mark for Review
(1) Points

At the object's bottom


At the object's chest
At the object's center point (*)
At the object's head

Incorrect. Refer to Section 2 Lesson 2.

4. Rings will appear around a sub-part indicating how you can reposition it. True or false?
Mark for Review
(1) Points

True (*)
False

Correct

5. 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
Math (*)
Whole to decimal number
Random

Incorrect. Refer to Section 2 Lesson 7.

Page 1 of 3 Next Summary


Test: Section 2 Quiz 1 - L1-L7

Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.

Section 2 Quiz 1 - L1-L7


(Answer all questions in this section)

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

Properties tab in the methods panel.


Class description in the Scene editor.
Instance pull-down menu.
Functions tab in the methods panel. (*)

Incorrect. Refer to Section 2 Lesson 7.

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


Mark for Review
(1) Points

The template
The Code editor
The gallery
The Scene editor (*)

Incorrect. Refer to Section 2 Lesson 1.

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

(Choose all correct answers)

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 say three statements.
An object needs to move forward, then move up 10 meters.
A single motion, such as walking, takes up a lot of room in myFirstMethod. (*)

Incorrect. Refer to Section 2 Lesson 5.

9. In Alice, if a procedure is declared for a clownFish class, which classes can use the procedure?
Mark for Review
(1) Points

Any class with "Fish" in the class name


The pajamaFish class, clownFish class, and Swimmer class
The clownFish class and Swimmer class
ClownFish class (*)

Incorrect. Refer to Section 2 Lesson 5.


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

(Choose all correct answers)

The programmer wants to save the animation.


The code is difficult to read. (*)
The code is too long. (*)
The programmer wants to reuse the code. (*)

Incorrect. Refer to Section 2 Lesson 5.

Previous Page 2 of 3 Next Summary

Test: Section 2 Quiz 1 - L1-L7

Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.

Section 2 Quiz 1 - L1-L7


(Answer all questions in this section)

11. In Alice, the while control statement executes a set of procedures a specific number of times.
True or false? Mark for Review
(1) Points

True
False (*)

Incorrect. Refer to Section 2 Lesson 4.

12. From your Alice lessons, random numbers are numbers generated by the user with a pattern
in their sequence. True or false? Mark for Review
(1) Points

True
False (*)

Incorrect. Refer to Section 2 Lesson 4.

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

this.clownFish turn Left 5.0 (*)


this.clownFish turn Left 5
this.clownFish turn Left 0.5
this.Fish turn Left 5

Correct

14. Which of the following would not be an argument in an Alice programming instruction that
commands a person object to move forward 2 meters? Mark for Review
(1) Points
Number of seconds to execute the programming instruction
Distance to move forward
Person's height (*)
Direction to move

Incorrect. Refer to Section 2 Lesson 3.

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

Access Code Editor


Edit Code (*)
Code
Code Editor

Incorrect. Refer to Section 2 Lesson 3.

Previous Page 3 of 3 Summary

Test: Section 2 Quiz 1 - L1-L7

Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.

Section 2 Quiz 1 - L1-L7


(Answer all questions in this section)

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

A vehicle of another (*)


A class of another
An object of another
An instance of another

Incorrect. Refer to Section 2 Lesson 6.

2. In Alice, the setVehicle procedure will associate one object to another. True or false?
Mark for Review
(1) Points

True (*)
False

Correct

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


Mark for Review
(1) Points

Click and drag the desired programming instruction into the myFirstMethod tab. (*)
Click and drag the desired programming instruction into the Procedures tab.
Click and drag the desired programming instruction into the Scene editor.
Click and drag the desired programming instruction into the Functions tab.
Correct

4. What is the first step to entering comments in an Alice program?


Mark for Review
(1) Points

Select the instance from the instance menu.


Drag and drop the comments tile above a code segment. (*)
Type comments that describe the sequence of actions in the code segment.
Drag and drop the comments tile below a code segment.

Incorrect. Refer to Section 2 Lesson 3.

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

True (*)
False

Correct

Page 1 of 3 Next Summary

Test: Section 2 Quiz 1 - L1-L7

Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.

Section 2 Quiz 1 - L1-L7


(Answer all questions in this section)

6. The comments you enter in Alice should describe the sequence of actions that take place in
the code segment. True or false? Mark for Review
(1) Points

True (*)
False

Correct

7. Which of the following is not one of the positioning axes used in Alice 3?
Mark for Review
(1) Points

x
y
w (*)
z

Incorrect. Refer to Section 2 Lesson 2.

8. Alice objects move relative to the orientation of the person viewing the animation. True or
false? Mark for Review
(1) Points

True
False (*)
Incorrect. Refer to Section 2 Lesson 2.

9. In Alice, which function is used to move an object directly to the center point of another
object? Mark for Review
(1) Points

getDistance (*)
getObject
getDepth
getDuration

Correct

10. 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. Mark for Review
(1) Points

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

Correct

Previous Page 2 of 3 Next Summary

Test: Section 2 Quiz 1 - L1-L7

Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.

Section 2 Quiz 1 - L1-L7


(Answer all questions in this section)

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

True (*)
False

Correct

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

Scene editor
Class chart
Pie chart
Flowchart (*)
Visual storyboard

Incorrect. Refer to Section 2 Lesson 5.

13. Before you can begin to develop the animation storyboard, what must be defined?
Mark for Review
(1) Points
The code
The debugging process
The scenario (*)
The control statements

Incorrect. Refer to Section 2 Lesson 5.

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

True (*)
False

Correct

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

(Choose all correct answers)

Distance (*)
Procedure name
Direction
Object name
Duration (*)

Incorrect. Refer to Section 2 Lesson 4.

Previous Page 3 of 3 Summary

Potrebbero piacerti anche