
















































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
OOADThis system provides the basic services to manage
Typology: Slides
1 / 56
This page cannot be seen from the preview
Don't miss anything!
USE CASE MODELING
Review of Use Case Diagrams: 3 Important Terms An actor represents a role, that is, a type of user of the system Student DoHomework Used during requirements elicitation and analysis to represent behavior visible from the outside of the system Use case model : The set of all use cases that completely describe the functionality of the system. A use case represents a class of functionality provided by the system
Actor Student An actor is a model for an external entity which interacts with the system: EndUser, Administrator (^) External system (Another system) Physical environment (e.g. Weather) An actor has a unique name and an optional description Examples: Student : A studying person (^) Teaching Assistant : Member of teaching staff who supports the instructor. Random Number generator Name Optional Description
Use Case DoHomework
Use Case To find use cases ask :
Verb with an object e.g. Place Order
an Oval with name inside Place Order GetStatus OnOrder
Use Case Model Use case diagrams represent the functionality of the system from user’s point of view Actor. Use Case System boundary Classifier
Example of a Use Case Diagram Telephone catalogue Customer Salesperson Shipping Clerk Supervisor Check status Place order Fill orders Establish credit
Example of a Use Case Diagram Move Right Fire Laser View High Scores Play Game Player Move Left
Example: Mail order system
Textual Use Case Description Example
1. Name: DoHomework 2. Participating actor(s): Student 3. Entry condition: (^) Student received exercise sheet Student is in good health 4. Exit condition: (^) Student delivered solution 5. Flow of events: 1. Student fetches the exercise sheet 2. Student reads through the assignments 3. Student processes the assignments and types the solution in his Computer. 4. Student prints out the solution 5. Student delivers the solution in the following exercise 6. Special requirements: None.
Example
Customer − the person who buys products from BookStore ; Shopkeeper − the person who is responsible for carrying on business in the shop; System Administrator − the person who manages the web-based system;
Use Cases Find
20 Use case example Use case: ManageBasket ID: UC Actors: Customer Preconditions: