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

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
  2. jgs Previously … Where can I put the details ?

  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 <what we expect is already the state of the world> Success End Condition <the state of the world upon successful completion> Failed End Condition <the state of the world if goal abandoned> Actors <a role name or description for the primary actor> <other systems relied upon to accomplish use case> Trigger <the action upon the system that starts the use case> Description step action 1 <put here the steps of the scenario from trigger to goal delivery, and any cleanup after> 2 <...> 3 Use Case Template
  4. jgs Fall 2021 | 00000001 Example 1 Note: Astah will

    ask you for the Decision and Merge
  5. jgs Fall 2021 | 00000001 Example 2 (Astah version)

  6. jgs Fall 2021 | 00000001 Example 3

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

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

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

    Activity Diagram
  10. jgs Midterm Review

  11. jgs The following slides shows some examples related to some

    topics This is NOT a comprehensive list of topics
  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?
  13. jgs Fall 2021 | 00000001 Accommodations

  14. jgs Questions Concepts

  15. jgs Fall 2021 | 00000001 Thoughts?

  16. jgs Fall 2021 | 00000001 Thoughts?

  17. jgs Fall 2021 | 00000001 Thoughts?

  18. jgs Questions Diagrams

  19. jgs Fall 2021 | 00000001 Email

  20. jgs Fall 2021 | 00000001 Email

  21. jgs Fall 2021 | 00000001 Email

  22. jgs Fall 2021 | 00000001 Thoughts?

  23. jgs Fall 2021 | 00000001 Thoughts?

  24. jgs Fall 2021 | 00000001 Thoughts?

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

    the red ovals?
  26. jgs Fall 2021 | 00000001 Test Yourselves

  27. jgs Fall 2021 | 00000001 Test Yourselves

  28. jgs Fall 2021 | 00000001 Test Yourselves

  29. jgs Questions Open Questions

  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.
  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
  32. jgs References Core Topics

  33. jgs Fall 2021 | 00000001 Concepts § Step § Task

    § Requirement § Functional § Non-Functional § Use case § Use case diagram § Use case document § Actor § Scenario § Activity § State
  34. jgs Fall 2021 | 00000001 Storyboarding storyboard Who? What (What

    if)?, why?, time
  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
  36. jgs Fall 2021 | 00000001 Types of Non-Functional Requirements

  37. jgs Fall 2021 | 00000001 Diagram a) Actors b) Use

    Cases a) Relationships child father base addition extension base << include >> << extend >>
  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
  39. jgs Fall 2021 | 00000001 Include vs Extends

  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.