Homework

icon Turn in HW8 here. Homework 8 (Huffman Coding)

Due Thu Mar 11, 11:30pm.
No submissions accepted after Sun Mar 14, 11:30pm.

Specification:
Provided Files:
Links:
FAQ:

icon Turn in HW7 here. Homework 7 (20 Questions)

Due Thu Mar 4, 11:30pm.
No submissions accepted after Sun Mar 7, 11:30pm.

Specification:
Provided Files:
Links:
FAQ:

icon Turn in HW6 here. Homework 6 (Anagrams)

Due Thu Feb 25, 11:30pm.
No submissions accepted after Sun Feb 28, 11:30pm.

Specification:
Required Files:
  • icon LetterInventory.class, a class to help you count, add, and subtract letters from words and phrases
  • icon LetterInventory.jar, JAR archive version for Eclipse
    • For those using Eclipse, you should include LetterInventory.jar in your project. To add the JAR file to your project, select your project, go to the Projects menu and select Properties, then Java Build Path, then Libraries, then click Add External JARs. When you add LetterInventory.jar to the build path, it should work.
    • For those using jGRASP or another basic editor, just put LetterInventory.class in the same folder as your program.

      Sometimes this program produces a lot of output. If you run it in jGRASP, it will display just 500 lines of output. If you want to see more, go to the Build menu and select the Run in MSDOS Window option. Then when the window pops up, right-click on the title bar of the window, select Properties, and under the Layout tab you should be able to adjust the Screen Buffer Size Height to something higher (like 9999 lines).

Testing Programs
and Test Cases:
Links:
FAQ:

icon Turn in HW5 here. Homework 5 (Grammar Solver)

Due Thu Feb 11, 11:30pm.
No submissions accepted after Sun Feb 14, 11:30pm.

Specification:
Testing Programs
and Test Cases:
Links:
FAQ:

icon Turn in HW4 here. Homework 4 (Assassin) (A.K.A. "Affection")

Due Thu Feb 4, 11:30pm.
No submissions accepted after Sun Feb 7, 11:30pm.

Specification:
Required Files:
Testing Programs
and Test Cases:
Links:
FAQ:
Real Live Game:

icon Turn in HW3 here. Homework 3 (HTML Validator)

Due Thu Jan 28, 11:30pm.
No submissions accepted after Sun Jan 31, 11:30pm.

Specification:
Required Files:
Testing Programs
and Test Cases:
Links:
FAQ:

icon Turn in HW2 here. Homework 2 (SortedIntList)

Due Thu Jan 21, 11:30pm.
No submissions accepted after Sun Jan 24, 11:30pm.

Specification:
Required Files:
Testing Programs:
Links:
Optional Files:
  • icon Arrays.java (not needed unless you have an older Mac with Java v1.5 or older; you should still import java.util.*; in your SortedIntList even if you use this file!)
FAQ:

icon Turn in HW1 here. Homework 1 (Rectangle-Rama)

Due Thu Jan 14, 11:30pm.
No submissions accepted after Sun Jan 17, 11:30pm.

Specification:
Required Files:
Sample Solution:
Links:
FAQ:

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