Homework

icon Turn in HW9 here. Homework 9 (Critters)

Due Thu Dec 9, 11:30pm.
No submissions accepted after Sunday Dec 12, 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)
Sample Solution: icon Critters Sample Solution (run this to see how yours should behave)
Tournament Details:
  • Tournament Rules (tournament is in class on Fri 12/10!)
  • all of your Huskies: icon huskies-10au.zip (in CritterMain, click Load from Web, then give it the full URL of this file)
  • Tournament bracket page
  • Regular season results: Lecture A (detailed), Lecture B (detailed)
  • Playoff results, lecture A:
    • 1st place: Ahmed Brown
    • 2nd place: Patrick Schubert
    • 3rd place: Joshua Stahl
    • 4th place: Kevin Tang
    • full bracket
  • Playoff results, lecture B:
    • 1st place: Brandon Edgren
    • 2nd place: Neil Johnson
    • 3rd place: James Hayes
    • 4th place: John Stephenson
    • full bracket
  • Playoff results, TA tournament:
    • 1st place: Emma Lynch *
    • 2nd place: Justin Harding
    • 3rd place: Steve Geluso
    • 4th place: David Bergsman
    • full bracket
FAQ and Links:

icon Turn in HW8 here. Homework 8 (Birthday/Date)

Due Thu Dec 2 11:30pm.
THIS ASSIGNMENT IS NOW EXTRA CREDIT due to weather.
NO LATE SUBMISSIONS ACCEPTED.

Specification: icon HW8 Specification
Required Files: icon Date.class (Save this file to the same directory as your program)
Expected Output:
FAQ and Links:

icon Turn in HW7 here. Homework 7 (DNA)

Due Wednesday Nov 24, 5:00pm.
No submissions accepted after Sun Nov 28, 5: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 here. Homework 6 (Mad Libs)

Due Tuesday Nov 16, 11:30pm.
No submissions accepted after Sat Nov 20, 11:30pm.

Specification:
Input Files:

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

Expected Output:
FAQ and Links:

icon Turn in HW5 here. Homework 5 (Guessing Game)

Due Tue November 2, 11:30pm.
No submissions accepted after Sat November 6, 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 here. Homework 4 (Birthday)

Due Tue October 26, 11:30pm.
No submissions accepted after Sat October 30, 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 here. Homework 3 (Doodle / Circles)

Due Tue October 19, 11:30pm.
No submissions accepted after Sat October 23, 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:

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

Due Wed October 13, 11:30pm.
No submissions accepted after Sun October 17, 11:30pm.

Specification:
Expected Output:
FAQ and Links:

icon Turn in HW1 here. Homework 1 (Song)

Due Wed Oct 6, 11:30pm.
No submissions accepted after Sun Oct 10, 11:30pm.

NOTE: When you click the Turn In link from Firefox, you may see a message about "Secure Connection Failed". You should click "Add an exception...", then "Add Exception...", then "Get Certificate", then "Confirm Security Exception".

Specification:
Expected Output:
FAQ and Links:

"I need help with my homework!"

  • There is probably someone in the IPL today, or maybe Marty or Jessica has office hours. If so, go see them.
  • 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.
  • Send us a message on AIM. (AIM is better for short questions; anything that involves looking at multiple lines of code is better done by email.)
  • 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 -1 point for each day late.