CS538: Spring 2008

Assignment #4: Java, C#, Pizza, Python

Handin procedure


Grading criteria

The first and foremost criteria for grading is correctness. Your programs should execute without errors and produce the correct output with our test suite. Points are awarded for each test input successfully handled by your code. You can use any algorithms or language features or libraries to produce the correct output, you are not restricted to following the exact path set by the questions.

No extra points for the most elegant programs but you are encouraged to write in a style natural to the language you use: classes and inheritance in Java and C#, parametric polymorphism and first-class functions in Pizza, and clasess, lists and lambdas in Python. These will invariably reward you with compact, natural-looking code which is easy to read and understand.

Partial credit will be given for programs that seem to be on the right track.


Language Tips

Check out the Language Links page for information on each language.

Additional Notes on Pizza:

Additional Notes on C#: