Δ CSE Home Δ About Us Δ Search Δ Contact Info

Homework

icon Turn in HW8 here. Homework 8 (Critters)

Due Thursday, March 13, 8:00pm.
No submissions accepted after Saturday, March 15, 8:00pm.

Specification: icon spec.pdf
Provided Files: icon CritterMain.java (the main GUI and program that you must run)
icon Critter.java (the default definition of a critter animal that you must extend)
icon Stone.java (an example animal that isn't very exciting)
Sample Solution: icon HW8 Sample Solution (run this to see how yours should behave)

icon Turn in HW7 here. Homework 7 (Personality Test)

Due Tuesday, March 4, 4:00pm.
No submissions accepted after Saturday, March 8, 4:00pm.

Specification: icon spec.pdf
Required Files: iconpersonality.txt | iconbigdata.txt
Expected Output: When run on personality.txt: iconconsole output iconfile output
When run on bigdata.txt: iconconsole output iconfile output
Take the test: Facebook Facebook app personality test
FAQ: Homework 7 Frequently Asked Questions

icon Turn in HW6 here. Homework 6 (Baby Names)

Due Tuesday, February 26, 4:00pm.
No submissions accepted after Saturday, March 1, 4:00pm.

Specification: icon spec.pdf
Required Files: icon names.txt | icon names2.txt | icon DrawingPanel.java
Sample Solution: icon HW6 Sample Solution (run this to see how yours should behave)
FAQ: Homework 6 Frequently Asked Questions
Example Output:
Normal constant values:
Lisa icon console icon graphical
Don: icon console icon graphical
Abbie: icon console icon graphical
Maya: icon console icon graphical
Ethel: icon console icon graphical
zOIdBErg: icon console (no graphical output)
1863, 8 decades, 80px width, names2.txt:
Lisa icon console icon graphical
Don: icon console icon graphical
Abbie: icon console icon graphical
Maya: icon console icon graphical
Ethel: icon console icon graphical
zOIdBErg: icon console (no graphical output)
icon expected output (Mac OS X 10.4 Tiger)
icon expected output (Mac OS X 10.5 Leopard) (updated!)
icon expected output (Linux)

icon Turn in HW5 here. Homework 5 (Random Walk)

Due Tuesday, February 12, 4:00pm.
No submissions accepted after Monday, February 18, 4:00pm.

Specification: icon spec.pdf
Required Files: icon DrawingPanel.java
Sample Solution: icon HW5 Sample Solution (run this to see how yours should behave)
Example Output:

Run 1: icon console | icon graphical 1 | icon graphical 2 | icon graphical 3

Run 2: icon console | icon graphical

Run 3: icon console | icon console (with DEBUG set to true) |
icon graphical 1 | icon graphical 2 | icon graphical 3 | icon graphical 4

(You may not be able to match the values in this output exactly, because the program behaves randomly.)

FAQ: Homework 5 Frequently Asked Questions

icon Turn in HW4 here. Homework 4 (Birthdays)

Due Tuesday, February 5, 4:00pm.
No submissions accepted after Saturday, February 9, 4:00pm.

Specification: icon spec.pdf
Expected Output: icon #1 | icon #2 | icon #3 | icon #4 | icon #5 | icon #6 | icon #7 | icon #8
FAQ: Homework 4 Frequently Asked Questions

icon Turn in HW3 here. Homework 3 (Doodle / Circles)

Due Tuesday, January 29, 4:00pm.
No submissions accepted after Saturday, February 2, 4:00pm.

Specification: icon spec.pdf
Required Files: icon DrawingPanel.java
This file should be saved into the same folder as your Circles.java/Doodle.java solutions.
Expected Output: icon Windows | icon Mac 10.4 Tiger | icon Mac 10.5 Leopard | icon Linux
FAQ: Homework 3 Frequently Asked Questions

Homework 2 (ASCII Art / Space Needle) icon Turn in HW2 here.

Due Tuesday, January 22, 4:00pm.
No submissions accepted after Saturday, January 26, 4:00pm.

Specification: icon spec.pdf
Expected Output: icon expected_output.txt (default size 4)
icon expected_output_size3.txt (size constant changed to 3)
icon expected_output_size7.txt (size constant changed to 7)
FAQ: Homework 2 Frequently Asked Questions

Homework 1 (Song) icon Turn in HW1 here.

Due Tuesday, January 15, 4:00pm.
No submissions accepted after Saturday, January 19, 4:00pm.

Specification: icon spec.pdf
Expected Output: icon expected_output.txt
FAQ: Homework 1 Frequently Asked Questions

Other Useful Links

Sun's official Java coding style conventions CSE 142 Style Guide for Students (by TA Ian Gienger)