Recitation Material

January 16, 2009

Part 1: Download Eclipse and the ObjectEditor package
Eclipse IDE for Java Developer (Windows)
Eclipse IDE for Java Developer (Mac OS X)
ObjectEditor package
You may also need the JDK (Java Development Kit) to run Eclipse.

Local JDK downloads: here.

Part 2: Setup Java Programming Environment (Slides)
Start to get your hands dirty with Eclipse! Eclipse provides a user-friendly interface for various programming languages. This part will go through the installation/setup process step by step. In addition, the debugging and packaging tools are introduced in this section.

Part 3: Problem
Assume that each user argument is digit sequence. Print the factorial of each argument. The factoral computation and printing should be done in separate (non-main) methods. Use the debugger to step in and out of these methods. You can use the factorial code from the class slides, or even better, try and write it from scratch.


January 23, 2009

Manipulating properties of a class using ObjectEditor: Keeping a history of user input and factorials

The set of slides explaining the recitation exercise can be downloaded here: Recitation 2
You can work with a partner; implement the program described in the slides, and show the TA that it works by the time Recitation is over.

January 30, 2009

Using interfaces

Recitation slides are available here: Recitation 3

Please pair up with someone that you have not worked with before in order to complete this exercise. You can discuss ideas with each other, but each individual person must demonstrate their own code.

Note: From today forward, all recitation exercises must be finished in the recitation session in order to receive credit. Half credit can be achieved for demonstrating understanding through your code, even if the code does not work perfectly.

February 06, 2009

Geometry: Part 1

Recitation slides are available here: Recitation 4

Please pair up with someone that you have not worked with before in order to complete this exercise. You can discuss ideas with each other, but each individual person must demonstrate their own code.

Note: All recitation exercises must be finished in the recitation session in order to receive credit. Half credit can be achieved for demonstrating understanding through a partial implementation.

February 13, 2009

Geometry: Part 2

Recitation slides are available here: Recitation 5

Please pair up with someone that you have not worked with before in order to complete this exercise. You can discuss ideas with each other, but each individual person must demonstrate their own code.

Note: All recitation exercises must be finished in the recitation session in order to receive credit. Half credit can be achieved for demonstrating understanding through a partial implementation.

February 20, 2009

Variable-sized Collections

Recitation slides are available here: Recitation 6

Please pair up with someone that you have not worked with before in order to complete this exercise. You can discuss ideas with each other, but each individual person must demonstrate their own code.

Note: All recitation exercises must be finished in the recitation session in order to receive credit. Half credit can be achieved for demonstrating understanding through a partial implementation.

February 27, 2009

Overriding superclass methods

Recitation slides are available here: Recitation 7

Please pair up with someone that you have not worked with before in order to complete this exercise. You can discuss ideas with each other, but each individual person must demonstrate their own code.

Note: All recitation exercises must be finished in the recitation session in order to receive credit. Half credit can be achieved for demonstrating understanding through a partial implementation.

March 20, 2009

Controlling One Object with Another in ObjectEditor

Recitation slides are available here: Recitation 8

Please pair up with someone that you have not worked with before in order to complete this exercise. You can discuss ideas with each other, but each individual person must demonstrate their own code.

Note: All recitation exercises must be finished in the recitation session in order to receive credit. Half credit can be achieved for demonstrating understanding through a partial implementation.

March 27, 2009

Model View Controller

Recitation slides are available here: Recitation 9

Please pair up with someone that you have not worked with before in order to complete this exercise. You can discuss ideas with each other, but each individual person must demonstrate their own code.

Note: All recitation exercises must be finished in the recitation session in order to receive credit. Half credit can be achieved for demonstrating understanding through a partial implementation.

April 03, 2009

Observers, Listeners, and Automatic Refresh

Recitation slides are available here: Recitation 10

Please pair up with someone that you have not worked with before in order to complete this exercise. You can discuss ideas with each other, but each individual person must demonstrate their own code.

Note: All recitation exercises must be finished in the recitation session in order to receive credit. Half credit can be achieved for demonstrating understanding through a partial implementation.

April 17, 2009

The Undo Pattern

Recitation slides are available here: Recitation 11

Please pair up with someone that you have not worked with before in order to complete this exercise. You can discuss ideas with each other, but each individual person must demonstrate their own code.

Note: All recitation exercises must be finished in the recitation session in order to receive credit. Half credit can be achieved for demonstrating understanding through a partial implementation.

April 17, 2009

Quantized Assertions

Recitation slides are available here: Recitation 12

Please pair up with someone that you have not worked with before in order to complete this exercise. You can discuss ideas with each other, but each individual person must demonstrate their own code.

Note: All recitation exercises must be finished in the recitation session in order to receive credit. Half credit can be achieved for demonstrating understanding through a partial implementation.