CS 61B Labs and Homework

Fall, 2014

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
25 August 2014 No lab. Homework 0: Basic Java Syntax
Due: Tuesday, 9/2/14 (but don't turn in)

New: Homework 0B: Basic Java Syntax (part 2) Optional

1 September 2014 Homework 1: JUnit and Linked Data Structures
Due: Wed 9/10/14 @ 11:59 PM (use hw submit)
8 September 2014 Lab 2: Debugging and linked data structures. Homework 2
Due: Wed 9/17/2014 @ 11:59 PM.
15 September 2014 Lab 3: Standard library classes.
Please fill out this short quiz You can resubmit it as often as you want. You will first need to use the Account Administration link or the (Alternative Login) link to log into our system with your Calnet ID.
Homework 3, due 9/25/2014.
29 September 2014 Lab 5: HugLife: Packages and building large programs. Homework 4, due Fri, 10/3/2014.
6 October 2014 Lab 6: The Iterator and Iterable interfaces. Homework 5, due Fri, 10/10/2014. Recommended completion by 10/8/2014.
13 October 2014 Lab 7: DB61B No homework (project/midterm)
20 October 2014 Lab 8: Programming Competition Problems Homework 6, due Sat, 10/25/2014.
27 October 2014 Lab 9: Getting started on Project 2. Hashing. Homework 7, due Mon, 11/3/2014.
2 November 2014 Lab 10: Even More Debugging. Homework 8, Optional Midterm Review Problems
17 November 2014 Lab 11: Optional graphs lab. Homework 9, Optional Final Exam Problems

Projects

Skeleton code for the projects (when it is available) is in the staff SVN repository—available using hw init—and in the code directory, ~cs61b/code, which is available from the web through this link.

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]

Address comments and questions to cs61b@imail.eecs.berkeley.edu