Learn to Program using Alice

Practice Test for the Lesson Titled

Setting the Stage Manually, Part 1

Published:  April 27, 2007
By Richard G. Baldwin

File: Alice0115PracticeTest.htm 


Questions

1.  True or False:    It is always better to manually arrange every aspect of the stage, including the locations and the poses of the actors than it is to manually create the actors, drop them onto the stage (the world), and then write the necessary code to move them to their correct locations, arrange their poses etc. 

Answer and Explanation

2.  True or False:  It is not possible to write Alice code that will go to the gallery (the dressing room) and instruct an actor (object) to materialize itself and go to the stage.

Answer and Explanation

3.  True or False:  All of the actors (objects) that will appear at any point in an Alice production must be manually created and transported to the stage at some point during the development of the program.

Answer and Explanation

4.  True or False:  Once all of the objects have been manually created and transported to the stage, they must be moved to a location outside the view of the audience until their turn comes to appear in the Alice production.  At that point, they can be moved into the view of the audience.

Answer and Explanation

5.  True or False:  A person who is more inclined toward art than programming might elect to manually arrange every aspect of the stage, including the locations and the poses of the actors.

Answer and Explanation

6.  True or False:  A person who is more inclined toward programming than art might elect to manually create the actors, drop them onto the stage (the world), and then write the necessary code to move them to their correct locations, arrange their poses, and to do everything else necessary to set the stage automatically after the program starts running and before the actors become visible.

Answer and Explanation

7.  Which item does not belong in the following list?  When in the scene edit mode, the Alice development screen can be divided into the following sections:

Answer and Explanation

8.  True or False:  When an object is surrounded by a red bounding box, that means that the object has been selected either by clicking directly on the picture of the object or by clicking on the item that represents the object in the object tree.

Answer and Explanation

9.  True or False:  As you add each object to the world, an item appears in the object tree that represents that object. 

Answer and Explanation

10.  True or False:  The only way to select an object is to click on the actual picture of the object in the world.

Answer and Explanation

11.  True or False:  When you select an object in either the object tree or in the world, the details section provides a variety of different types of detailed information about that object.

Answer and Explanation

12.  True or False:  The details section  contains separate tabs that provide information about the class, the properties, the methods, and the functions belonging to the object.

Answer and Explanation

13.  True or False:  The details section is where you go to construct objects to populate your world

Answer and Explanation

14.  True or False:  The three sets of blue arrows that appear below the world and above the gallery in scene edit mode are used to manually move the objects around in the world.

Answer and Explanation

15.  True or False:  The scene edit mode provides a slider that is used to control the camera lens angle.

Answer and Explanation

16True or False:  The individual buttons in the set of seven buttons in a row near the upper-right corner of the screen in scene edit mode are used to control the position and the orientation of the camera.

Answer and Explanation

17True or False:  The only way to create an object and place it in your world is to select the image of the object in the gallery and drag it into your world.

Answer and Explanation

18.  Which item should not be in the following list?  When you click on the thumbnail for a class in the gallery, a dialog appears that contains information about the object that will be created from the class, including the following:

Answer and Explanation

19True or False:  When you add an object to the world, an item representing that object appears with a specific name in the object tree.  You must use this name later when you write code to animate the world.

Answer and Explanation

20True or False:  You can use your mouse to drag the boundaries that separate the different sections of the Alice development environment in order to reallocate the available space among the different sections.

Answer and Explanation

21True or False:  You can delete an object from the world using any of the following procedures:

Answer and Explanation

22.  Which item should not be in the following list?  The picture of the world that is visible in scene edit mode can be thought of as what you would see when you look through the viewfinder of a camera.  This picture can be changed in several different ways:

Answer and Explanation

23True or False:  Changing the location and orientation of the camera is accomplished using the blue arrows that appear below the picture of the world and above the gallery on the Alice development screen.

Answer and Explanation

24True or False: 

The camera can be moved (translated) in any of four directions:

  1. up
  2. down
  3. left
  4. right

Answer and Explanation

25True or False:  The four blue arrows on the left in Figure 1 are used to move the camera in the following four directions. 

  1. up
  2. down
  3. left
  4. right

Answer and Explanation

Figure 1. View showing some of the manual camera controls.

26True or False:  The arrows that point up and down in the middle group of four arrows in Figure 1 are used to move the camera up and down respectively.

Answer and Explanation

27True or False:  With the camera located at a particular point in 3D space, its orientation can be changed by turning it in any of four directions:

  1. left
  2. right
  3. forward (tilt downward)
  4. backward (tilt upward)

Answer and Explanation

