1 / 13

CSC 480 Software Engineering

CSC 480 Software Engineering. PSP Project 3 September 6, 2002. Topics. OO Modeling Review static (or structural) models Dynamic (or behavioral) models Case Study – Displaying Punch-in Info. Basic Structural Modeling. Class members (or responsibilities) Attributes Operations

porter
Download Presentation

CSC 480 Software Engineering

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CSC 480Software Engineering PSP Project 3 September 6, 2002

  2. Topics • OO Modeling • Review static (or structural) models • Dynamic (or behavioral) models • Case Study – Displaying Punch-in Info CSC 480 - Software Engineering

  3. Basic Structural Modeling • Class members (or responsibilities) • Attributes • Operations • Relationships • Inheritance • Structural relationships • Aggregation • Composition CSC 480 - Software Engineering

  4. UML Notations – Inheritance Stock SmallCapStock LargeCapStock CSC 480 - Software Engineering

  5. UML Notations – aggregation & composition has School Department member assigned to chair attends teaches Student Course Instructor CSC 480 - Software Engineering

  6. Class V.S. Object i:Invoice Invoice -billingAddress -items +add(aProd, qtty) +format() +getAmountDue() addr:Address i1:item i1:item street = “123 Main” city = “Macon” state = “GA” product = prod1 quantity = 3 Class diagram Object diagram CSC 480 - Software Engineering

  7. Behavioral Modeling • Use case diagram • Organizes the behaviors of the system • Sequence diagram • Focused on the time ordering of messages • Collaboration diagram • Focused on the structural organization of objects • Statechart diagram • Focused on the changing state of a system CSC 480 - Software Engineering

  8. Message Passing YourBicycle.changeGears(lowerGear) CSC 480 - Software Engineering

  9. Use Case Diagram system actor Print invoice • … • … • … use case CSC 480 - Software Engineering

  10. Sequence Diagram CSC 480 - Software Engineering

  11. Collaboration Diagram CSC 480 - Software Engineering

  12. Statechart Diagram CSC 480 - Software Engineering

  13. Case Study • The PunchIn program from chapter 14 • Programming & Problem Solving with C++ Dale, Weems, and Headington • Classes used • Time • TimeCard • TCList CSC 480 - Software Engineering

More Related