Multiple Document Interface (MDI)

Download Report

Transcript Multiple Document Interface (MDI)

Tutorial 2
Use case
CT1414 Nouf Aljaffan
Q1 : Redraw the UC Diagram
Manage
Web site
Manage
content
Manage
blog
Manage
Enterprise Web
site
login
Manage
blog
contents
Manage
Enterprise Web
site content
Manage
forgotten
password
Consider you have
three actors
• Webmaster
• Blogger
• Enterprise
Webmaster
Complete the UC
diagram
Q2:Redraw the UC Diagram
Q2:
Enrolment System
Q3
a. Update the use case diagram such that




a new patient can open a file.
also nurses help in making appointments and
they can view a schedule.
also, Management and doctors can view the schedule.
Q3 –Use-case diagram
System
Nurses
Make App
Patient
Produce Sch
«inherits»
Management
View Sch
Rec Avail
Open File
Doctor
New Patient
Q4: Full UC description
b. Write a high level format for make appointment
use case



Use case: Make appointment
Actors: Nurses and Patient
Description: This use case begins when the customer
ask the nurses to reserve an appointments with a
certain doctor and date and produce an appointment
slip.
Q4: Typical Course of Event
Actor action
System response
1. This use-case begins when the patient come to
the nurse or call her to ask for an appointment.
2. The nurse request the patient id from the
patient and enter it
3. System pulls up patient
file
4. Nurse ask the patient for doctor name and the
department and enter it to the system
5. System returns all
possible appointment dates.
6. Nurse tell the patient about all the possibilities
and get from him/her the most desired one, and
enter it to the system to reserve it.
7. System reserves app
8. The nurse request to print an appointment
slip
9. system prints app slip
10. The patient get the slip and go.
Q4 : Alternatives
Alternative:
Alternative at 1. If patient was a new one , then call open file usecase.
Alternative at 2 . If patient forgot ID, provide name or Phone
number
Alternative at 2 . If the ID was wrong, the system should display a
message to indicate that.
Q5
A website that allows
 store owners to register on the site
 store owners can add items to the store
 update their store items
 delete an item and
 view statistics of sale on the website.
 Web site administrator can look at reports,
 help stores to register,
 delete a store.
 Customers can browse items, buy item, pay by credit card, see balance.
Q5
Register
CAS & ARS
How dose the system process the “pay by credit”
use case?




When the user enter his/her credit card information and click “buy”, the
system will generate a credit payment request and send it to credit
authorization service system – CAS
CAS will process the request and send a credit approval if nothing
wrong the website.
The website will post (records) the payment and approval replay
information to the account receivable system (ARS) .
ARS Represents money which is owed to the website from a customer for
items provided to the customer on credit