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

CSC309 Lecture 05

CSC309 Lecture 05

Software Engineering II
Software Validation
(202301)

Javier Gonzalez-Sanchez

January 20, 2023
Tweet

More Decks by Javier Gonzalez-Sanchez

Other Decks in Programming

Transcript

  1. jgs CSC 309 Software Engineering II Lecture 05: Software Validation

    Dr. Javier Gonzalez-Sanchez [email protected] www.javiergs.com Building 14 -227 Office Hours: By appointment
  2. jgs Javier Gonzalez-Sanchez | CSC 309 | Winter 2023 |

    4 Review Class Diagram: § Keep It Simple § Double-check isolated parts § Inheritance: a Child improves its parent. § Aggregation/Composition vs Association/Realization § Do not worry about Dependency § Remember * (multiplicity)
  3. jgs Javier Gonzalez-Sanchez | CSC 309 | Winter 2023 |

    6 Key Ideas CSC 309 idea requirements architecture design code validation validation verification verification quality measure
  4. jgs Javier Gonzalez-Sanchez | CSC 309 | Winter 2023 |

    7 § Validation. It is about requirements. Are we building the right product? Does this software do what it needs to do? § Verification. It is about design. Are we building the product right? § Testing. Examination of the behavior of a program by executing it on sample data sets. Definition
  5. jgs Javier Gonzalez-Sanchez | CSC 309 | Winter 2023 |

    8 a) May state what (reactions, behaviours, or services) the system should not do. b) services the system should provide, c) how the system should react to particular inputs, and d) how the system should behave in particular situations. Functional Requirement
  6. jgs Javier Gonzalez-Sanchez | CSC 309 | Winter 2023 |

    9 § 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 INVEST in good requirements
  7. jgs Javier Gonzalez-Sanchez | CSC 309 | Winter 2023 |

    11 Stories and Tasks … move the pacman … show the pacman … move a ghost … show a ghost … show power pills stories tasks (new) … show a maze
  8. jgs Javier Gonzalez-Sanchez | CSC 309 | Winter 2023 |

    12 Let’s Work Grade= 100 * Correct Correct + Incorrect
  9. jgs Javier Gonzalez-Sanchez | CSC 309 | Winter 2023 |

    21 Office Hours Tuesday and Thursday 3 - 5 pm But an appointment required Sent me an email – [email protected]
  10. jgs

  11. jgs CSC 309 Software Engineering II Lab 05: Software Validation

    Dr. Javier Gonzalez-Sanchez [email protected] www.javiergs.com Building 14 -227 Office Hours: By appointment
  12. jgs Javier Gonzalez-Sanchez | CSC 309 | Winter 2023 |

    24 Lab Complete your review and return your papers Friday
  13. jgs CSC 309 Software Engineering II 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.