Home
Teaching
 
CS U213 Fl '06
General
Texts
Syllabus
Assignments
Communication
Labs
Ofc Hrs
Advice

Assignments

The exercises will help you to master the basic concepts for the given week. Each assignment consists of an etude and the main part.

Work out the etudes on your own before you meet with your partner. When you meet, compare your solutions and discuss any problems you encountered. If you are unable to complete the etudes by Tuesday, ask questions in class, or see someone during their office hours. Etudes are designed to give you a practice with the basic skills you need to understand for each week. Keep your solutions in your portfolio, but do not hand them in. We will check them when we check your portfolio.

Work on the main part of the assignment with your partner. Hand in one joint program.

DUE DATES: Homework assignments must be submitted electronically by 9:40 am on Friday unless otherwise specified.

Turn in each assignment with a Java comment on the top of the assignment that specifies the following pieces of information:

  • Assignment: (number)
  • Name:
  • ID: (last 4 digits only)
  • Name:
  • ID:
Omission of this information leads to immediate loss of all credit for the homework.

WeekAssignmentsDue Date
1     

Review HtDP: data definitions and class diagrams to represent classes; containment, union.

9/15
2     

Designing classes for self-referential and mutually referential data, Methods for simple classes including composition and conditional; Methods for containment.

9/22
3     

Methods for self-referential and mutually referential data; Using libraries: The World teachpack.

9/29
4     

Abstracting classes: lifting fields, lifting methods, creating a super class, a union.

10/6
5     

Deriving classes; Circular data.

10/13
6     

Eclipse IDE; Encapsulation.

10/20
7     

Stateful classes, equality, testing the effects; imperative World.

10/27
8     

Abstracting over data types and behavior: genericity and function objects.

11/3
9     

Designing programs with iterators: recursion vs. iteration; Java loops.

11/10
10     

Algorithms that used index-based data access; Stress tests: Sorting out Sorting.

11/17
11     

Maps, hash tables, trees; JUnit.

11/30
12     

Graph traversals: DFS, BFS, shortest path, minimum spanning tree -- optimizing the performance, designing reusable code;

12/7
13     

Portfolio Review

END

last updated on Wed Oct 4 19:08:46 EDT 2006generated with PLT Scheme