UNIVERSITY EXAMINATIONS: 2017/2018
EXAMINATION FOR THE DEGREE OF MASTER OF SCIENCE IN
INFORMATION SYSTEMS MANAGEMENT / MASTER OF SCIENCE IN
MISM 5104/MDA 5104: OBJECT ORIENTED TECHNOLOGIES
DATE: NOVEMBER, 2017 TIME: 2 HOURS
INSTRUCTIONS: Answer Question One & ANY OTHER TWO questions.
Your company has been asked to design an appointment system for a health centre. You have
been given the following description of the organization:-
The health centre keeps information about a number of different people. These include patients
and employees. There are three types of employee: doctors, nurses and administrative staff. The
information held on these people includes their name, address and telephone number. A medical
history is maintained for each patient including information about their blood pressure, allergies
etc. Appointments can be scheduled for patients with an available doctor. Details of the date,
time and reason will be held for each appointment. As a result of the appointment, the doctor will
typically identify certain symptoms and prescribe a course of treatment for the patient. The
information held on each treatment will include details of medication and any important
Draw a class diagram modeling the situation described in the above paragraph.
Justify your answer.
Marks will be awarded for:-
a) Correct diagram syntax. (5 Marks)
b) Correct representation of relationships.
c) Appropriate allocation of attributes to classes.
d) Well argued justification. (5 Marks)
Most modern development methods are based on an object-oriented approach to systems
a) Describe the principal characteristics of an object-oriented software system.
b) Why is it important for an object-oriented development method to be architecturecentric? (4 Marks)
c) What does it mean for an object-oriented development method to be iterative and
incremental? ( 5 Marks)
d) What does it mean to say that a development method is “use case driven”?
A dentist has asked for a system to help with scheduling appointments at her busy surgery. The
system should also help with billing customers. Following an initial visit, a systems analyst has
identified and documented a number of key use cases. The following is a short description of the
“Make Appointment” Use Case.
The patient contacts the surgery requesting an appointment.
The receptionist finds the patient in the patient database.
The receptionist checks to see if the patient has any outstanding bills.
The receptionist asks the patient for possible appointment times.
The receptionist matches the patients desired appointment time with available appointment times
and schedules the appointment.
a) Draw a communication diagram (also known as a collaboration diagram in earlier
versions of the UML) from the above use case description.
b) Convert your communication diagram into a sequence diagram. Explain any assumptions
you have made.
c) Why does UML support both sequence and communication diagrams?
d) Explain how use cases and class diagrams are related to communication diagrams. What
types of check should be carried out to ensure that the different models are consistent?
Explain your answer with reference to the dentist example provided above.
a) Explain the purpose of state charts. (3 Marks)
b) Draw a state chart to model the behavior of the Patient in the following scenario:-
The patient arrives at the hospital where he is checked in, and then admitted to the
emergency room. The patient is looked at by a doctor. If the doctor declares the patient to
be healthy he is released from the hospital. If the doctor finds the patient to be unhealthy,
he is kept under observation until considered to be healthy enough for release.
c) Describe the type of class that is best represented by a state chart. Give THREE examples
of classes that should be represented by state charts and explain why.