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

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 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
  3. jgs Fall 2021 | 00000001 Example 1 Note: Astah will

    ask you for the Decision and Merge
  4. jgs The following slides shows some examples related to some

    topics This is NOT a comprehensive list of topics
  5. 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?
  6. 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.
  7. 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
  8. jgs Fall 2021 | 00000001 Concepts § Step § Task

    § Requirement § Functional § Non-Functional § Use case § Use case diagram § Use case document § Actor § Scenario § Activity § State
  9. 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
  10. jgs Fall 2021 | 00000001 Diagram a) Actors b) Use

    Cases a) Relationships child father base addition extension base << include >> << extend >>
  11. 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
  12. 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.