Homework

Academic misconduct: You must work individually on all homework assignments. We check against all students from this quarter and from past quarters going back many years. We have caught 46 students on HW2-7 who we feel have violated our policy. This can lead to reduced grades or hearings with a misconduct committee. Please be careful.

icon Turn in HW8 here. Homework 8 (Critters)

Due Wed Jun 2, 11:30pm.
No submissions accepted after Sunday Jun 6, 11:30pm.

Specification: icon Specification
Provided Files: icon CritterMain.java (the main simulator 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 Critters Sample Solution (run this to see how yours should behave)
Tournament Details:
FAQ and Links:

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

Due Tue May 25, 11:30pm.
No submissions accepted after Sat May 29, 11:30pm.

Specification: icon Specification
Input Files:

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

Expected Output:
Take the Test: iconCatalyst Personality Survey (Your soulmate)
FAQ and Links:

icon Turn in HW6 here. Homework 6 (Mad Libs)

Due Tue May 18, 11:30pm.
No submissions accepted after Sat May 22, 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 May 4, 11:30pm.
No submissions accepted after Sat May 8, 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 (Grades)

Due Tue Apr 27, 11:30pm.
No submissions accepted after Sat May 1, 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 Apr 20, 11:30pm.
No submissions accepted after Sat Apr 24, 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 Tue Apr 13, 11:30pm.
No submissions accepted after Sat Apr 17, 11:30pm.

Specification:
Expected Output:
FAQ and Links:

icon Turn in HW1 here. Homework 1 (Song)

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