CS 60 Homework Assignments
Spring 2009
Back to the CS 60 homepage
Assignment 13 - Due Thursday, May 7
by 11:59PM
Assignment 12 - Due Sunday, April 26th
by 11:59PM (with written parts due in class on Mon/Tue lecture).
Assignment 11 - Due Sunday, April 19th by 11:59PM.
Assignment 10 - Due Sunday, April 12 by 11:59PM.
Assignment 9 - Due Sunday, April 5th by 11:59pm
- Lecture 17's ppt slides (M/T 3/30-31/09)
- Lecture 18's ppt slides (W/Th 4/1-2/09)
- Be sure to rename these files so that they have a .pl extension:
- ex.pl, the example predicates from M/T's class
- logicpuzzle.pl, the starter file for the logic-puzzle problem
- einstein.pl, the Zebra puzzle example
- twentyfour.pl, the starter file for the 24 problem
- riverpuzzle.pl, the starter file for the fox, hare, lettuce, gondolier problem
- hanoi.pl, the towers of Hanoi example from class
- parser.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
- paths.pl, the starter file for the
path-finding predicates
Assignment 8, Due Sunday, March 29th
by 11:59pm
Assignment 7, Due Friday, March 13
by 5 PM (No extensions)
Assignment 6, Due Sunday, March 1
by 11:59 PM.
Lecture notes for this week
Assignment 5, Due Sunday, February 22
by 11:59 PM.
Lecture notes for this week
Assignment 4, Due Sunday, February 15 by 11:59PM.
Assignment 3, Due Sunday, February 8 by 11:59PM.
- Lecture 4's ppt slides (M/T 2/2-3/09)
- Lecture 5's ppt slides (M/T 2/4-5/09)
- Rex examples from class (posted Wed.)
- miniDB.rex, a small database of units for Unicalc
- unicalcDB.rex, a large database of units for Unicalc
- JavaIntro.java, a single example
program with lots of Java syntax examples
A text version to browse
- Point.java, our in-class Point class
A text version to browse
- Complex.java, a starting file for this week's
Complex class
A text version to browse
- Java references, our CS 60 links
to tutorials, downloading, and all things Java
- These next links apply only to this week's extra credit problem:
- OpenList.java, the starting point for problem 1
A text version to browse
- MainFromCompletedOpenList.java, the
main function we used to test our solutions
(most useful a bit at a time...)
A text version to browse
-
The solutions to hw3 -- including Unicalc in Rex, which may
be of help when writing Unicalc in Java!
Assignment 2, Due Sunday, February 1 by 11:59PM.
Assignment 1, Due Sunday, January 25 by 11:59PM.