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

CSE460 Lecture 07

CSE460 Lecture 07

Software Analysis and Design
Object Model II
(202102)

Javier Gonzalez-Sanchez
PRO

July 07, 2020
Tweet

More Decks by Javier Gonzalez-Sanchez

Other Decks in Programming

Transcript

  1. jgs
    CSE 460
    Software Analysis and Design
    Lecture 07: Object Model II
    Dr. Javier Gonzalez-Sanchez
    [email protected]
    javiergs.engineering.asu.edu | javiergs.com
    PERALTA 230U
    Office Hours: By appointment

    View Slide

  2. jgs
    460 00000111
    Announcement
    § Quiz 02 is due today (February 3) 11:59 PM AZ time.
    It will open at the end of the lecture.
    Key ideas: (but not limited to) use case, activity, state, class diagrams.

    View Slide

  3. jgs
    Previously

    View Slide

  4. jgs
    460 00000111
    UML Diagrams

    View Slide

  5. jgs
    460 00000111
    Class diagram
    Class diagrams show the classes in a system
    § modifiers
    § Attributes
    § methods
    And the relationships between these classes:
    § Association / Dependency
    § Aggregation / Composition
    § Generalization / Specialization / Realization

    View Slide

  6. jgs
    Test Yourselves

    View Slide

  7. jgs
    460 00000111
    Relationships?
    Student
    Person
    Professor

    View Slide

  8. jgs
    460 00000111
    Relationships?
    Course
    Book
    Student Professor

    View Slide

  9. jgs
    460 00000111
    Whiteboard
    Company Worker
    Tool

    View Slide

  10. jgs
    Object-Oriented Design
    Class Diagram

    View Slide

  11. jgs
    460 00000111
    Demo

    View Slide

  12. jgs
    460 00000111
    Design
    KeyListener JFrame
    Game
    Ghost
    Pacman
    Maze
    PowerDot

    View Slide

  13. jgs
    460 00000111
    Design
    Timer KeyListener JFrame ActionListener
    Game
    Ghost
    Pacman
    Maze
    Drawable
    PowerDot
    JPanel

    View Slide

  14. jgs
    460 00000111
    Drawable

    View Slide

  15. jgs
    460 00000111
    PowerDot

    View Slide

  16. jgs
    460 00000111
    Pacman

    View Slide

  17. jgs
    460 00000111
    Ghost

    View Slide

  18. jgs
    To be continued…

    View Slide

  19. jgs
    CSE 460 Software Analysis and Design
    Javier Gonzalez-Sanchez
    [email protected]
    Fall 2020
    Disclaimer. These slides can only be used as study material for the class CSE460 at ASU. They cannot be distributed or used for another purpose.

    View Slide