You are on page 1of 16

The University of the South Pacific

Serving the Cook Islands, Fiji, Kiribati, Marshall Islands, Nauru, Niue, Samoa, Solomon Islands, Tokelau, Tonga, Tuvalu, and Vanuatu.

School of Computing, Information and


Mathematical Sciences
SOLUTION GUIDE

IS323: Information Systems Analysis and Design

FINAL EXAMINATION – SEMESTER 1, 2012

Answer Booklet

Time Allowed 3 hours plus 10 minutes reading

100 marks (50% of final grade)


(There are 16 pages in this booklet including this page)

Name: ________________________

ID Number: ________________________

Page 1 of 16
Section A – Multiple Choice Questions (Each question has only one answer) 

1. (A) (B) (C) (D)

2. (A) (B) (C) (D)

3. (A) (B) (C) (D)

4. (A) (B) (C) (D)

5. (A) (B) (C) (D)

6. (A) (B) (C) (D)

7. (A) (B) (C) (D)

8. (A) (B) (C) (D)

9. (A) (B) (C) (D)

10. (A) (B) (C) (D)

11. (A) (B) (C) (D)

12. (A) (B) (C) (D)

13. (A) (B) (C) (D)

14. (A) (B) (C) (D)

15. (A) (B) (C) (D)

16. (A) (B) (C) (D)

17. (A) (B) (C) (D) (E)

18. (A) (B) (C) (D) (E)

19. (A) (B) (C) (D) (E)

20. (A) (B) (C) (D) (E)

 
 
 

Page 2 of 16
Name: ________________________ID Number: __________
 
Section B – Short Answer Questions (15 marks) 
 
21. List and briefly describe the function of each layer in three‐layer architecture. (3 marks) 
 
Information system application software can be divided into a set of client and server 
processes or layers independent of hardware or locations. Three‐layer architecture 
includes: 
 
• Data layer: Interacts with the database. 

• Business logic layer: Contains the programs that implement the business rules of 
the application. Implements the business processes. 

• View layer: Contains the user interface and other components to access the system. 
Users see this layer, for example, forms, web pages, reports, etc. 
 
 
 
 
22. Explain the differences between a module and a program.(4 marks) 
 
A program is a set of modules that work together to perform all the required functions. 
A module is a relatively small set of statements that carry out a single function.   
 
In this discussion the program is used to represent a computer program, for example, 
MS Word. This program will contain many different modules, for example, a module to 
open a file, another to save the file, and yet another to set the font size, etc. It is 
important for students to know that a module does one specific task. 
 
 
 
 
 
 
 
23. What is the purpose of the automation system boundary? (2 marks) 
 
The automation system boundary defines which processes are going to be automated 
within the computer system, and which processes are part of the environment, or 
manual system. The system boundary, although needed for both structured and object‐
oriented development, needs to be defined explicitly for the structured approach. The 
object‐oriented approach already has the system boundary defined in the use case 
diagram.   
 
 

Page 3 of 16
24. What is the purpose of the sequence diagram? (2 marks) 
 
A system sequence diagram (SSD) identifies the input and output messages to the 
automated system for a use case. The input and output messages describe the inputs 
and outputs to the system. 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25. What are the advantages of purchasing a packaged solution? What are the disadvantages or 
dangers? (4 marks) 
 
Answers will vary but should include most of the following points.  
 
Advantages include: 
• Cheaper 
• Faster 
• Possibility of being more comprehensive 
• Provides support of experienced provider 
• Less development risk 
• Often comes with good training  
 
Disadvantages include: 
• Does not meet specific needs of the organization 
• More risk in long‐term support without in‐house skills 
• System is similar to other organizations, so not for competitive advantage 
systems 
• Long‐term support may be expensive   

   

Page 4 of 16
Name: ________________________ID Number: __________
 
Section C – Systems Analysis and Design Models (30 marks) 
 
Question 26 (6 marks): Event Table 
 
Create an Event Table for the following scenario. The event table should contain the following 
columns: Event, Trigger, Source, Use Case, Response, and Destination. 
 
Book Sales System 
Customers send in order. These are valid or invalid orders. Invalid orders are returned to the 
customers. Details of new customers are added to the customer file. Valid orders are forwarded 
to the dispatch department for shipment of books from the warehouse. Accounts are notified 
and issue of invoices are done and sent to the customer. 
 
