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

CSC309 Lecture 05

CSC309 Lecture 05

Software Engineering II
Software Validation
(202301)

Javier Gonzalez-Sanchez
PRO

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

    View Slide

  2. jgs
    Previously …

    View Slide

  3. jgs
    Javier Gonzalez-Sanchez | CSC 309 | Winter 2023 | 3
    SAP + SDP
    A)
    B)

    View Slide

  4. 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)

    View Slide

  5. jgs
    Now that we are doing a review
    What about your requirements

    View Slide

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

    View Slide

  7. 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

    View Slide

  8. 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

    View Slide

  9. 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

    View Slide

  10. jgs
    Javier Gonzalez-Sanchez | CSC 309 | Winter 2023 | 10
    Product Backlog

    View Slide

  11. 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

    View Slide

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

    View Slide

  13. jgs
    Test Yourselves

    View Slide

  14. jgs
    Javier Gonzalez-Sanchez | CSC 309 | Winter 2023 | 14
    Let’s Work

    View Slide

  15. jgs
    Javier Gonzalez-Sanchez | CSC 309 | Winter 2023 | 15
    Let’s Work

    View Slide

  16. jgs
    Javier Gonzalez-Sanchez | CSC 309 | Winter 2023 | 16
    Let’s Work

    View Slide

  17. jgs
    Javier Gonzalez-Sanchez | CSC 309 | Winter 2023 | 17
    Let’s Work

    View Slide

  18. jgs
    Javier Gonzalez-Sanchez | CSC 309 | Winter 2023 | 18
    Let’s Work

    View Slide

  19. jgs
    Javier Gonzalez-Sanchez | CSC 309 | Winter 2023 | 19
    Let’s Work

    View Slide

  20. jgs
    Javier Gonzalez-Sanchez | CSC 309 | Winter 2023 | 20
    Questions

    View Slide

  21. 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]

    View Slide

  22. jgs

    View Slide

  23. 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

    View Slide

  24. jgs
    Javier Gonzalez-Sanchez | CSC 309 | Winter 2023 | 24
    Lab
    Complete your review and return
    your papers Friday

    View Slide

  25. jgs
    Javier Gonzalez-Sanchez | CSC 309 | Winter 2023 | 25
    Let’s Work

    View Slide

  26. 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.

    View Slide