$30 off During Our Annual Pro Sale. View Details »

CSE563 Lecture 15

CSE563 Lecture 15

Software Requirements and Specification
Midterm Review
(202210)

Javier Gonzalez-Sanchez
PRO

August 30, 2021
Tweet

More Decks by Javier Gonzalez-Sanchez

Other Decks in Programming

Transcript

  1. jgs
    CSE 563
    Software Requirements and Specification
    Lecture 15: Midterm Review
    Dr. Javier Gonzalez-Sanchez
    [email protected]
    javiergs.engineering.asu.edu | javiergs.com
    PERALTA 230U
    Office Hours: By appointment

    View Slide

  2. jgs
    Previously …
    Where can I put the details ?

    View Slide

  3. jgs
    Fall 2021 | 00000001
    Number and
    Name
    < the name is the goal as a short active verb phrase>
    Goal / Description < a longer statement of the goal in context if needed >
    Pre-conditions
    Success End
    Condition

    Failed End
    Condition

    Actors

    Trigger
    Description step action
    1 from trigger to goal delivery, and any cleanup after>
    2 <...>
    3
    Use Case Template

    View Slide

  4. jgs
    Fall 2021 | 00000001
    Example 1
    Note:
    Astah will ask you for the Decision and Merge

    View Slide

  5. jgs
    Fall 2021 | 00000001
    Example 2 (Astah version)

    View Slide

  6. jgs
    Fall 2021 | 00000001
    Example 3

    View Slide

  7. jgs
    Pac-Man Video Game
    Examples of State machine Diagrams

    View Slide

  8. jgs
    Fall 2021 | 00000001
    Pac-Man
    http://gameinternals.com/post/2072558330/
    understanding-pac-man-ghost-behavior

    View Slide

  9. jgs
    Fall 2021 | 00000001
    The Red Ghost (Blinky) – Activity Diagram

    View Slide

  10. jgs
    Midterm Review

    View Slide

  11. jgs
    The following slides shows some examples
    related to some topics
    This is NOT a comprehensive list of topics

    View Slide

  12. jgs
    Fall 2021 | 00000001
    FAQ
    § Should I create state and activity diagrams for the assignment or just
    mention how many I think are needed?
    § Are state diagrams included in the exam?
    § Are the questions in the exam objective or subjective?
    § Do we need to add ovals in a Use Case diagram for the non-functional
    requirements?
    § I need a good grade in this class because I have internship/scholarship/…
    What can I do?

    View Slide

  13. jgs
    Fall 2021 | 00000001
    Accommodations

    View Slide

  14. jgs
    Questions
    Concepts

    View Slide

  15. jgs
    Fall 2021 | 00000001
    Thoughts?

    View Slide

  16. jgs
    Fall 2021 | 00000001
    Thoughts?

    View Slide

  17. jgs
    Fall 2021 | 00000001
    Thoughts?

    View Slide

  18. jgs
    Questions
    Diagrams

    View Slide

  19. jgs
    Fall 2021 | 00000001
    Email

    View Slide

  20. jgs
    Fall 2021 | 00000001
    Email

    View Slide

  21. jgs
    Fall 2021 | 00000001
    Email

    View Slide

  22. jgs
    Fall 2021 | 00000001
    Thoughts?

    View Slide

  23. jgs
    Fall 2021 | 00000001
    Thoughts?

    View Slide

  24. jgs
    Fall 2021 | 00000001
    Thoughts?

    View Slide

  25. jgs
    Fall 2021 | 00000001
    Thoughts?
    Explain the errors in the red ovals?

    View Slide

  26. jgs
    Fall 2021 | 00000001
    Test Yourselves

    View Slide

  27. jgs
    Fall 2021 | 00000001
    Test Yourselves

    View Slide

  28. jgs
    Fall 2021 | 00000001
    Test Yourselves

    View Slide

  29. jgs
    Questions
    Open Questions

    View Slide

  30. jgs
    Fall 2021 | 00000001
    Problem
    This is an app for money investment. Invest in stocks on over 80 stock exchanges in
    the US, Canada, Europe and Asia. Also for investment in Crypto Currencies
    User can perform 2 kind of transactions: buy or sell. Both are complex processed that
    requires access to user bank accounts.
    Buying has 2 options buy stocks or buy crypto currencies. The user click un the menu
    to select one of these options and then specify the stock or crypto to buy and the
    amount of money to be used. Money is taken from user bank account and the
    transaction applied. If the system cannot get Money from the user bank account the
    transaction is automatically cancelled.
    Every time that the user make a transaction (buy or sell) the system ask for
    authentication. We need to know that the user is requesting the action and that it is not
    somebody using the app that the user leave open.
    Also, every time a transaction is made an email is sent to the user with all the specifics
    of the transaction. Optionally, the user could configure that a Text Message would be
    send.

    View Slide

  31. jgs
    Fall 2021 | 00000001
    Create the Following Diagrams
    § Activity Diagram for Game of Life rules
    § State machine diagram for an Assignment on Canvas
    § Use case diagram for your operating system
    § State machine diagram for a webpage (URL) on your browser
    § Activity diagram for enrollment on a new course on MyASU

    View Slide

  32. jgs
    References
    Core Topics

    View Slide

  33. jgs
    Fall 2021 | 00000001
    Concepts
    § Step
    § Task
    § Requirement
    § Functional
    § Non-Functional
    § Use case
    § Use case diagram
    § Use case document
    § Actor
    § Scenario
    § Activity
    § State

    View Slide

  34. jgs
    Fall 2021 | 00000001
    Storyboarding
    storyboard
    Who? What (What if)?, why?,
    time

    View Slide

  35. jgs
    Fall 2021 | 00000001
    INVEST in good requirements
    § Independent – loosely coupled with one another
    § Negotiable – Stories are what and why , not how ( 99% ).
    § Valuable – for the customer!
    § Estimatable – Effort/Cost of design, build, and test.
    § Small (sized appropriately)
    § Testable – pass or fail

    View Slide

  36. jgs
    Fall 2021 | 00000001
    Types of Non-Functional Requirements

    View Slide

  37. jgs
    Fall 2021 | 00000001
    Diagram
    a) Actors
    b) Use Cases
    a) Relationships
    child father
    base addition
    extension base
    << include >>
    << extend >>

    View Slide

  38. jgs
    Fall 2021 | 00000001
    Diagram | Example
    Nurse
    Medical receptionist
    Manager
    Register
    patient
    View
    personal info.
    View record
    Generate
    report
    Export
    statistics
    Doctor
    Edit record
    Setup
    consultation

    View Slide

  39. jgs
    Fall 2021 | 00000001
    Include vs Extends

    View Slide

  40. jgs
    CSE 563 Software Requirements and Specification
    Javier Gonzalez-Sanchez, Ph.D.
    [email protected]
    Fall 2021
    Copyright. These slides can only be used as study material for the class CSE563 at ASU.
    They cannot be distributed or used for another purpose.

    View Slide