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

CSC509 Lecture 04

CSC509 Lecture 04

Software Design
Software Architecture
(202510)

Avatar for Javier Gonzalez-Sanchez

Javier Gonzalez-Sanchez PRO

October 01, 2025
Tweet

More Decks by Javier Gonzalez-Sanchez

Other Decks in Programming

Transcript

  1. Dr. Javier Gonzalez-Sanchez [email protected] www.javiergs.info o ffi ce: 14 -227

    CSC 508/9 Software Engineering (Design & Deployment) Lecture 04. Software Architecture
  2. Draw the Diagram 3 public class B implements E {

    public B() C c1 = new C(); } public void method(A a) { B b = new B(); b.sleep(); a.method(new D()); } } public class Y extends B { private A []a = new A[5]; private X var = new X(); protected Y instance; } public class A extends B { C c1, c2; public A() { c1 = new C(); } public void method(D d) { d.working(); } } public class X { private String s; public void m() { B var = new A(); double x – Math.sqrt(5); } }
  3. Architecture Patterns • Model, View, Controller • Bl a ckbo

    a rd • Client - Server • Publisher - Subscriber 9
  4. CSC 509 Software Engineering Javier Gonzalez-Sanchez, Ph.D. [email protected] Fall 2025

    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.