Exercise 3

Find the Objects, Object Relations and Operations

Consider an automatic coffee machine:

The machine has a panel with two buttons (Coffee and Chocolate). When one of these buttons is pressed, a plastic cup drops into position. After this, a dose of instant coffee or chocolate and some hot water are mixed in the cup. Voila!

Your task is to design the Control Unit software for this machine.

Find the necessary objects and object relations. In addition, think about the behaviour of the machine, and identify the necessary operations for each object.

Hints


previous | next | start | contents | dictionary | help | evaluation

© Ericsson Telecom AB, 1995, Stockholm, Sweden