Upgrade to Pro — share decks privately, control downloads, hide ads and more …

CSC308 Lecture 24

CSC308 Lecture 24

Software Engineering I
Use Case Diagram
(202303)

Javier Gonzalez-Sanchez
PRO

March 16, 2023
Tweet

More Decks by Javier Gonzalez-Sanchez

Other Decks in Programming

Transcript

  1. jgs
    CSC 308
    Software Engineering 1
    Lecture 24:
    Use Case Diagram
    Dr. Javier Gonzalez-Sanchez
    [email protected]
    www.javiergs.com
    Building 14 -227
    Office Hours: By appointment

    View Slide

  2. jgs
    Previously …
    Use Case Diagram

    View Slide

  3. jgs
    Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 3
    a) Actors
    b) Use Cases
    a) Relationships
    Diagram
    child father
    base addition
    extension base
    << include >>
    << extend >>

    View Slide

  4. jgs
    Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 4
    § Show that behavior of the included use case (addition) is inserted into
    the behavior of the including (base) use case.
    § A dashed line with an open arrowhead directed from the including use
    case (base) to the included (addition) use case. The arrow is labeled with the
    keyword «include».
    § The include relationship is used to (1) simplify large use case by splitting it into
    several use cases, (2) extract common parts of the behaviors of two or more
    use cases.
    Inclusion
    base addition

    View Slide

  5. jgs
    Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 5
    § Extending use case defines optional behavior that is not necessarily
    meaningful by itself.
    § Extend relationship is shown as a dashed line with an open arrowhead
    directed from the extending use case to the extended (base) use case.
    The arrow is labeled with the keyword «extend».
    Extension
    base extension

    View Slide

  6. jgs
    Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 6
    Include vs Extends

    View Slide

  7. jgs
    Test Yourselves
    Use Case Diagram

    View Slide

  8. jgs
    Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 8
    Example

    View Slide

  9. jgs
    Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 9
    Example

    View Slide

  10. jgs
    Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 10
    Thoughts?

    View Slide

  11. jgs
    Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 11
    Thoughts?

    View Slide

  12. jgs
    Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 12
    Thoughts?

    View Slide

  13. jgs
    Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 13
    Questions

    View Slide

  14. jgs
    Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 14
    Office Hours
    Tuesday and Thursday 3 - 5 pm
    But an appointment required
    Sent me an email – [email protected]

    View Slide

  15. jgs

    View Slide

  16. jgs
    CSC 308
    Software Engineering 1
    Lab 24:
    Use Case Diagram
    Dr. Javier Gonzalez-Sanchez
    [email protected]
    www.javiergs.com
    Building 14 -227
    Office Hours: By appointment

    View Slide

  17. jgs
    Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 17
    Let’s Work
    Assignment 01

    View Slide

  18. jgs
    Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 18
    Let’s Work
    Assignment 02

    View Slide

  19. jgs
    Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 19
    Let’s Work
    Assignment 03

    View Slide

  20. jgs
    CSC 308 Software Engineering I
    Javier Gonzalez-Sanchez, Ph.D.
    [email protected]
    Winter 2023
    Copyright. These slides can only be used as study material for the class CSC308 at Cal Poly.
    They cannot be distributed or used for another purpose.

    View Slide