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

CSE460 Lecture 31

CSE460 Lecture 31

Software Analysis and Design
Assignment 04
(202011)

Javier Gonzalez-Sanchez
PRO

July 31, 2020
Tweet

More Decks by Javier Gonzalez-Sanchez

Other Decks in Programming

Transcript

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

    View Slide

  2. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 2
    jgs
    Architecture :: Model-View-Controller
    Model
    View Controller

    View Slide

  3. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 3
    jgs
    Blackboard
    KnowledgeSource
    Control
    Architecture :: Blackboard

    View Slide

  4. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 4
    jgs
    Model
    Architecture :: Our Project
    View Controller
    Blackboard
    KnowledgeSource
    Control

    View Slide

  5. jgs
    Step 1

    View Slide

  6. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 6
    jgs
    User Interface

    View Slide

  7. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 7
    jgs
    Controller
    Classes
    View

    View Slide

  8. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 8
    jgs
    Hints
    View
    Controller

    View Slide

  9. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 9
    jgs
    User Interface

    View Slide

  10. jgs
    Step 2

    View Slide

  11. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 11
    jgs
    User Interface

    View Slide

  12. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 12
    jgs
    Model
    Architecture
    View Controller
    Blackboard
    KnowledgeSource
    Control

    View Slide

  13. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 13
    jgs
    Model
    Classes
    View Controller
    Blackboard
    KnowledgeSource
    Control

    View Slide

  14. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 14
    jgs
    Hints
    View :: Canvas

    View Slide

  15. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 15
    jgs
    Hints
    View :: Main
    Controller

    View Slide

  16. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 16
    jgs
    User Interface

    View Slide

  17. jgs
    Step 3

    View Slide

  18. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 18
    jgs
    Model
    Architecture
    View Controller
    Blackboard
    KnowledgeSource
    Control

    View Slide

  19. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 19
    jgs
    Blackboard
    KnowledgeSource
    Functional Requirements
    • Every new point
    should connect to
    the closest one
    already existing
    with a line
    Control
    • When a point relates
    to 5 others then the
    point is deleted, and
    all lines should be
    recalculated

    View Slide

  20. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 20
    jgs
    User Interface

    View Slide

  21. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 21
    jgs
    Model
    Blackboard
    KnowledgeSource
    Control
    Functional Requirements
    You need to control the
    access to a common
    resource by multiple
    processes in a
    concurrent system
    Use an extra variable

    View Slide

  22. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 22
    jgs
    Model
    Complete the System
    View Controller
    Blackboard
    KnowledgeSource
    Control

    View Slide

  23. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 23
    jgs
    Announcement
    § You can work individually or in a team of 2 or 3 members
    § Due by Saturday November 13, 11:59 PM AZ time
    § Submit only JAVA files.
    § Use only JAVA swing or AWT. No other libraries are allowed for the graphical
    part.
    § There will be no lecture on Veterans Day.

    View Slide

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