CS 60 Assignments and Lecture Slides
Spring 2014
Back to the CS 60 homepage
- This has now been updated to hw12, with files named hw12.zip
but the specifications are the same as always!
- It's worth up to +50/0 points:
- Up to +10 for Quantity.java (Unicalc in Java!)
- Up to +5 for Tokenizer.java (tokenizing with Java's RE library)
- Up to +15 for Parser.java (Grammar-based parsing via recursive descent)
- Up to +12 for Evaluator.java (Recursive evaluation!)
- Up to +8 for any additional language features you add, e.g., functions
Assignment 11,
Due Friday, May 2 by 11:59pm
Assignment 10,
Due Tuesday, April 22 by 11:59pm
Assignment 9,
Due Tuesday, April 15 by 11:59pm
Assignment 8,
Due Tuesday, April 8 by 11:59pm
Assignment 7,
Due Tuesday, April 1 by 11:59pm
Assignment 6,
Due Tuesday, March 25 by 11:59pm
Assignment 5,
Due Monday, March 3 by 11:59pm.
Assignment 4,
Due Monday, February 24 by 11:59pm.
Assignment 3,
Due Monday, February 17 by 11:59pm.
Assignment 2,
Due Monday, February 10 by 11:59pm.
- hw2pr1.rkt,
a starting point for your racket code
- lec5_in_class.rkt, a Racket file with the three
use-it-or-lose-it examples and the graph examples from class... These might be
good starting points for the use-it-or-lose it and graph hw problems...
Confession: the first three are well commented! The rest, not so
much...
- lec4_for_posting.rkt, a Racket file with the
tree examples from Tuesday's class - this includes insert, which is a good
starting point for the delete problem on the HW.
- Lecture 4's ppt slides
Trees and Binary Search Trees...
- Lecture 5's ppt slides Graphs and
use-it-or-lose-it algorithm design
- Just for fun: The self-balancing-binary-tree applet demoed in class.
Assignment 1, Due Monday, February 3 by 11:59pm.
- Materials:
- hw1pr1.rkt,
a starting point for Hw1 problem 1, with empty
function definitions and some tests -
here is a .txt
version, in case it's easier to download or copy...
- There is no special starter file for hw1pr2.rkt, but
feel free to copy (and alter) the former file... .
- Lecture 2's ppt slides
(Tue 1/28/14 - guest lecture by Josh Eckroth!) Recursion and tail recursion!
- Lecture 3's ppt slides
(Thu 1/30/14) How recursion functions... (old slides for now,
to be replaced after lecture)
Assignment 0,
Due Monday, January 27, 2014 at 11:59 pm