To Activities
LSP 121 -- Homework 5
Objects and Algorithms
Part A: Objects, Properties, and Methods (50 points)
- Design an object similar to an Alice object.
List the properties and methods for your object.
Do not use a BasketballPlayer
or copy an Alice object verbatim. You may modify an Alice Object.
- Recall that the properties and methods of an Alice object are
shown in the Details Area in the lower left of the IDE.
- Provide 5 or more properties and 5 or more methods.
Part B: Algorithms (50 points)
- Design an algorithm that describes an activity in everyday life.
- Your algorithm should have at least one loop, while-statement,
or if-statement.
- Do not use the
Washing Dishes or
Sorting Mail algorithms
for your submission.
- Your algorithm should be formatted like the Washing Dishes
or Sorting Mail algorithm. Pay particular attention to the
indentation.
- The algorithm for an Alice method is shown in the Details Area
when the method is being edited.
Grading for Both Parts
- Grading: Correct 70%; Original 15%; Interesting 15%.