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

CSC308 Lecture 09

CSC308 Lecture 09

Software Engineering I
Software Design
(202301)

Javier Gonzalez-Sanchez
PRO

October 07, 2022
Tweet

More Decks by Javier Gonzalez-Sanchez

Other Decks in Programming

Transcript

  1. jgs
    CSC 308
    Software Engineering 1
    Lecture 09:
    Software Design
    Dr. Javier Gonzalez-Sanchez
    [email protected]
    www.javiergs.com
    Building 14 -227
    Office Hours: By appointment

    View Slide

  2. jgs
    Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 2
    § Modeling or Design
    § Construction or Coding
    Activities

    View Slide

  3. jgs
    Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 3
    Software Design
    To create a specification
    of a software (solution)
    Graphical
    Abstract
    Description
    (blueprint)
    Definition

    View Slide

  4. jgs
    Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 4
    Software Design
    To create a specification
    of a software (solution)
    Graphical
    Abstract
    Description
    (blueprint)
    Definition
    model

    View Slide

  5. jgs
    Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 5
    Design
    VS

    View Slide

  6. jgs
    Structural Model
    Class Diagrams

    View Slide

  7. jgs
    Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 7
    Structural models of software display the organization of a system in
    terms of
    a) the parts (items, elements, components) that make up that
    system and
    b) their relationships.
    Structural models

    View Slide

  8. jgs
    Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 8
    Class diagrams show the classes in a system
    § modifiers
    § Attributes
    § methods
    And the relationships between these classes:
    § Association / Dependency
    § Aggregation / Composition
    § Generalization / Specialization / Realization
    Class diagram

    View Slide

  9. jgs
    Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 9
    UML Diagrams

    View Slide

  10. jgs
    Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 10
    Relationships
    Association Directed
    Association
    Reflexive
    Association
    Multiplicity
    Aggregation Composition Generalization Realization

    View Slide

  11. jgs
    Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 11
    Whiteboard

    View Slide

  12. jgs
    Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 12
    Questions

    View Slide

  13. jgs
    Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 13
    Office Hours
    Tuesday and Thursday 3 - 5 pm
    But an appointment required
    Sent me an email – [email protected]

    View Slide

  14. jgs

    View Slide

  15. jgs
    CSC 308
    Software Engineering 1
    Lab 09:
    UML Class Diagram
    Dr. Javier Gonzalez-Sanchez
    [email protected]
    www.javiergs.com
    Building 14 -227
    Office Hours: By appointment

    View Slide

  16. jgs
    Test Yourselves
    Class Diagrams

    View Slide

  17. jgs
    Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 17
    Create the Class Diagram

    View Slide

  18. jgs
    Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 18
    Create the Class Diagram

    View Slide

  19. jgs
    Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 19
    Create the Class Diagram

    View Slide

  20. jgs
    Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 20

    View Slide

  21. jgs
    CSC 308 Software Engineering I
    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