Computer Science Homework Solutions
Problem
#26560

Coding

) Assume the following alphabet with eight symbols, where each symbol
has the listed probability of occurrence.
Symbol Probability of
Occurrence
000 .15
001 .1
010 .05
011 .4
100 .025
101 .02
110 .005
111 .25
(a) Assuming that symbols are compressed using Huffman Coding and that the most
likely symbol is encoded as a 0, what is the decompressed value of the following
compressed string of bits? 11011101111001111101111110111111110
(b) For the Huffman Code that corresponds to the alphabet shown in the table above,
what is the average number of bits needed to encode each 3-bit symbol?

Solution
What is this?
By OTA - Overall OTA Rating
Jane Chen, MSc - 5/5
Purchase Cost Now
$2.19 CAD (was ~$7.98)
Included in Download
  • Plain text response
  • Attached file(s):
    • Doc1.doc
$2.19 Instant Download
Add to Cart
Why you can trust BrainMass.com
  • Your Information is Secure
  • Best Online Academic Help Service
  • Students find real academic Success
Related Solutions
Browse