Presentation is loading. Please wait.

Presentation is loading. Please wait.

Tutorial 3 SSD CT1414 By Nouf Aljaffan.

Similar presentations


Presentation on theme: "Tutorial 3 SSD CT1414 By Nouf Aljaffan."— Presentation transcript:

1 Tutorial 3 SSD CT1414 By Nouf Aljaffan

2 Question1 Domain: mail order video company
• Use Case: processing an order • Actors: order processing administrator, customer • Description: Customer make an order. Then customer request video . The new requested video becomes one line on the order (product number, description, unit price, quantity, price, VAT). The system supply many requested videos. Once the customer finish his order , the system display his/ her receipt.

3 Processing an order SSD
: Customer : System MakeOrder() Order Line := *[more items] AddOrderLine(Item ID) Receipt:= FinishOrder()

4 Question 2 Domain Online EStore. Use Case: Remove item from cart.
Actor : customer Description: A customer submits a request for removal to the system. The system displays the cart contents and asks the user to select the item to remove. The user tells the system which item to remove, the system displays the updated cart and the customer receives confirmation from the system that the item has been removed.

5 Remove item from cart SSD
: Customer : System Cart Content := RequestRemoveItem( ) , confirmation message, Updated cart content := *[more items] SelectItem(Item ID)

6 Question 3 Domain: Hospital Use case: Make appointment Actors: Nurses
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.

7 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. Alternative: Alternative at 1. If patient was a new one , then call open file use-case. 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.

8 Make appointment SSD Not Completed : Nurse : System alt
[ReturnedCustomer = YES] PationtFile:= ReserveAppointment( PatientId) [ReturnedCustomer = NO] RegisterNewCustomer ref possible appointment dates := view Availability (DrName, Dep) ChooseDate( ) AppointmentSlip:= print( )


Download ppt "Tutorial 3 SSD CT1414 By Nouf Aljaffan."

Similar presentations


Ads by Google