CS 60 Homework Assignments
Fall 2008
Back to the CS 60 homepage
Assignment 12 - Due Tuesday, December 9 by 11:59PM.
Assignment 11 - Due Tuesday, November 25 by 11:59PM.
Assignment 10 - Due Sunday, November 16 by 11:59PM.
Assignment 9 - Due Sunday, November 9 by 11:59PM.
- Lecture 17's ppt slides (T 11/4/08)
- Lecture 18's ppt slides (Th 11/6/08)
- Be sure to rename these files with a .pl extension:
- ex.pl, the example predicates from Tuesday's class
- part1.pl, the starter file for the logic-puzzle problem
- einstein.pl, the Zebra puzzle example
- part2.pl, the starter file for the 24 problem
- part3.pl, the starter file for the Towers-of-Hanoi problem
- spam.pl, the Spam, Spampede, and Alien example
- part4.pl, the starter file for the parser problem
- g0.pl, example grammar #0
- g1.pl, example grammar #1
- g2.pl, example grammar #2
- g3.pl, example grammar #3
- g4.pl, example grammar #4
Assignment 8 - Due Sunday, November 2 by 11:59PM.
Assignment 7, Due Sunday, October 26 by 11:59PM.
Assignment 6, Due Sunday, October 12 by 11:59PM.
Assignment 5, Due Sunday, October 5 by 11:59PM.
- Lecture 9's ppt slides (T 09/30/08)
- Lecture 10's ppt slides (Th 10/02/08)
- miniMath.zip, source code for a fully
implemented "minimath" language
- Unicalc.scm, a Scheme solution to HW 4 to help with
unicalc in Java
- classFiles.zip, the compiled solutions
to HW 5 for trying out/testing
- hw5.zip, a starting point
for this week's HW, including
- OpenList.java, the solution to HW4 which you may use here (or use
your own)
- Quantity.java, a starting point (with toString) for your
Quantity class
- Tokenizer.java, a complete tokenizer for this week's assignment
- Parser.java, a starting point that already parses Quantitys
- Evaluator.java, a starting point that evaluates Quantitys
Assignment 4, Due Sunday, September 28 by 11:59PM.
Assignment 3, Due Sunday, September 21 by 11:59PM.
Assignment 2, Due Sunday, September 14 by 11:59PM.
Assignment 1, Due Sunday, September 7 by 11:59PM.