Homework

icon Turn in Homework 7 here Homework 7 (Huffman)

Due Friday Aug 16, 9:00pm.
No submissions accepted after Tue Aug 20, 9:00pm.

Specification:
Supporting Files:

java MakeCode.java
java Encode.java
java Decode.java
java BitInputStream.java
java BitOutputStream.java
text hamlet.txt
text hamlet.code
text hamlet.short
text short.txt
text short.code
text short.short

icon hw7.zip

(client program for part 1)
(client program for part 2)
(client program for part 3)
(supporting code for part 2)
(supporting code for part 2)
(sample file)
(code for sample file)
(compressed sample file)
(sample file)
(code for sample file)
(compressed sample file)

all of the above

Diagrams : text short tree diagram
text hamlet tree diagram
 
Links:

icon Turn in Homework 7 Bonus here Homework 7 BONUS (HuffmanTree2)

Due Friday Aug 16, 9:00pm.
No submissions accepted after Tue Aug 20, 9:00pm.

Specification:
Supporting Files :

icon Turn in Homework 6 here Homework 6 (20 Questions)

Due Friday Aug 9, 9:00pm.
No submissions accepted after Tue Aug 13, 9:00pm.

Specification:
Supporting files:
Testing Programs
and Test Cases:

Links:

icon Turn in Homework 5 here Homework 5 (AnagramSolver)

Due Sat Aug 3, 9:00pm.
No submissions accepted after Wed Aug 7, 9:00pm.

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

icon Turn in Homework 4 here. Homework 4 (GrammarSolver)

Due Thursday Jul 25, 9:00pm.
No submissions accepted after Mon. Jul 29, 9:00pm.

Specification:
Supporting Files:
Links:
FAQ / Help:

icon Turn in Homework 3 here Homework 3 (AssassinManager)

Due Thursday Jul 18, 9:00pm.
No submissions accepted after Mon. July 22, 9:00pm.

Specification:
Required Files:
Testing Programs
and Test Cases:

Links:
FAQ / Help:

icon Turn in Homework 2 here Homework 2 (HTML Validator)

Due Thursday Jul 11, 9:00pm.
No submissions accepted after Mon. July 15, 9:00pm.

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

iconTurn in Homework 1 here Homework 1 (Letter Inventory)

Due Thursday July 4, 9:00pm.
No submissions accepted after Mon. July 8, 9:00pm.

Specification:
Testing Programs:

"I need help with my homework!"

  • There is probably someone in the IPL today, or maybe Melissa Winstanley 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.
  • 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 points for each additional day late.

Tutorials and Java style guides written by TAs: