Use Cases.

Slides:



Advertisements
Similar presentations
Module 3: Block 3 Call Management
Advertisements

Writing Good Use Cases - Instructor Notes
Use Case Diagrams.
XP New Perspectives on Microsoft Office Word 2003 Tutorial 7 1 Microsoft Office Word 2003 Tutorial 7 – Collaborating With Others and Creating Web Pages.
State of New Jersey Department of Health and Senior Services Patient Safety Reporting System Module 2 – New Event Entry.
1 CREATING AN ADMINISTRATIVE DRAW REQUEST (OCC) Complete a Checklist for Administrative Draw Requests (Form 16.08). Draw Requests amount must agree with.
Child Health Reporting System (CHRS) How to Submit VHSS Data
1 NatQuery 3/05 An End-User Perspective On Using NatQuery To Extract Data From ADABAS Presented by Treehouse Software, Inc.
© Tally Solutions Pvt. Ltd. All Rights Reserved 1 Control Centre December 09.
Course Objectives After completing this course, you should be able to:
Context Diagram Yong Choi BPA CSUB.
Week 2 The Object-Oriented Approach to Requirements
Requirements Diagrams With UML Models
1 How to Enter Time. 2 Select: Log In Once logged in, Select: Employees.
1 CIFTlab1.2 Software for Clinical Diagnostic Laboratories 1.
OOAD – Dr. A. Alghamdi Mastering Object-Oriented Analysis and Design with UML Module 3: Requirements Overview Module 3 - Requirements Overview.
Campaign Overview Mailers Mailing Lists
WebCafé Slide No:1 World Cyber Cafe Association Brings to You Webcafe A Cyber Café Management Software A Software That Will Boost Your Efficiency For Managing.
Microsoft Access.
“The Honeywell Web-based Corrective Action Solution”
Use case tutorial examples.
Use Cases and Scenarios
Use Case Diagrams Damian Gordon.
Systems Analysis and Design with UML Version 2.0, Second Edition
Executional Architecture
1 How Do I Order From.decimal? Rev 05/04/09 This instructional training document may be updated at anytime. Please visit and check the.
GEtServices Services Training For Suppliers Requests/Proposals.
Useful Tips  How to quickly verify if you are logged on or not  Get the full navigation menu window for e- application  What is a time-out and how to.
20&27 May Agenda 1.Highlight the difference between system flow of e- Invoice and paper invoice – 15 minutes 2.Demonstrate the operation procedure.
Sedex: Registration and Account Set Up Instructions
Chapter 11 Describing Process Specifications and Structured Decisions
Chapter 11 Component-Level Design
Presented by: HCN Clinical Operations Team. 2 TopicPage Top Reasons to have and use the Patient Portal3 Sample Portal Websites4 Portal 1016 Meaningful.
TIDE Presentation Florida Standards Assessments 1 FSA Regional Trainings Updated 02/09/15.
Windfall Web Throughout this slide show there will be hyperlinks (highlighted in blue). Follow the hyperlinks to navigate to the specified Topic or Figure.
12-CRS-0106 REVISED 8 FEB 2013 PRESENTS Payment Functionality.
© Copyright 2011 John Wiley & Sons, Inc.
Use Case & Use Case Diagram
© 2010 Bennett, McRobb and Farmer1 Use Case Description Supplementary material to support Bennett, McRobb and Farmer: Object Oriented Systems Analysis.
9/10/2004Use Case Workshop 1 CSC480 Software Engineering Workshop 1 Requirements Modeling.
Information System Engineering
January Ron McFadyen1 Use Cases in the UML Functionality under consideration is represented by use cases (named ellipses) enclosed in a box.
Conversation Form l One path through a use case that emphasizes interactions between an actor and the system l Can show optional and repeated actions l.
SwE 313 Case Study Registration System.
Use Cases & Requirements Analysis By: Mostafa Elbarbary.
CMIS 470 Structured Systems Design
Project Analysis Course ( ) Week 2 Activities.
Software Engineering 1 Object-oriented Analysis and Design Chap 30 Relating Use Cases.
Managing Changing Requirements: Structure the Use Case Model PowerPoint Presentation derived from IBM/Rational course Mastering Requirements Management.
Copyright © 2007, Oracle. All rights reserved. Managing Concurrent Requests.
1 IBM Software Group ® Mastering Requirements Management with Use Cases Module 10: Structure the Use-Case Model.
REQUIREMENTS CAPTURE 1 ASU Course Registration System Use-case Model Actor.
Payroll System Bank System Any bank(s) to which direct deposit transactions are sent. Employee A person that works for the company that owns and operates.
Faculty of Computer & Information
1 Object-Oriented Modeling Using UML CS 3331 Section 2.4 Modeling Requirements with Use Cases.
Use Cases Use Cases are employed to describe the functionality or behavior of a system. Each use case describes a different capability that the system.
REQUIREMENTS CAPTURE 1 ASU Course Registration System Use-case Model.
CS212: Object Oriented Analysis and Design Lecture 32: Use case and Class diagrams.
Scenario A scenario is a sequence of steps describing an interaction between a user and a system. Use case is a set of scenarios tied together by a common.
Phase 6 Start: Saturday14 April End: Saturday 21 April
Use cases Week Use‐case diagram 2 – Depicts the interactions between the system and external systems and users. – Graphically describes who will.
Use Case Diagrams. Introduction In the previous Lecture, you saw a brief review of the nine UML diagrams. Now that you have the clear, you'll start to.
UC Diagram & Scenario RKPL C & D. Using Use Case Diagram Use case diagrams are used to visualize, specify, construct, and document the (intended) behavior.
IS223D: OBJECT-ORIENTED DESIGN
UML Use Case Diagrams.
Start at 17th March 2012 end at 31th March 2012
SAD ::: Spring 2018 Sabbir Muhammad Saleh
Using Use Case Diagrams
Use Case Document Example
Tutorial 3 SSD CT1414 By Nouf Aljaffan.
Presentation transcript:

