To Lecture Notes

LSP 121 -- 11/4/10

 

Review Questions

  1. What are the names of the main work areas in the Alice environment?

    Ans: Object Tree Window, Details Window, Method Editor Window, Event Window, World Window.

  2. What do the following Alice terms mean?

  3. What is the name of the world startup method?

    Ans: my first method

 

Common Alice Tasks

  1. How do you add an object to the Alice World?

    Ans: In the World Window, click the Add Objects button. In the Local Gallery, select a theme such as Animals or Beach >> Select an object in that theme >> Add Instance to World.

  2. How do you resize or reposition an object?

    Ans: If you are not in Add Objects mode already, click the Add Objects button in the World Window. Click one of the Move Objects buttons. The choices for these buttons are

    To exit Add Objects mode, click the Done button on the right.

  3. How do you view all the methods of an object>

    Ans: Select the object in the Object Tree Window >> Select the methods tab. The methods for the selected object will appear in the Details Area.

  4. How to you edit my first method?

    Ans: Select the world.my first method tab in the Editor Area if this method is already open. If it is not open, select world in the Object Tree >> Select the methods tab in the Details Area >> Select the edit button for my first method.

  5. How do you change the color of an object?

    Ans: Select the object in the Object Tree Window. Select the properties tab in the Details Window >> Change the color using the dropdown menu for the color property.

  6. How do you change the startup event?

    Ans: Delect the event "When the world starts, so" in the Events Area >> Click the create new event button >> Select When a Key is Typed >> Replace "any key" in the event to the key of your choice >> Replace Nothing by the desired event. Add more events if required.

  7. How do you make an object say something?

    Ans: Edit my first method or edit a method that is called by my first method >> Select the object in the Object Tree >> Select the methods tab in the Details Area >> Drag object.say onto the Details Area >> Select Other and type what you want the object to say.

 

Turn vs. Roll

 

Activity 12