Download presentation
Presentation is loading. Please wait.
Published byArleen Austin Modified over 9 years ago
1
Use Cases Week 8 CMIS570
2
Refresher – Class Diagrams Appointment scheduling example Car Rental example E-Commerce example
3
UML diagrams 9 diagrams Used throughout SDLC Use consistent syntax and notation. Key building block is the use-case.
4
Use-Case Requires you to break system into use cases, small logical pieces of the system and deal with each separately. In contrast, DFDs and ERDs encompass the entire system in one diagram.
5
Use-Case Diagrams Graphical specification of the system’s behavior from the perspective of the user(s). Describes what the system does without describing how the system does it. They are used to identify and communicate the high-level business requirements for the system.
6
Use-Case contains: Actor Event/Use Case Association System boundary
7
Example! Patient Admission system
8
Example Car Rental System
9
Another example E-commerce system
10
Steps in creating a Use-Case 1. Identify use-cases (find major functions) 2. Draw the system boundary 3. Place use-cases on the diagram (6-8 use-cases per diagram) 4. Identify the actors 5. Add associations
11
In addition… Text documents to document use-cases since use-case diagram does not describe how those use cases are carried out by the actors. When describing the use-case, you should focus on its external behavior – how it interacts with the actors, rather than how the use case is performed inside the system.
12
Steps in Documentation 1. Create a use case template that has areas labeled Basic Course and Alternative Courses. 2. Ask “What happens?” 3. Ask “And then what happens?” 4. Ask, “What else can happen?
13
Documentation examples Patient Admission Rent a car Search by Author
15
TIPS Think usage scenario rather than functional requirements. Describe usage rather than attributes and methods. Don’t write use-case too tersely. Don’t ignore system responses. Don’t forget alternative courses of action
16
Includes statement When one use-case needs to use another use-case Two types Internal – only other use-cases reference Both external actors and internal use-cases reference
17
Examples Order Entry Class registration
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.