Use Cases

Question 1 Each waiter is assigned a group of tables, after taking orders for a table the waiters enter the orders (a list of dishes and drinks ordered by the diner or group of diners) into the system at the PC. The waiter usually knows of any dishes that are unavailable before taking an order but occasionally one of the specials will sell out. The system must confirm the availability of dishes. Should an item not be available the system must allow the waiter to change or even delete a customer’s order. Dishes to be prepared are sent to the kitchen, drinks orders to the drink section. Starters and main course orders are usually taken together. Drinks and desert orders may be taken separately. Kitchen staff sees the dish orders on their screen, prepare them in an appropriate sequence and confirm preparation to the system when complete, similarly with the drink section.   When a waiter sees the completion indications on his terminal he collects the items and takes them to the table. The waiter can also check on the status of dish and drink orders. At the end of the meal the waiter will have the system print a bill, and he will enter the details of payment for it. The management can give discounts. The system keeps track of the numbers of customers served by each waiter and the amount of money taken by each waiter. The management can view these statistics.

Question 1 Write down the functional and non- functional requirements. • The Waiter shall enter order of drinks and food into the system • The system shall alert the waiter that the food is out of stock. Then the Waiter shall change or delete the order in the system • The system shall alert the Kitchen staff of the food orders • The system shall alert the Bar staff of the drink orders • Kitchen and Bar staff shall confirm preparation to the system when complete • The system shall alert the Waiter that the drink or food order is ready • The Management should grant a discount from the bill • The Waiter shall use the system to print out the bill • The Waiter shall enter the payment details into the system • The Management shall use the system to view the statistics regard numbers of customers served by each waiter and the amount of money taken by each waiter  Non- functional requirements Experienced users shall be able to use all the system functions after a total of two hours training. After this training, the average number of errors made by experienced users shall not exceed two per day. (Reliability) If the connection between the user and the system is broken prior to an order being either confirmed or canceled, the Online Bookshop System shall enable the user to recover an incomplete order.

