CS 61B Labs and Homework

Fall, 2011

Weekly Labs

Please report errors in the labs to your TA, or, if working from home, simply mail to cs61b@cs.berkeley.edu. Don't use the newsgroup to report errors in the assignment; we generally get email faster.

Week Lab Homework
22 August 2011 No lab. No homework.
29 August 2011 Homework 1, due 9/8/2011.
5 September 2011 Lab 2: Version control, unit testing. Preparation: please read over our Subversion tutorial and §8 ("Use with Subversion") in the Emacs documentation before going to lab. Homework 2, due 9/12/2011.
12 September 2011 Lab 3: Standard library classes.
Please fill out this short quiz You can resubmit it as often as you want.
Preparation: please read over the Java library documentation for the java.util.ArrayList and java.util.LinkedList classes and the java.util.List and java.util.ListIterator interfaces before going to lab.
Homework 3, due 9/19/2011.
19 September 2011 Lab 4: Tokenizing Text.
At certain points, the lab will ask you to fill out the following quizzes (which you can resubmit as often as you want):
Preparation: Please scan the following before coming to lab: Java library documentation for the java.io.StreamTokenizer, java.util.regex.Pattern, java.util.Scanner, and java.util.regex.Matcher classes.
Homework 4, due 9/26/2011.
26 September 2011 Lab 5: Project-related.
Quizzes for this lab:
Homework 5, due 10/7/2011 (Friday).
3 October 2011 Lab 6: Continue work on the project. No homework this week, due to test.
10 October 2011 Lab devoted to extra office hours as needed. Homework 6, due 10/17/2011.
17 October 2011 Lab 8: Project advice from TAs. Homework 7, due 10/26/2011.
24 October 2011 Lab 9: Project related. The TAs are available to assist with your project. Homework 8, due 10/31/2011.
31 October 2011 Lab 10: Again, just project-related. No homework this week.
7 November 2011 Lab 11: TAs will help with test preparation. Homework 9, due 11/14/2011.
14 November 2011 Lab 12: Getting started on the project Homework 10, due 11/21/2011 (Monday).
21 November 2011 Lab 13: Work on project Homework 11, due 11/30/2011 (Wednesday).
28 November 2011 Lab 14: Work on project or otherwise consult with TAs. No homework this week.

Projects

Programming Project Guidelines

We have prepared some useful stylistic guidelines for programming projects. Our submission software enforces some of these guidelines automatically, using the style61b program, which you can also run separately. Here is a sample project solution from a previous term, with its project handout. Things were a bit different then. Testing was "by hand", controlled from the makefile, rather than using JUnit.

Solutions

Directories containing code for homework solutions and lab projects are here.


[CS61B Home Page]

Page was last modified on Sun Nov 27 15:02:13 2011.
Address comments and questions to cs61b@imail.eecs.berkeley.edu