28True or False:  The left and right blue arrows in the center group in Figure 1 are used to turn the camera to the left and to the right respectively.  The top curved arrow on the far right is used to turn the camera backward, causing it to tilt downward.  The bottom curved arrow on the far right is used to turn the camera forward, causing it to tilt upward.

Answer and Explanation

29True or False:  As you perform manual operations to set the stage, if you do something that you are not pleased with, you can reverse the process by clicking the Redo button shown in the button bar near the top of the Alice development screen.

Answer and Explanation

Figure 2. Controls for manipulating the object and the camera.

30True or False:  The only view of the world is the single view shown in Figure 1.

Answer and Explanation

31True or False:  When you select the quad view radio button shown in Figure 2, two additional buttons appear in the group of square buttons near the top of Figure 2.

Answer and Explanation

32True or False:   The effect of switching to quad view is as if you have four additional cameras available, one for each of the four panels that are displayed in quad view.

Answer and Explanation

33.  Which of the following items does not belong in the following list?  Once you have placed an object in the world, you can use the mouse along with the seven buttons in a row in the upper right of Figure 2 to perform the following actions on that object:

Answer and Explanation

34True or False:  If you check the checkbox labeled affect subparts immediately below the buttons in Figure 2, you can select a body part and manipulate it independently of the rest of the object.  If the checkbox is not checked, whatever you do will be applied to the entire object.

Answer and Explanation



Copyright 2007, Richard G. Baldwin.  Faculty and staff of public and private non-profit educational institutions are granted a license to reproduce and to use this material for purposes consistent with the teaching process.  This license does not extend to commercial ventures.  Otherwise, reproduction in whole or in part in any form or medium without express written permission from Richard Baldwin is prohibited.


The following image is the splash screen from Alice 2.0, and is the property of the developers of Alice at Carnegie Mellon.

Answers and Explanations


Answer 34

True

Explanation 34

Back to Question 34
 


Answer 33

E.  Roll the object left and right.

Unfortunately, while there is a tumble button, there is no roll button.

Explanation 33

Back to Question 33
 


Answer 32

False

Explanation 32

Back to Question 32
 


Answer 31

True

Explanation 31

Back to Question 31
 


Answer 30

False

Explanation 30

Back to Question 30
 


Answer 29

False

Explanation 29

Back to Question 29
 


Answer 28

False

Explanation 28

Back to Question 28
 


Answer 27

True

Explanation 27

Back to Question 27
 


Answer 26

False

Explanation 26

Back to Question 26
 


Answer 25

True

Explanation 25

Back to Question 25
 


Answer 24

False

Explanation 24

Back to Question 24
 


Answer 23

True.

Explanation 23

Back to Question 23
 


Answer 22

C.  Swap the locations of the picture of the world and the gallery on the Alice development screen.

It is not possible to swap the locations of the various sections on the development screen.

Explanation 22

Back to Question 22
 


Answer 21

False.  There is no Cut selection in the Alice Edit menu.

Explanation 21

Back to Question 21
 


Answer 20

True.

Explanation 20

Back to Question 20
 


Answer 19

False.

Explanation 19

Back to Question 19


Answer 18

C.  The names of the classes that are used to create the parts that make up the object.

Explanation 18

Back to Question 18


Answer 17

False.

Explanation 17

Back to Question 17


Answer 16

False.

Explanation 16

Back to Question 16


Answer 15

True.

Explanation 15

Back to Question 15


Answer 14

False.

Explanation 14

Back to Question 14


Answer 13

False.

Explanation 13

Back to Question 13


Answer 12

False.

Explanation 12

Back to Question 12


Answer 11

True.

Explanation 11

Back to Question 11


Answer 10

False.

Explanation 10

Back to Question 10


Answer 9

True.

Explanation 9

Back to Question 9


Answer 8

False.

Explanation 8

Back to Question 8


Answer 7

E.  The code edit section.

Explanation 7

Back to Question 7


Answer 6

True.

Explanation 6

Back to Question 6


Answer 5

True.

Explanation 5

Back to Question 5


Answer 4

False.

Explanation 4

Back to Question 4


Answer 3

True.

Explanation 3

Back to Question 3


 

Answer 2

True.

Explanation 2

Back to Question 2


Answer 1

False.

Explanation 1

Back to Question 1


Copyright 2007, Richard G. Baldwin.  Faculty and staff of public and private non-profit educational institutions are granted a license to reproduce and to use this material for purposes consistent with the teaching process.  This license does not extend to commercial ventures.  Otherwise, reproduction in whole or in part in any form or medium without express written permission from Richard Baldwin is prohibited.

The following image is the splash screen from Alice 2.0, and is the property of the developers of Alice at Carnegie Mellon.

-end-