Course: CIS451/651  Data Compression in Multimedia
Professor: Paul D. Amer
Semester: Spring 2013
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. Graduate students must do all assignments individually. Undergraduate students may collaborate in groups of 2 for assignments. Only one submission with both names should be turned in from a group.
    2. Clearly label your answers, and please submit answers in the order assigned.
    3. (repeated from course syllabus) Academic Honesty: Unless explicitly stated otherwise, students are not permitted to access or compare any homework, or program-project answers with those of any other student or group past or present, alive or dead, or any Internet web site prior to submitting the assignment. Comparing answers, or getting answers off the Internet 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. While it is obviously difficult to enforce this policy, students who do not follow this policy should be keenly aware that in this class, they a re cheating, and if caught, will be prosecuted according to University guidelines. This applies both to the student (or group) who gets answers and the student (or group) who gives answers.
    4. (repeated from course syllabus)  Lateness Policy: Assignments are due at the beginning of class. Unexcused late assignments will be penalized up to 10% per school day (weekends do not count) up to a 2-day maximum penalty of 20%. Without prior discussion with the professor, assignments will not be accepted more than two school days late without a university approved excuse.