© 2007 The Smart Method Ltd
67
Session 3: Exercise
1
Consider a Head object. The Head object contains several single objects and several object
Collections. Which of the following are single Objects and which are part of an Object
Collection.
Eye
. Single Object
. Collection
Nose
. Single Object
. Collection
Hair
. Single Object
. Collection
Ear
. Single Object
. Collection
Mouth
. Single Object
. Collection
Tongue
. Single Object
. Collection
Tooth
. Single Object
. Collection
If you are having difficulty with the concept of single objects and object collections slide the page
slightly to the left for some help.
2
Consider a Car object. Which of the following are Properties, which are Methods and which are
Events.
Color
. Property
. Method
. Event
MoveForward . Property
. Method
. Event
Start
. Property
. Method
. Event
HitByStone
. Property
. Method
. Event
BreakDown . Property
. Method
. Event
Make
. Property
. Method
. Event
Model
. Property
. Method
. Event
Stop
. Property
. Method
. Event
If you are having difficulty with the concept of properties, methods and events slide the page
slightly to the left for some help.
3
Name two properties, methods and events that a person object might have.
Slide the page to the left if you need to view some sample answers or to confirm that yours are
reasonable.