Professional Documents
Culture Documents
Aggregation examples:
①City-Tree :There can be many trees in a city, and trees can also exist
independently outside the city (such as in the countryside, mountains).
②Company-Staff :Companies can have different employees, and
employees can belong to different companies.
Composition examples:
①Hand-Singer : Fingers are indispensable components of hands,
which are inseparable.
②School-Classes : Schools can't have no classes, and classes can't
be separated from schools.
2. Draw Class diagram for library system with following classes: Member,
Librarian, Teacher, student, copy, and book.
Describe each of the following elements what they mean (one word or a
short sentence)
Attributes, Member variable
Methods, Function
Relationships Contact
Multiplicity. Different behaviors of the same behavior
5. Develop the Use Cases for East China University of Technology (ECUT)
Registration System.
– Professors indicate which courses they will teach on-line.
– When the registration is completed, the system sends information to the billing
system.
– Tour Group customers are those who have made reservations through a tour
operator in advance, while Individual customers make their reservations directly
with the hotel
– Both types of customers can book, cancel, check-in and check-out of a room by
phone or via the Internet