Question 1 We should be very careful when specifying non-functional requirements. Why? If you don’t do it right you will build a very elegant software solution that solves the wrong problem. The result is project failure, wasted time and money, personnel frustration, and customer dissatisfaction.

Question 1 Use the following table to identify the: actor and unit of functionality. Actor Unit of Functionality Waiter The Waiter shall enter order of drinks and food into the system The system shall alert the waiter that the food is out of stock. Then the Waiter shall change or delete the order in the system The system shall alert the Waiter that the drink or food order is ready The Waiter shall use the system to print out the bill The Waiter shall enter the payment details into the system   Kitchen staff • The system shall alert the Kitchen staff of the food orders • Kitchen staff shall confirm preparation to the system when complete Bar staff • The system shall alert the Bar staff of the drink orders • Bar staff shall confirm preparation to the system when complete Management • The Management shall use the system to view the statistics regard numbers of customers served by each waiter and the amount of money taken by each waiter • The Management should grant a discount from the bill

Question 1 Draw the use case diagram.

Question 1 Draw the use case diagram.

Question 1 Draw the use case diagram.

Question 1 Write the high level description of all use cases. Use case: Input Order Actors: Waiter Goal: To input an order for a meal Description: When a Diner orders a meal, the Waiter writes down the order and puts it into the system. The system presents this order to the Kitchen staff who prepare the food. Use case: Prepare orders Actors: Kitchen staff and Bar staff Goal: To prepare the orders presented by the system The system presents the meal order to the Kitchen staff to prepare the food. The system also presents the drinks order to the Bar staff to prepare the drink.

Question 1 Use case: Announce order readiness Actors: Kitchen staff and Bar staff Goal: To Alert the Waiter to the readiness of the order Description: The Bar staff prepare the drinks and use the system to send an announcement to the Waiters terminal that they are ready to be served. The Kitchen staff prepare the dishes and use the system to send an announcement to the Waiters terminal that they are ready to be served. Use case: Print Bill Actors: Waiter Goal: To print a bill for the Diner Once the Diner has finished their meal, the Waiter uses the system to print a bill for presentation to the Diner Use case: Input payment details Goal: To input payment details to the system The Waiter takes the payment from the Diner and uses the system to input the details about the payment.

Question 1 Write the high level description of all use cases. Use case: Grant discount Actors: Management Goal: To grant a discount from the bill Description: Management use the system to alter the bill that is to be presented to the Diner. Use case: View statistics Goal: To view statistics Management use the system in order to view various statistics about the Waiters and the amount of money that they have taken.

Question 1 Write the expanded description of the two most important use cases. Take order Take payment

Question 1

Question 1

Question 2 The concrete use cases are Phone Order (initiated by the Customer actor) and Internet Order (initiated by Internet Customer). These are both variations of the more general Place Order use case. To simplify the Place Order use case, the Request Catalog use case and Supply Customer Data use case are used. Draw the use case diagram showing use cases relationships and actors generalization if exist. The Request Catalog use case represents an optional segment of behavior that is not part of the primary purpose of Place Order. The Supply Customer Data use case represents a segment of behavior that was factored out since it is a separate function of which only the result is affecting the Place Order use case. The Supply Customer Data use case can also be reused in other use cases.

Question 2 Draw the use case diagram showing use cases relationships and actors generalization if exist.

Question 2 Identify abstract use cases. What could be changed if Order Registry Clerk actor, who can enter orders into the system on behalf of all kind of customers, are added to the model? *This actor would initiate the general Place Order use case. *The child use cases can add behavior to the structure that the parent use case provides, and also modify behavior in the parent * Place Order can also be specialized by the use cases Phone Order or Internet Order

Question 2 Are use cases always related to actors? Are there exceptions? The execution of each use case includes communication with one or more actors. A use case instance is always started by an actor asking the system to do something. This implies that every use case should have communicates-associations with actors. The reason for this rule is to enforce the system to provide only the functionality that users need, and nothing else. Having use cases that no one requests is an indication that something is wrong in the use-case model or in the requirements.

