Object Oriented Analysis and Design
Object Oriented Analysis and Design
In this Lab we will identify the attributes, methods and other properties of classes. You
will play with IBM Rational Architect software and get familiar with basics.
Activity 1
Draw the Student class given below using the Rational Architect software. Make sure
you include all the attributes and methods given.
Student
+ Firstname
# Surname
- Password
+ LogIn(name,password)
+ LogOut
Activity 2
Mr Major, the town only dentist, has a computer system to help him keep track of
patients' appointments and dental treatment. Mr. Majors receptionist makes
appointments with patients either when they phone up or when they are back in the
waiting room after treatment. Sometimes patients phone to cancel appointments or to
change them. Mr Major Keeps notes on the system about his patients' treatments these
are updated each time he sees a patient. The receptionist also makes out bills for patients
and records payments on the system.
Identify the classes, attributes and methods for the above scenario. You may also assume
additional properties. Draw a class diagram according to UML notation using the Rational-
Architect software.
Activity 3
Part I
Refer the case study and the Issue Bike scenario given in Appendix-I and identify initial
classes and their responsibilities for the Bicycle hire shop case study using the CRC cards
method.
Part II
Draw individual classes with appropriate attributes and methods according to UML
notation regarding to the identified classes during the CRC cards analysis. Decide visibility,
multiplicity, property etc. for each
Appendix-I