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, August 19, 11:00pm.
No submissions accepted after Friday, August 22, 11:00pm.

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, August 12, 11:00pm.
No submissions accepted after Friday August 15, 11:00pm.

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 Wednesday, August 6, 11:00pm.
No submissions accepted after Saturday August 9, 11:00pm.

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 Wednesday, July 30, 11:00pm.
No submissions accepted after Saturday August 2, 11:00pm.

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, July 22, 11:00pm.
No submissions accepted after Friday, July 25, 11:00pm.

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, July 15, 11:00pm.
No submissions accepted after Friday, July 18, 11:00pm.

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:

iconTurn in HW2 Homework 2 (ASCII Art / Space Needle)

Due Tuesday, July 8, 11:00pm.
No submissions accepted after Friday, July 11, 11:00pm.

Specification:
Expected Output:
FAQ and Links:

icon Turn in HW1 Homework 1 (Song)

Due Tuesday, July 1, 11:00pm.
No submissions accepted after Friday, July 4, 11:00pm.

Specification:
Expected Output:
FAQ and Links:

Homework assignments will show here as they are assigned.

"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.