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

CSC509 Lecture 09

CSC509 Lecture 09

Software Design
Quiz
(202311)

Javier Gonzalez-Sanchez

November 12, 2023
Tweet

More Decks by Javier Gonzalez-Sanchez

Other Decks in Programming

Transcript

  1. jgs CSC 509 Software Engineering II: Modeling and Design Lecture

    09: Pair Programming Quiz Dr. Javier Gonzalez-Sanchez [email protected] www.javiergs.com Building 14 -227 Office Hours: By appointment
  2. jgs Javier Gonzalez-Sanchez | CSC 509 | Fall 2023 |

    3 § KIS § DRY § SOLID § Design Pattern(s) § Architectural Patterns: MVC § Your “team” Project What we know
  3. jgs Javier Gonzalez-Sanchez | CSC 509 | Fall 2023 |

    5 § Read Java Files from a Local Directory chosen by the user. § For every Java file, count its IN and OUT connections. § Calculate Instability § Calculate Abstractness § Draw on a GUI or create a file that an external tool can Plot the dots Work with a partner and implement this:
  4. jgs Javier Gonzalez-Sanchez | CSC 509 | Fall 2023 |

    6 • Instability = Cout (Cin + Cout) Background
  5. jgs Javier Gonzalez-Sanchez | CSC 509 | Fall 2023 |

    7 § Distance: how far a package is away from the Main Sequence § D = A + I – 1 § Values -1 to 1 § Absolute Distance |D| Background
  6. jgs CSC 509 Software Design Javier Gonzalez-Sanchez, Ph.D. [email protected] Fall

    2023 Copyright. These slides can only be used as study material for the class CSC509 at Cal Poly. They cannot be distributed or used for another purpose.