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

CSE563 Lecture 15

CSE563 Lecture 15

Software Requirements and Specification
Midterm Review
(202203)

B546a9b97d993392e4b22b74b99b91fe?s=128

Javier Gonzalez
PRO

August 30, 2021
Tweet

More Decks by Javier Gonzalez

Other Decks in Programming

Transcript

  1. jgs CSE 563 Software Requirements and Specification Lecture 15: Midterm

    Review Dr. Javier Gonzalez-Sanchez javiergs@asu.edu javiergs.engineering.asu.edu | javiergs.com PERALTA 230U Office Hours: By appointment
  2. jgs Homework 04

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

    Diagram § Use Case Description (per Oval) § Activity Diagram (where/how many are needed?) § State Machine Diagram (where/how many are needed?)
  4. jgs Fall 2021 | 00000001 Space Invaders https://en.wikipedia.org/wiki/Space_Invaders § Use

    Case Diagram § Use Case Description (per Oval) § Activity Diagram (where/how many are needed?) § State Machine Diagram (where/how many are needed?)
  5. jgs Fall 2021 | 00000001 Game of Life https://playgameoflife.com/info §

    Use Case Diagram § Use Case Description (per Oval) § Activity Diagram (where/how many are needed?) § State Machine Diagram (where/how many are needed?)
  6. jgs Fall 2021 | 00000001 Assignment § Submit one PDF

    file per project § Due date before the exam– it will help you to study for your exam § Work individually § Please, follow academic integrity policies
  7. jgs Previously … Where can I put the details ?

  8. jgs Fall 2021 | 00000001 Example state machine diagram

  9. jgs Fall 2021 | 00000001 Example state machine diagram

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

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

    Activity Diagram
  12. jgs Fall 2021 | 00000001 Pac-Man What about: § New

    § Hunter § Hunted § Eaten
  13. jgs Fall 2021 | 00000001 Ghost States - State Machine

    Diagram
  14. jgs Fall 2021 | 00000001 Ghost States - State Machine

    Diagram
  15. jgs Fall 2021 | 00000001 Pacman States - State Machine

    Diagram
  16. jgs Fall 2021 | 00000001 Pacman States - State Machine

    Diagram
  17. jgs Midterm Review

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

    topics This is NOT a comprehensive list of topics Topics in the exam can be found Weeks 2 to 8 (Lectures 1 to 14)
  19. 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? § Can we have an extension for the assignment? It is a lot of work. § 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?
  20. jgs Fall 2021 | 00000001 Accommodations

  21. jgs Questions Concepts

  22. jgs Fall 2021 | 00000001 Thoughts?

  23. jgs Fall 2021 | 00000001 Thoughts?

  24. jgs Fall 2021 | 00000001 Thoughts?

  25. jgs Questions Diagrams

  26. jgs Fall 2021 | 00000001 Thoughts?

  27. jgs Fall 2021 | 00000001 Thoughts?

  28. jgs Fall 2021 | 00000001 Thoughts?

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

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

  31. jgs Fall 2021 | 00000001 Test Yourselves

  32. jgs Fall 2021 | 00000001 Test Yourselves

  33. jgs Questions Open Questions

  34. 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.
  35. 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
  36. jgs References Core Topics

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

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

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

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

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

  44. jgs CSE 563 Software Requirements and Specification Javier Gonzalez-Sanchez, Ph.D.

    javiergs@asu.edu 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.