Monday, March 22, 2010

Learning & Assessment Activity



This activity is preparation for assessment item 2.

Part One: Translate the following scenario into a class diagram using the classes, states, behaviors & relationships identified.
The scenario:

A hermit lives in a cave. The cave's location within the world is determined by x, y & z coordinates. The hermit's name is Freeda and she is 100 years old. Many animals also live in the cave and they can talk. All of the animals have a first name & age. There are bats which fly & screech & there are lizards that run, hide & sing.


Part Two: Translate the class diagram into VB.NET code.

Note: You are only required to fully implement behaviors that are getters, setters or constructors - other behaviors, such as 'talk', should simply appear as behavior signatures.

Part Three: Publish a screenshot of your class diagram, along with the scenario description to your blog

No comments:

Post a Comment