1 / 17

Use Cases

Use Cases . Week 8 CMIS570. Refresher – Class Diagrams. Appointment scheduling example Car Rental example E-Commerce example. UML diagrams. 9 diagrams Used throughout SDLC Use consistent syntax and notation. Key building block is the use-case. Use-Case.

jaden
Download Presentation

Use Cases

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  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

  14. 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

  15. 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

  16. Examples • Order Entry • Class registration

More Related