Design Patterns

Tom Kelliher, CS 245

Nov. 4, 2002

Administrivia

Announcements

Next exam will be 20% of final grade. Aiming to give Nov. 22.

Wednesday will be an open day --- come to class.

Assignment

From Last Time

RCS software.

Outline

  1. Chapter questions.

  2. Team Exercises.

Coming Up

Open day, Tom Lang visit.

Chapter Questions

  1. What is a design pattern? What recurring concept are they an example of?

  2. Name and describe the three categories of design patterns.

  3. Give an example of the decorator design pattern. Explain why your example fits this pattern.

  4. Give an example of the iterator design pattern. Explain why your example fits this pattern.

  5. Give an example of the state design pattern. Explain why your example fits this pattern.

Team Exercises

  1. Design the classes you would require for your Galaxy Sleuth project in order to take advantage of the state design pattern.



Thomas P. Kelliher
Thu Oct 31 08:20:17 EST 2002
Tom Kelliher