Course: CIS451/651  Data Compression in Multimedia
Professor: Paul D. Amer
Semester: Spring 2009
Title: Homework Chapter 3 - Statistical Coding Methods
Due Date:

Tasks

Read Chapter 3. Note: Hand-written Huffman trees are acceptable as long as they are neat and legible.  

  1. (2 pts) Section 3.10; Projects and Problems 4
  2. (2 pts) Section 3.10; Projects and Problems 5
  3. (2 pts) Section 3.10; Projects and Problems 6
  4. (2 pts) Section 3.10; Projects and Problems 7
  5. (2 pts) Section 3.10; Projects and Problems 10
  6. (2 pts) Section 3.10; Projects and Problems 13
  7. (3 pts) 2-Symbol Huffman Code
  8. (4 pts) More Huffman Codes

 

 

a

b

c

d

e

f

g

h

source 1

1/8

1/8

1/8

1/8

1/8

1/8

1/8

1/8

source 2

.05

.20

.10

.35

.05

.12

.03

.10

  1. (3pts) Required for 651; Extra credit for 451:
    • Consider a source with alphabet {A,B,C,D,E}.  Roughly how many bits would be needed to encode an input file containing 5005 characters: ABCDEAAA...ABBB...BCCC...CDDD...DEEE...E where the sequences of As, Bs, Cs, Ds, Es are each 1000 long, using
      • a 2-pass static huffman code
      • a 1-pass adaptive huffman code (as described in class)

  2. (5 pts) Required for 651; Extra credit for 451 - Morse Code
  3. (15 pts) Extra credit for 451, 651 - 2008 ACM Programming Contest World Finals
  4. Notes

    1. Students may work individually or in groups of 2.   Only one submission should be turned in from each group.
    2. (repeated from syllabus)   Academic Honesty: Students in one group are not permitted to access or compare homework answers with those of any other student (past or present) or any web site prior to submitting the assignment.  Comparing answers before submitting one's work is considered cheating.  If you do not have time to complete an assignment, it is better to submit partial solutions than to get answers from someone else. Students who compare answers, or get answers from the Internet prior to submission should be keenly aware that if caught, they will be prosecuted according to University guidelines. This applies both to the student who gets answers and the student who gives answers.
    3. (repeated from syllabus)  Lateness: Unexcused late assignments will be penalized up to 5% per day not including weekends up to a 10-day  maximum penalty of 50%. Without prior discussion with the professor, assignments will not be accepted more than two weeks late.
    4. Answers should be submitted in the order assigned.  Illegible answers will lose credit.