Use cases
1 / 17

Use Cases - PowerPoint PPT Presentation

  • Updated On :

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.

I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
Download Presentation

PowerPoint Slideshow about 'Use Cases' - jaden

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.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.

- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
Use cases l.jpg

Use Cases

Week 8


Refresher class diagrams l.jpg
Refresher – Class Diagrams

Appointment scheduling example

Car Rental example

E-Commerce example

Uml diagrams l.jpg
UML diagrams

  • 9 diagrams

  • Used throughout SDLC

  • Use consistent syntax and notation.

  • Key building block is the use-case.

Use case l.jpg

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

Use case diagrams l.jpg
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.

Use case contains l.jpg
Use-Case contains:

  • Actor

  • Event/Use Case

  • Association

  • System boundary

Example l.jpg

  • Patient Admission system

Example8 l.jpg

  • Car Rental System

Another example l.jpg
Another example

  • E-commerce system

Steps in creating a use case l.jpg
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

In addition l.jpg
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.

Steps in documentation l.jpg
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?

Documentation examples l.jpg
Documentation examples

  • Patient Admission

  • Rent a car

  • Search by Author

Slide15 l.jpg

  • 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

Includes statement l.jpg
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

Examples l.jpg

  • Order Entry

  • Class registration