CS 60 Assignments, Slides, and References
Spring 2011
Back to the CS 60 homepage
Assignment 14, the seam-carving extra-credit assignment
Assignment 13 Fast algorithms via dynamic programming!
Due Sunday, May 1, 2011, by 11:59 pm.
- Euro reminder: if you use a Euro, then Hw13 is due by
11:59pm on Monday, May 2.
- HW links, slides, etc.:
Assignment 12, Due Monday,
April 25 by 11:59pm.
Assignment 11, Due Monday,
April 18 by 11:59pm.
Assignment 10, Due Monday,
April 11 by 11:59pm.
Assignment 9, Due Monday, April 4 by
11:59pm.
- Materials:
- hw9.zip, the starting files for this week's hw, including
- ex.pl, the in-class examples from Mon./Tue.
- einstein.pl, the Einstein Zebra-puzzle example
- logicpuzzle.pl, a starter file for the logic puzzle
- twentyfour.pl, starter for the 24 problem
- hanoi.pl, the towers-of-hanoi example from class
- riverpuzzle.pl, starter for the mudder-alien-spampede-spam problem
- parser.pl, starter for the parser problem
- g0.pl through g4.pl, grammars for the parser problem
- Lecture 17's ppt file
- Lecture 18's ppt file
Assignment 8, Due Monday, March 28 by
11:59pm.
Assignment 7 was to enjoy spring break!
Assignment 6, Due TUESDAY, March 8 by 11:59PM.
Assignment 5, Due Monday, February 28 by 11:59PM.
Assignment 4, Due Monday, February 21 by 11:59PM.
-
miniMath.zip, source code for a fully implemented "minimath" language
-
classFiles.zip, the compiled solutions to HW 4 for trying out/testing
-
startingFiles.zip, a starting point for this week's HW, including
- OpenList.java, the solution to HW3 which you may use here (or use your own)
- Quantity.java, a starting point (with toString) for your Quantity class
- QuantityTester.java, a tester for your Quantity class (note you'll need to uncomment the tests as you write the functions)
- 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 3, Due Monday, February 14 by
11:59pm.
- Materials:
- unicalc.rkt, a starting point for
hw 3's Unicalc application.
- unicalc-db.rkt, the unit database
for the unicalc application. Be sure to place this file in the same
location as unicalc.rkt.
- Complex.java,
(.txt version for browsing),
the starting point for
hw 3's Complex Java class.
- ComplexTests.java,
(.txt version for browsing),
unit tests for your Complex class.
- OpenList.java,
(.txt version for browsing),
the starting point for
hw 3's OpenList Java class.
- OpenListTests.java,
(.txt version for browsing),
starting set of unit tests for hw 3's OpenList Java class.
- Lecture 6's ppt slides: Merging
unicalc and Java!?
- Lecture 7's ppt slides: OpenList: implementing
Racket (or some of it) in Java...
- Solutions to hw#3:
Assignment 2, Due Monday, February 7 by
11:59pm.
Assignment 1, Due Monday, January 31 by 11:59pm.
Assignment 0,
Due Monday, January 24 by 11:59PM.
A rough schedule of CS 60 topics - subject to
change...