Home
Teaching
 
CS 2510 Fl '09
General
Readings
Syllabus
Assignments
Communication
Blog
Labs
Office Hours
Advice

Assignments

Etudes: These exercises will help you to master the basic concepts for the given week.

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 and concepts you need to understand for each week.

Include the solution to the required problems in your portfolio. We will check them when we check your portfolio. The optional problems provide further practice of the same concepts, if you need additional practice.

Main part: assignments and projects: Work with your partner and hand in one joint program.

Assignments: These are weekly programming assignments that lead to a larger program in about four weeks. You will build on the solution(s) from the previous week(s) as you go on.

Work on the assignment with your partner. If you have done the etudes and you follow the design recipe carefully, the assignments should be straightforward.

Projects: There will be three project assignments where you can apply what you learned to a project of your choice. Each will span four weeks of the course, but intermediate parts should be submitted on a weekly basis. Make sure you follow the instructions carefully. Just writing a program that works does not guarantee even a passing grade for the project!

Work on the project with your partner. Here you have the opportunity to be creative and engage in the design process from the beginning.

DUE DATES: Homework assignments must be submitted by 10:00 pm on Thursday 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.

Program style matters. Make your programs readable. Include white space, use indentations, and, of course, do not forget the purpose statements. Additionally, make sure your program never exceeds 80 characters per line.

WeekAssignmentsDue Date
1     

Review HtDP: Loops, Accumulator style programs, World

9/17
2     

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

9/24
3     

Designing methods for containment, unions, mutually referential data.

10/1
4     

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

10/8
5     

Data integrity; Exceptions; Equality of Data; Methods as Objects

10/15
6     

Circular Data; Methods for Circular Data.

10/22
7     

Stateful Classes, Imperative Methods; Testing the effects; Abstracting over the datatype.

10/29
8     

Designing to interfaces; Designing frameworks: Factory.

11/5
9     

Abstracting over the behavior; Traversals, Visitors, Function objects.

11/12
10     

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

11/19
11     

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

Tuesday 12/1
12     

See previous week.

Tuesday 12/1
13     

Final Project

12/9

last updated on Mon Sep 7 16:05:16 EDT 2009generated with PLT Scheme