Question 2 Are use cases always related to actors? Are there exceptions? However, there are some exceptions to this rule: If a use case is abstract (not separately instantiable), its behavior may not include interaction with any actor. In that case, there will not be any communication-associations to actors from that abstract use case. A child use case in a generalization-relationship does not need to have an actor associated with it if the parent use case describes all actor communication. A base use case in an include-relationship does not need to have an actor associated with it if the inclusion use case describes all actor communication. A use case may be initiated according to a schedule (for example, once a week or once a day), which means the system clock is the initiator. The system clock is internal to the system - and the use case is not initiated by an actor, but by an internal system event. If no other actor interaction occurs in the use case, it will not have any associations to actors. However, for clarity, you can use a fictive actor "Time" to show how the use case is initiated in your use-case diagrams.

Concrete and Abstract Use Cases A concrete use case is initiated by an actor and constitutes a complete flow of events. "Complete" means that an instance of the use case performs the entire operation called for by the actor. An abstract use case is never instantiated in itself. Abstract use cases are included in (Include-Relationship), extend into (Extend-Relationship), or generalize (Use-Case-Generalization) other use cases. When a concrete use case is initiated, an instance of the use case is created. This instance also exhibits the behavior specified by its associated abstract use cases. Thus, no separate instances are created from abstract use cases. The distinction between the two is important, because it is concrete use cases the actors will "see" and initiate in the system. You indicate that a use case is abstract by writing its name in italics.

Simple Online shopping portal An online shopping portal allows their customers to browse or buy different items. A customer may buy item(s) or just view the items and logout. If the customer decides to purchase an item, he/she selects the item and adds it to the shopping cart. Once the customer finishes selecting the item(s) the cart can be viewed. The customer can edit the final cart then submit the final cart for payment, or logout from the site without buying the items. The site's administrator can add or update different items in the system, manage the registration of new customer, and ensure the authorization of already registered customers. Draw the use case diagram for this system, without using extends or includes use cases…

Simple Online shopping portal An online shopping portal allows their customers to browse or buy different items. A customer may buy item(s) or just view the items and logout. If the customer decides to purchase an item, he/she selects the item and adds it to the shopping cart. Once the customer finishes selecting the item(s) the cart can be viewed. The customer can edit the final cart then submit the final cart for payment, or logout from the site without buying the items. The site's administrator can add or update different items in the system, manage the registration of new customer, and ensure the authorization of already registered customers. Draw the use case diagram for this system, without using extends or includes use cases…

Online shopping System Browse Items Log in Log out Customer Add item to cart View the cart Edit the cart Make Payment Add new Item Update Item Register Admin Authorize Customers

Question 4 Do the following operations on the use case diagram stated bellow

Question 4 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. Add any other appropriate missing things.

Question 4 Nurse View Schedule <<extends>> Open File

Question 4 Write a high level format for make appointment use case. Write typical course of events and alternatives for make appointment use case.

Use case: Make appointment Actor: Patient (initiator), Nurse. Purpose: To record a new appointment. Overview (Success Scenario): This use case begins when the patient ask a nurse to reserve an appointments with a certain doctor. On completion, an appointment slip is produced. Type: Primary, Essential.

Use case: Make appointment System Response Actor Action 1. This use case begins when the patient come to the nurse or call her to ask for an appointment. 3. Show patient information. 2. The nurse request the patient id from the patient and enter it. 5. System returns all possible appointment dates and times for the specified doctor. 4. Nurse ask the patient for doctor name and department and enter them. 7. Reserves the appointment. 6. Nurse tell the patient about all the possibilities and get from him/her the most desired one, and reserve it. 9. Generate appointment slip. 8. The nurse request the appointment slip. 10. The nurse gives the printed appointment slip to the patient. 11. The patient leaves with appointment slip.

Use case: Make appointment Alternatives: Line 2. If patient was a new one, then a new file should be created; see open file use case. Line 2. If patient forgot ID, provide Phone number. Line 3. If the ID was wrong, the system will display a message to indicate that.