Professional Documents
Culture Documents
MODULE AND CODE: ADVANCED SYSTEMS ANALYSIS & DESIGN (ISTN 3SA)
NB:
STUDENTS ARE REQUESTED IN THEIR OWN INTERESTS TO WRITE LEGIBLY
AND IN INK. DIAGRAMS CAN BE DRAWN USING PENCIL.
1. There are 6 numbered pages including this cover sheet, containing 6 questions altogether.
Ensure that you have all pages.
3. Please write your STUDENT NUMBER and NAME on the cover of the answer booklet.
2
UNIVERSITY OF KWAZULU-NATAL
COLLEGE OF LAW AND MANAGEMENT STUDIES
SCHOOL OF MANAGEMENT INFORMATION TECHNOLOGY & GOVERNANCE
TEST 2: 22 APRIL 2017
MODULE AND CODE: ADVANCED SYSTEMS ANALYSIS & DESIGN (ISTN 3SA)
1.1 Describe two ways how the class diagram can be used to produce the requirements
analysis model. (2 marks)
1.2 In three ways, how would you distinguish between patterns and frameworks?
(3 marks)
1.3 Provide three structural elements that are found in most object constraint language
statements. (3 marks)
1.4 Provide the definition for any one trigger in State Machines. (1 mark)
2.1 According to Rumbaugh, how is design different from Analysis? Provide any two
differences. (2 marks)
2.5 Define an interface in Unified Modelling Language. Draw any one of the notations of an
interface. (2 marks)
Scenario:
Green Life is a multi-speciality hospital serving mankind to preserve good health. The
hospital has two divisions: Business division where people are charged for their treatment
and Charity division where people are served at free of cost for their treatment. Since the
activities within the Charity division are constantly increasing, the management of the
hospital, Green Life has decided to develop an information system to automate its Charity
division.
As part of the Charity division, the hospital provides different health programs for the patients
in different age categories (for example kids, adults and senior citizens). One patient can
register for the many health programs depending upon his/her eligibility. Many patients may
be registered for one health program.
The management of the hospital does not employ staff members for the health programs.
The staff members serving in the programs are volunteers from society. The staff members
can be doctors and nurses. Every health program is scheduled for certain days and the
patients can choose their day of visit.
The doctors prescribe medicines and/or clinical laboratory tests for the patients depending
upon their illness. One patient can be treated by many doctors or nurses and one doctor or
nurse can treat many patients. As part of the treatment, a patient may be prescribed many
prescriptions for medicine over a period of time for a patient and one prescription is
prescribed for one and only patient. Similarly, the doctor may prescribe many prescriptions
for a clinical laboratory test over a period of time and one clinical laboratory test can be
prescribed for one and only patient.
For the health program – its name, short description, and age range of the patients.
For patients – name, date of birth, age, phone, guardian, and referring doctor.
4
UNIVERSITY OF KWAZULU-NATAL
COLLEGE OF LAW AND MANAGEMENT STUDIES
SCHOOL OF MANAGEMENT INFORMATION TECHNOLOGY & GOVERNANCE
TEST 2: 22 APRIL 2017
MODULE AND CODE: ADVANCED SYSTEMS ANALYSIS & DESIGN (ISTN 3SA)
For staff – staff name, phone, qualification, doctor’s speciality, and nurse ward
number.
For the medicine prescription – name (medicine), date, category, duration and
dosage.
For the clinical laboratory test prescription – name (laboratory), date, category, test
name, and result.
3.1 The following use cases can be identified for the Charity division’s health program
system.
Draw ONE use case diagram based on the above use cases. Identify the appropriate user
that interacts with the system. Demonstrate the application of <<include>> and <<extend>>
relationships, and indicate the name of the (sub) system using appropriate notations.
(5 marks)
5
UNIVERSITY OF KWAZULU-NATAL
COLLEGE OF LAW AND MANAGEMENT STUDIES
SCHOOL OF MANAGEMENT INFORMATION TECHNOLOGY & GOVERNANCE
TEST 2: 22 APRIL 2017
MODULE AND CODE: ADVANCED SYSTEMS ANALYSIS & DESIGN (ISTN 3SA)
3.2 The interaction for the use case, Treat Patient described as follows.
A registered patient visits the hospital for treatment. The administrator request the
patient details from the system. The system provides the patient details from the
patient object. From the patient’s information the administrator determines the age
of the patient and provide the patient’s details to the doctor concerned. The doctor
treats the patient and makes a prescription accordingly. The prescriptions are stored
in the appropriate object. The administrator prints a copy of the prescription for the
patient.
Draw a sequence diagram for the use case, Treat Patient based on the above scenario.
Indicate all actor(s), object(s), and interactions. Also note that all processes are repeated
several times for many patients. You are not required to use boundary or control objects.
(5 marks)
Draw an analysis class diagram using the narrative described in the scenario above. Your
class diagram should identify all the classes, associations, multiplicities, attributes and
operations as required for the scenario. Identify the operations with polymorphic behaviour
and distribute them appropriately to all classes. (11 marks)
From the analysis class diagram that you derived as the answer for the question 4, consider
the class diagram segment given below. (Note: The attributes and operations indicated in
the class diagram segment below are NOT the appropriate attributes and operations.) You
are expected to provide attributes and operations in addition to your answer for question 4
as the attributes and operations for the classes given below to answer this question.
As a system designer, design the association between the classes “Patient” and “Staff”.
Redraw the class diagram by including all necessary attributes, operations (at least four)
and any other class/es if required. Show all the associations with multiplicity between
classes clearly.
6
UNIVERSITY OF KWAZULU-NATAL
COLLEGE OF LAW AND MANAGEMENT STUDIES
SCHOOL OF MANAGEMENT INFORMATION TECHNOLOGY & GOVERNANCE
TEST 2: 22 APRIL 2017
MODULE AND CODE: ADVANCED SYSTEMS ANALYSIS & DESIGN (ISTN 3SA)
The details (such as, name, address, logo, registration, etc.) of the Green Life hospital are
required to appear in different interfaces and in all reports that are generated. The class to
achieve the above requirement is given below.
Irrespective of the number of instances to use the hospital details, only one instance of the
above class is sufficient to exist and should be used for display and reports.
6.1 Name the pattern that should be used to solve this problem. (1 mark)
6.2 Redraw the class using the pattern you identified in question 6.1. (3 marks)
6.3 List and explain each component that you have included to apply the pattern in question
6.2. (3 marks)