Event   Trigger  Source  Use Case  Response  Destination 
Customer wishes to  New order  Customer  Record  Confirmation  Customer 
place order  Order  Valid order  Dispatch 
Dispatch wants to  Valid Order  Dispatch  Fulfill order  Dispatch note  Accounts 
ship order 
Accounts wants to  dispatch  Accounts  Issue  Invoice  Customer 
issue invoice  note  Invoice 
received 
 
   

Page 5 of 16
Name: ________________________ID Number: __________
 
Question 27 (6 marks): Decision Table 
 
A computer supplies firm called True Disk has setup accounts for countless business in Suva. 
True Disk sends out invoices and will give a discount if payments are made within 10 days. The 
discounting policy is as follows: If the amount of the order for computer supplies is greater than 
$1000, subtract 4% for the order; if the amount is between $500 and $1000, subtract a 2% 
discount; if the amount is less than $500, do not apply any discount. All orders made via the 
Web automatically receive an extra 5% discount. Any special order (computer furniture, for 
example) is exempt from all discounting. 
 
Develop a decision table to show the calculation of discount. 
 
Conditions and Actions  Rules 
1  2  3  4  5  6  7 
Order is for computer supplies  Y  N 
Payment made within 10 days   Y  N   
  Order > $1000 500 <= Order <=1000  Order <500   
Orders via Web  Y  N  Y  N   
No Discount          X  X  X 
4% discount  X  X           
2% discount      X  X       
Extra 5% discount  X    X         
 
   

Page 6 of 16
Name: ________________________ID Number: __________
 
Question 28 (5 marks): ERD 
 
A library has many books and many readers. One reader can borrow many books. One book can 
be borrowed by many readers at different time. If a book is lent to a reader, the lending date 
and return date must also be recorded. Attributes about book and reader are given below: 
 
• Book: book number, book name, author, price, publishing date, status; 
• Reader: card number, reader name, gender, address, phone number;  
 
Draw an entity relationship diagram for the above case.  
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
   

Page 7 of 16
Question 29 (10 marks): Structure Chart 
The following is an event‐partitioned data flow diagram for class registration system. Using 
transaction analysis technique, develop a structure chart for it.  
 

   

Page 8 of 16
Name: ________________________ID Number: __________
 

   

Page 9 of 16
Question 30 (3 marks): Designing Classes 
 
Given below is a sequence diagram.  
 

 
 
Create a class diagram showing the methods of each class using the above sequence diagram. 
Do  not  show  any  attributes  and  only  show  those  methods/messages  shown  in  this  sequence 
diagram. You do not have to show any relationships. 
 
   
 

Page 10 of 16
Name: ________________________ID Number: __________
 
Section D: Case Study (Use case diagram, Level 0 DFD, Class Diagram, Sequence Diagram) 
Question 31 (35 marks) 
Refer to the following case study to answer questions (A) – (E). 
 
Patient Record and Scheduling System 
A patient record and scheduling system in a doctor’s office is used by the receptionists, nurses, 
and doctors.  
 
The receptionists use the system to enter new patient information when first‐time patients visit 
the  doctor.  They  also  use  the  system  to  query  available  appointment  slots  and  schedule  all 
appointments.  The  nurses  use  the  system  to  keep  track  of  the  results  of  each  visit  including 
diagnosis and medications. For each visit, free‐form text fields are used to capture information 
on  diagnosis  and  treatment.    Multiple  medications  may  be  prescribed  during  each  visit.  The 
nurses  can  also  access  the  information  to  print  out  a  history  of  patient  visits.  The  doctors 
primarily use the system to view patient history. The doctors may enter some patient treatment 
information  and  prescriptions  occasionally,  but  most  frequently  they  let  the  nurses  enter  this 
information.   
 
For payment purposes, each patient is assigned to a family. The head of family is responsible for 
payment and is also the person with the primary medical coverage. Information about doctors is 
maintained since a family has a primary care physician, but different doctors may be the ones 
seeing the patient during the visit.  
 
One of your team members has contributed by developing an event table and a context diagram 
that you can use. These are given below: 
   
Context Diagram
Patient visit details
Nurse
Prescription details
New appointment
Receptionist Appointment query
New patient infor

prescription
Patient #
Patient Record and  Patient visit history report
Available appointment times
Scheduling System
Patient visit history report
Appointment confirmation
prescription

Patient visit details
Doctor
Prescription details

Page 11 of 16
Event   Trigger  Source  Use Case  Response  Destination 

 
 
 
 
 
 
1. Receptionist wants to enter  New Patient  Receptionist  Record New  Patient #   Receptionist 
new patient information      Patient     
           
2. Receptionist wants to view  Appointment  Receptionist  View available  Available times  Receptionist 
available appointments times.  time    Appointment     
      Times     
           
