Course Notes, Practice Problems, and Solutions

Week 7:   Object-oriented design and programming, Factory design pattern
      Object-oriented Problem Solving
      The link to objectmentor.com is defunct.
      You can find some papers at Design Principles Page
      Also, one longer paper discusses all the principles: Design Principles and Design Patterns
      Object-oriented design principles (SOLID) (Only concerned with first three)
      Design patterns   Gang of Four's original design patterns  
      Good design patterns website

      Steps of Designing     A Design Example
      Video (by me):   This design example

      Inheritance and polymorphism
      Inheritance and constructors/destructors
      The following three videos go over code on the sample code page.
      Video (by me):   Inheritance C++ syntax
      Video (by me):   Inheritance problem (List of Fruit) - power of polymorphism
      Video (by me):   Advanced inheritance problem (Fruit, copy constructor)

      The following video goes over the Factory design pattern code.
      Find written information on the "Good design patterns website:"
      Factory design pattern info
      Video (by me):   Factory design pattern code example

      An object-oriented joke (for fun)

Supplementary material
Can't find good videos. If anyone finds good ones, let me know.

Practice Problems
Nothing beyond the design for your Lab 4. Be sure to read and think about Lab 4 before class. All four of you will be in one design group. You may want to wait to get together until after the next class. Also, there may be time during class to discuss your Lab 4 design so come with thoughts on the design.