The actor is a Cook and the system is the local pantry. The goal is for the Cook to prepare grilled cheese sandwiches at the pantry. On Saturday morning at 11:30 AM, the Cook triggers the use case by beginning to prepare grilled cheese sandwiches using the supplies available at the pantry to provide a meal for those in need.
The actor is a Cook and the system is the local pantry. The goal is for the Cook to prepare grilled cheese sandwiches at the pantry. On Saturday morning at 11:30 AM, the Cook triggers the use case by beginning to prepare grilled cheese sandwiches using the supplies available at the pantry to provide a meal for those in need.
The actor is a Cook and the system is the local pantry. The goal is for the Cook to prepare grilled cheese sandwiches at the pantry. On Saturday morning at 11:30 AM, the Cook triggers the use case by beginning to prepare grilled cheese sandwiches using the supplies available at the pantry to provide a meal for those in need.
- Is a description of how a person who actually uses that process or a system will accomplish a goal. - A collection of interactions which delivers a valuable result to a user. 3 ELEMENTS OF A USE CASE
1. Actor - An entity that acts on the system, a
person or a group of person or another system. 2. System -Is the process that’s required to reach the final outcome. 3. Goal – Desired outcome of the primary actor. 3 ELEMENTS OF A USE CASE
1. Actor - An entity that acts on the system, a
person or a group of person or another system. 2. System -Is the process that’s required to reach the final outcome. 3. Goal – Desired outcome of the primary actor. ADDITIONAL ELEMENTS THAT ARE INCLUDED IN COMPLEX USE CASE: 1. Stakeholders – are those who have an interest in how the system turns out, even if they aren’t direct user. 2. preconditions – things that must be true before a use case is run. 3. Triggers – events that occur for a use case to begin. STYLES OF USE CASES • Use case diagram- UML( unified modeling language) • Informal use case- a short paragraph • Formal use case- a multi-part structured description. EXAMPLE OF INFORMAL USE CASE
• The Library Patron reports to the librarian that
she has lost a book. The librarian prints out the library record and asks patron to speak with the head librarian, who will arrange for the patron to pay a fee. The system will be updated as well. The head librarian may authorize purchase of a replacement book. EXAMPLE OF A FORMAL USE CASE Goal Patron wishes to reserve a book using the online catalog. Primary actor Patron Scope Library system Level User Precondition Patron is in the login screen Success end Book is reserved Failure end Book is not reserved condition Trigger Patron logs into the system
EXAMPLE 2:
A Driver is looking to get from
Boston to New York city. ASSESSMENT • Make a USE CASE: ON SATURDAY MORNING AT 11:30, THE COOK PREPARES GRILLED CHEESE SANDWICHES AT THE LOCAL PANTRY.