Home
Teaching
 
CS U213 Sp '08
General
Texts
Syllabus
Assignments
Communication
Labs
Ofc Hrs
Announcements
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 Sunday, 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 by 10:00 pm on Tuesday 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: Loops, Accumulator style programs, World

1/15
2     

Data definitions and class diagrams to represent classes; containment, union, mutual reference

1/22
3     

Designing methods for simple classes, containment, unions.

1/29
4     

Abstracting classes: lifting fields, lifting methods, creating a super class, a union. Using libraries: The World Teachpack.

2/5
5     

Complex Program; World: Refactoring

2/8
6     

Data integrity; Circular Data; Exceptions; Equality of Circular Data

2/19
7     

Stateful Classes, Imperative Methods; Equality. Testing the effects; Imperative World

2/26
8     

Abstracting over the data type.

3/11
9     

Designing to interfaces; Exceptions; Applets.

3/18
10     

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

3/25
11     

Using libraries (Maps, hash tables, trees, priority queues); Stress tests: Sorting out Sorting; JUnit

4/1
12     

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

4/15
13     

Work on the Project. Portfolio Review

4/15
14     

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

4/15

last updated on Tue Feb 5 23:00:57 EST 2008generated with PLT Scheme