Assignments (Homeworks and Projects)
Please read the Submission Instructions to electronically
To submit homework after the deadline, when you've been given a personal
extension, use project name extensions for the electronic submission.
- Homework 1 (due Sunday, September 08, 2002, at 11:59
PM): The Ultimate Pizza Experience.
Project name: pizza. Due date is now extended to 11:59 PM, Wednesday,
Sept. 11, 2002.
- Homework 2 (due Monday, September 23, 2003, at 11:59
PM): Polynomial Framework.
Project name: poly. Due date is now extended to 11:59 PM, Wednesday,
Sept. 25, 2002.
contains the binary class files for IPoly, IConstPoly, INCPoly, IPolyOp,
IPolyFact in package poly. The code is trivial but in case you want to
use them instread of you own code, just include poly.jar in your class
path when you compile and run your program.
contains a concrete IPolyfact, called CompPolyFact, in package poly.factory.
This concrete polynomial factory is a singleton (CompPolyFact.Singleton)
and manufactures concrete contant and non-constant polynomials with overriden
toString() so that you can see them in some standard way. Just import
poly.factory.* in you code and add polyfact.jar to your class path when
you compile and run your code.
EvalOp.java, MultMono, and ToString.java are sample operations on IPoly
for you to study.
- Homework 3 (due Monday, October 7, 2003, at 11:59 PM):
Abstract Syntax Tree.
Project name: ast.
- Project 1: Hangman
- Milestone 1 (Project name: hangman1) due Sunday, Oct. 13, 2002,
Milestone 1 has been extended. The new due date is Friday, Oct. 18, 2002,
- Milestone 2 (Project name: hangman2) due Sunday, Oct. 20, 2002:
Milestone 2 has been extended. The new due date is Friday, Oct. 25, 2002,
- Project 2: Koch Curve
- Milestone 1 (project name: koch1) due Friday, Nov. 01, 2002, 11:59 PM
- Milestone 2 (project name: koch2) due Monday, Nov. 11, 2002, 11:59 PM
Milestone 2 has been extended. The new due date is Wednesday, Nov. 13,
2002. 5% on the earned grade will be given as extra credit for submissions
before the old deadline.
- Project 3: Tournament Tree - Due Friday,
November 22, 2002 at 11:59 PM.
- Project 4: Games 4 Two - Due Friday, December
06, 2002 at 11:59 PM