3. Receptionist wants to book an  New  Receptionist  Make  Appointment  Receptionist 
appointment.  Appointment    Appointment  time   
        confirmation   
           
4. Nurse wants to record patient    Nurse  Record Patient  ‐  ‐ 
visit information.  New Visit    Visit     
      Information     
           
5. Nurse wants to enter  New  Nurse  Record  Prescription #  Nurse 
prescription information.  prescription.    Prescription     
      Information     
           
6. Nurse wants to print patient  Patient  visit  Nurse  Print  Patient  Patient visit  Nurse 
visit history.  history request    Visit History  history   
           
           
7. Doctor wants to record  New Visit  Doctor  Record Patient  ‐  Doctor 
patient visit information.      Visit     
      Information     
           
8. Doctor wants to enter  New  Doctor  Record  Prescription #  Doctor 
prescription information.  prescription.    Prescription     
      Information     
           

Page 12 of 16
9. Doctor wants to print patient  Patient  visit  Doctor  Print  Patient  Patient visit  Doctor 
visit history.  history request  Visit History  history 
 
Name: ________________________ID Number: __________
 
Using the above information, answer the following questions: 
 
(A) Create  a  class  diagram,  showing  the  entity  classes  for  the  Patient  Record  and  Scheduling 
System.  Show  the  classes,  the  relationship/association  between  the  classes  and  the 
multiplicity  of  the  relationships.  You  do  not  have  to  show  any  attributes.  Assume  the 
following nouns were identified (Patient, Appointment, Visit and Prescription) (5 marks) 
   
FamilyInsured Patient Appointment
0..*
Date
Name Time
Name of Family Head 1 1..* Gender 1
Reason
Address Birthdate
Telephone LastVisitDate
Insurance Carrier Allergies
Policy number Notes 0..1

1..* 1

hasPrimaryCare
1
0..*
Doctor Perscription
Visit 0..!
Name Date
Specialty Weight 1 0..* Date
Address Blood Pressure Medication
1 1..*
Telephone Temeperature Dosage
PagerNumber Reason NumberRefills
SSN Diagnosis Notes
Treatment Notes

Page 13 of 16
(B) Create  an  Event  Partitioned‐Level  0  DFD  diagram  for  the  Patient  Record  and  Scheduling 
System. (10 marks) 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
   

Page 14 of 16
Name: ________________________ID Number: __________
 
(C) Create  a  use  case  diagram  for  the  Patient  Record  and  Scheduling  System  capturing  the 
functional requirements. (10 marks) 

Enter New Patient


Information

Receptionist
Schedule Appointments

Record Office Visit Info

<<includes>>

Enter Prescription Info


Nurse

Print History Reports

View Patient History

Doctor

(D) Based  on  your  use  case  diagram,  what  is  your  initial  estimate  of  the  number  of  boundary 
classes that you would need for your information system? (2 marks)  
 
6 boundary classes‐one for each use case.
   

Page 15 of 16
(E) One of the events of the Patient Record and Scheduling System the receptionist booking an 
appointment. The following description provides an idea of how this can be achieved. 
       (Assume the appointment is made by a new patient) 
 
Patients either visit or call the receptionist to request for an appointment. The receptionist 
checks  the  system  for  available  appointment  times  and  advices  the  patient.  The  patient 
confirms  an  appointment  time  and  provides  details  such  as  name,  address,  date  of  birth, 
and previous physician. The Receptionist then feeds this information in the system. After the 
system validates all the entered information, it saves the new patient record in the patient 
file,  records  the  appointment  time,  issues  a  new  patient  #  and  produces  an  appointment 
confirmation.    The  receptionist  then  informs  the  patient  of  his  new  patient  #  and  notifies 
him on the confirmation of the appointment time.  
 
Create a complete sequence diagram for the above scenario. (8 marks) 
 
 
 
 
 
 
 
 
  :Appointment UI :Appointment Controller :Patient :Appointment
;Appointment :patient
DA DA
  Top Package:::
  Receptionist
CheckTimes (time)
 
Get_Available_Time(Time)
 
AvailableAppointmentQuery(Time)
 
  FormatResponse()

 
  MakeBooking(Time,PatientInfor)
  MakeBooking(time,patientinfor)

 
  ValidateInfor()
  SetAppointment(Time)
  SaveAppointment()
 
 
Setpatient(patientinfor)
 
SavePatient()
 
 
 
  DisplayConfirmation()

End of Answer Booklet

Page 16 of 16

You might also like