subject

Assume a file contains the following characters with the associatedfrequencies displayed in the
table:
a b c d e f g
9 11 6 4 24 12 16
1. how many bits are necessary to store the characters in a fileusing fixed length codes?
2. show the code built using the huffman algorithm
3. how many bits are necessary to store the characters using theprefix code returned by the
huffman algorithm?
4. assume all the characters have the same frequency (say 10). showthe tree built by the huffman
algorithm in that case, and determine the associated number ofbits

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 11:00
What is the name of the sound effect that danny hears
Answers: 1
question
Computers and Technology, 23.06.2019 12:20
When guido van rossum created python, he wanted to make a language that was more than other programming languages. a. code-based b. human-readable c. complex d. functional
Answers: 1
question
Computers and Technology, 23.06.2019 16:00
An english teacher would like to divide 8 boys and 10 girls into groups, each with the same combination of boys and girls and nobody left out. what is the greatest number of groups that can be formed?
Answers: 2
question
Computers and Technology, 23.06.2019 22:30
You draw two cards from a standard deck of 52 cards, but before you draw the second card, you put the first one back and reshuffle the deck. (a) are the outcomes on the two cards independent? why?
Answers: 3
You know the right answer?
Assume a file contains the following characters with the associatedfrequencies displayed in the
Questions