HW6 Data Compression.docx

This preview shows page 1 - 2 out of 3 pages.

Data Compression The  due date  for this quiz is  Sun 22 Dec 2013 8:59 PM PST . To specify an array or sequence of values in an answer, you must separate the values by a single space character (with no punctuation and with no leading or trailing whitespace). For example, if the question asks for the first ten powers of two (starting at 1), the only accepted answer is: 1 2 4 8 16 32 64 128 256 512 If you wish to discuss a particular question and answer in the forums, please post the entire question and answer, including the seed (which is used by the course staff to uniquely identify the question) and the explanation (which contains the correct answer). In accordance with the Coursera Honor Code, I (Qasim Sheikh) certify that the answers  here are my own work. Question 1 (seed = 557627) Compute the Huffman trie for the following string of length 58? NAVRRYVNYAANANRNRYNAFXARFAYVXARVAVANFFVNNNRNRNVYNNNYNYNVRF For reference, here are the frequencies of each of the characters in the string: char freq ---------- A
Image of page 1

Subscribe to view the full document.

Image of page 2
You've reached the end of this preview.
  • Winter '18
  • Dr Sibt
  • Character encoding, ASCII, Unicode, Power of two

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern