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 8, 11:30pm.
No submissions accepted after Friday, March 11, 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, March 1, 11:30pm.
No submissions accepted after Friday March 4, 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 23, 11:30pm.
No submissions accepted after Friday Feb 26, 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 9, 11:30pm.
No submissions accepted after Friday Feb 12, 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 (Gradanator)

Due Tuesday, February 2, 11:30pm.
No submissions accepted after Friday, February 5, 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 / Illusion)

Due Tuesday, January 26, 11:30pm.
No submissions accepted after Friday, January 29, 11:30pm.

Specification:
Resource Files:
  • icon DrawingPanel.java (right-click this link and Save the file in the same folder as your HW3 program)
Expected Output:
FAQ and Links:

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

Due Tuesday, January 19, 11:30pm.
No submissions accepted after Friday, January 22, 11:30pm.

Specification:
Expected Output:
FAQ and Links:

icon Turn in HW1 Homework 1 (Song)

Due Tuesday, Janaury 12th, 11:30pm.
No submissions accepted after Friday, January 15th, 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.