Object-Oriented Analysis and Design
Tuesday and Thursday
9:30 AM - 10:45 AM
What's New (Home)
Homework 5: Design Patterns
IntroductionIn class, we covered a variety of design patterns. In this assignment, you get a chance to implement two of them: Decorator and State. You may use any Object-Oriented programming language to implement the patterns: C++, Java, Smalltalk, etc. Note: only implement the minimal amount of code you need to demonstrate the design pattern (e.g. these should be relatively short programs).
This homework assignment is worth 45 points. Please turn in the source code and the output produced by running your program. If you submit electronically, combine your source code files and output into a single archive.
This homework can be turned in via hard copy, fax, or submitted electronically. Please remember that acceptable formats for electronic submission are ASCII, postscript, and PDF. Send ASCII submissions in the body of an e-mail message (not as an attachment). Send postscript/PDF submissions as an attachment to an e-mail message. If you send postscript, be sure to embed any special fonts that you may use directly into the postscript font. (Most printer drivers provide an option to allow you to embed fonts.) Make sure that your e-mail message is clearly marked (as discussed in lecture 1) and that this same information appears in the attached document.
Send questions to <email@example.com>. Answers to common questions will be discussed in class and/or posted to the class website.
© Ken Anderson, 2001.
Last Updated: 4/25/01; 3:12:39 PM