Published: May 1, 2007
Last updated: June 5, 2007
By Richard G. Baldwin
File: Alice0120PracticeTest.htm
1. True or False: Every Alice object has, or at least can have:
2. True or False: The current properties, methods, and functions belonging to an object can be exposed by:
3. True or False: A property is a value stored in an object that specifies the real estate owned by the object.
4. True or False: A method is a set of instructions, grouped together in a special way and given a name as a group. The instructions in the method can be executed by the object to cause it to do something that it is asked to do.
5. True or False: Every object has a group of built-in methods, commonly referred to in Alice literature as primitive methods. Some objects also have special methods in addition to the primitive methods that are often called custom methods. In addition to those methods, you can create your own methods by clicking a button that reads create new method.
6. True or False: In all cases, the names of the primitive methods will tell you exactly what will happen when the method is called on an object.
7. True or False: Even if the name of a primitive method doesn't adequately describe its purpose and behavior, in most cases you can call the method interactively on a specific object and observe its behavior on the screen. Custom methods and methods that you create can also be called interactively.
8. True or False: A function is a set of instructions, grouped together in a special way and given a name as a group.
9. True or False: According to the Alice terminology, a function causes an object to perform an action such as to move in a prescribed direction for a specified distance. A method returns a value, such as the width of the object to which the method belongs.
10. True or False: You can call methods interactively to manipulate objects as an alternative to using the mouse for that purpose.
11. True or False: You can write the code to cause an object's methods to execute in sequential order, or you can write code to cause them to execute concurrently. You can write code to cause them to execute repeatedly, and you can write code to cause the methods that are selected for execution to depend on some other circumstance (selection).
12. True or False: It is possible to call an object's methods interactively, one at a time, during the development process. This provides at least the following two benefits:
13. True or False: People who write programs that manipulate objects in 3D space think in terms of a 3D coordinate system where a specific point or location in that coordinate system is specified by four coordinate values.
14. True or False: Directions in Alice are typically referred to as UNDER, OVER, RIGHT, LEFT, UP, and DOWN, rather than by using the more abstract mathematical concepts that are common in other 3D programming environments.
15. True or False: The Alice terminology for the combined position and orientation of an object is viewpoint or more correctly pointOfView.
16. True or False: Many programs need to establish an absolute viewpoint or pointOfView for every object in the world when the program starts running.
17. True or False: Most objects in an Alice world have a center point but a few objects such as objects of the Penguin class and the Coach class don't have a center point. They have a set of orthogonal axes instead.
18. True or False: When you create a new world by selecting a ground template from the welcome screen and then use the long approach to add an object to the world, the center points for the world object, the ground object, and the object from the gallery will all be aligned.
19. True or False: Depending on how you set your preferences, you can cause various types of information to be displayed in any one of four different formats in Alice.
20. True or False: Just like in real life, it is physically impossible for two objects, such as an ice skater and a parking meter to occupy exactly the same space in Alice.
21. True or False: Sometimes when you need to enter a numeric value, the value that you need to enter won't appear on the menu. In this case, you can select other from the menu. This will cause a numeric keypad to appear on your screen. You can use your mouse to enter the numeric value and click the Okay button.
22. True or False: The menus that are used to construct rotation parameters in Alice are given in degrees.
23. True or False: While it is possible to interactively call methods on any object that you create from the classes in the gallery, it is not possible to interactively call methods on the camera, the light, or the ground.
24. True or False: You can interactively make the following method calls to relocate the camera to a position that is ten meters away from the center point of the ground, located 1.5 meters above the ground, and oriented toward the northwest (where the blue axis belonging to the ground points to the south).
25. True or False: To rotate an object around its red axis, (often referred to as yaw), call the turn method and specify either LEFT or RIGHT as a parameter.
26. True or False: To rotate an object around its red axis, (often referred to as pitch), call the turn method and specify either FORWARD or BACKWARD as a parameter.
27. True or False: To rotate an object around its blue axis, (often referred to as roll), call the roll method and specify either LEFT or RIGHT as a parameter.
28. True or False: To rotate an object around its green axis, (often referred to as yaw), call the turn method and specify either LEFT or RIGHT as a parameter.
29. True or False: For the case where you can see any two of the three axes, but you can't see the third axis, you can always figure out what the direction of the missing third axis is.
30. True or False: When you rotate an object around one of its axes, one of the three axes will end up pointing in a different direction and the other two axes will continue pointing in the same direction as before..
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.
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-