Homework Assignments

If you are ever unable to access the turn-in, please email your assignment to your TA before the deadline. This way we can upload your homework when the turn-in comes back up with the submission time of when you sent your email.

icon Turn in HW8 Homework 8 (Critters)

Due Tuesday, March 7, 11:30pm.
No submissions accepted after Friday, March 10, 11:30pm.

Specification: icon Specification
Provided Files: icon CritterMain.java (the main simulator and program that you must run)
icon MiniMain.java (a smaller client program you can run to do basic testing)
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)
icon a8.zip (all of the files above in one zip file)
Sample Solution: icon Critters Sample Solution (run this to see how yours should behave)
Tournament Details:
FAQ and Links:

icon Turn in HW7 Homework 7 (DNA)

Due Tuesday, February 28, 11:30pm.
No submissions accepted after Friday March 3, 11:30pm.

Specification: icon Specification
Input Files:

(right-click these files and click Save Link Target As...)

Expected Output:
FAQ and Links:

icon Turn in HW6 Homework 6 (Mad Libs)

Due Tuesday, Feb 21, 11:30pm.
No submissions accepted after Friday Feb 24, 11:30pm.

Specification:
Input Files:

(right-click these files and click Save Link Target As...)

Expected Output:
FAQ and Links:

icon Turn in HW5 Homework 5 (Guessing Game)

Due Tuesday, Feb 7, 11:30pm.
No submissions accepted after Friday Feb 10, 11:30pm.

Specification:
Expected Output:
  • icon #1 icon #2 icon #3 icon #4
  • with constant changed: icon -> to 5 icon -> to 374
  • Because the program is random, it's hard to match our expected output exactly. But you should match the exact format shown. See the HW5 FAQ link below to learn possible ways to exactly match our output.
FAQ and Links:

icon Turn in HW4 Homework 4 (Birthday)

Due Tuesday, January 31, 11:30pm.
No submissions accepted after Friday, February 3, 11:30pm.

Specification:
Expected Output:

These provided tests do not test every possible case. You should perform your own testing with other input values to make sure that your program works correctly.

FAQ and Links:

icon Turn in HW3 Homework 3 (Doodle / Circles)

Due Tuesday, January 24, 11:30pm.
No submissions accepted after Friday, January 27, 11:30pm.

Specification:
Resource Files:
Expected Output:
FAQ and Links:

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

Due Tuesday, January 17, 11:30pm.
No submissions accepted after Friday, January 20, 11:30pm.

Specification:
Expected Output:
FAQ and Links:

icon Turn in HW1 Homework 1 (Song)

Due Wednesday, Janaury 11th, 11:30pm.
No submissions accepted after Saturday, January 14th, 11:30pm.

Specification:
Expected Output:
FAQ and Links:

"I need help with my homework!"

  • There is probably someone in the IPL today, or maybe Zorah has office hours.
  • Check the message board; your question may have been answered there.
  • Read the relevant chapters and sections of the textbook, or watch the textbook "online portal" videos if you have access to them.
  • Look at the in-class lecture examples.
  • Look at this week's section handout problems and their solutions.
  • Start early! We get swamped the day assignments are due.
  • Don't panic. You have late days, and even if you run out, it is only -2 for each day late.