Question

In: Computer Science

Encode “GOOGLE” using Huffman coding algorithm. Show that the entropy of “GOOGLE” specifies the lower bound...

Encode “GOOGLE” using Huffman coding algorithm. Show that the entropy of “GOOGLE” specifies the lower bound for the average number of bits to code each symbol in “GOOGLE”.

Solutions

Expert Solution

Encode "GOOGLE" using Huffman coding algorithm .show that the entropy of "GOOGLE" specifies the lower bound for the average number of bits to code each symbol in "GOOGLE"

Huffman coding algorithm: Huffman coding algorithm is used to reduces the size of original message

below picture clearly explain how to encode

important points

origina message : G O O G L E

encode result : 00 0101001011

original message size is = 12bits

each character size is = 48 bits

each code size is = 12 bits

total size is =60 bits

table size is = 60 bits   

72 bits

lower bound for average no.of bits each symbol is =72 bits

please kindly requesting upvote rating my answer and my answer is correct and i explain clearly please rating my answer


Related Solutions

Based on the scenario above, implement the Huffman coding algorithm using Java NetBeans. Assume the characters...
Based on the scenario above, implement the Huffman coding algorithm using Java NetBeans. Assume the characters and frequencies as listed below. The total number of nodes is n = 6.
Prove / Disprove the following 2 properties using Huffman Coding: a) If some characters occur with...
Prove / Disprove the following 2 properties using Huffman Coding: a) If some characters occur with a frequency of more than 2/5, then there is a codeword that is guaranteed to be a length of 1. b) If all characters occur with a frequency of less than 1/3, then there are no codewords guaranteed to be a length of 1.
(Lower bound for searching algorithms) Prove: any comparison-based searching algorithm on a set of n elements...
(Lower bound for searching algorithms) Prove: any comparison-based searching algorithm on a set of n elements takes time Ω(log n) in the worst case. (Hint: you may want to read Section 8.1 of the textbook for related terminologies and techniques.)
Write matlab program to compute ∫f(x)dx lower bound a upper bound b using simpson method and...
Write matlab program to compute ∫f(x)dx lower bound a upper bound b using simpson method and n points. Then, by recomputing with n/2 points and using richardson method, display the exact error and approximate error. (Test with a=0 b=pi f(x)=sin(x))
a. Using the Euclidean Algorithm and Extended Euclidean Algorithm, show that gcd(99; 5) = 1 and...
a. Using the Euclidean Algorithm and Extended Euclidean Algorithm, show that gcd(99; 5) = 1 and find integers s1 and t1 such that 5s1 + 99t1 = 1. [Hint: You should find that 5(20) + 99(?1) = 1] b. Solve the congruence 5x 17 (mod 99) c. Using the Chinese Remainder Theorem, solve the congruence x 3 (mod 5) x 42 (mod 99) d. Using the Chinese Remainder Theorem, solve the congruence x 3 (mod 5) x 6 (mod 9)...
Using Google sheets: On a spreadsheet show how to use the bisection method to solve the...
Using Google sheets: On a spreadsheet show how to use the bisection method to solve the equation cos⁡(x)=x numerically to at least four decimal place accuracy
solve following travelling salesman problem using branch and bound and show matrix and graph at each...
solve following travelling salesman problem using branch and bound and show matrix and graph at each step 5 locations : a, b, c, d, e from a to remaining places = [infinity, 4, 7, 3, 4] from b to remaining places = [4, infinity, 6, 3, 4] from c to remaining = [7, 6, infinity, 7, 5] from d to remaining = [3, 3, 7, infinty, 7] from e to remaining = [4, 4, 5, 7, infinity] PLEASE show ALL...
1. Show that 11,111,111 and 3,333,333 are relatively prime using the Extended Euclidean Algorithm.
  1. Show that 11,111,111 and 3,333,333 are relatively prime using the Extended Euclidean Algorithm. 2. Use the EEA to find the GCD of 6,327 and 10,101. 3. Find the additive inverse of 3,333,333 modulo 11,111,111. Verify. 4. Find the multiplicative inverse of 3,333,333 modulo 11,111,111.Verify. 5. What is the orbit of 3 in the group Z_7 under multiplication modulo 7? Is 3 a generator?
show coding and answer using R A deck of 16 cards, from the bottom up, consists...
show coding and answer using R A deck of 16 cards, from the bottom up, consists of 4 ♣, 4 ♠, 4 ♦, and 4 ♥. The cards are cut at a random place. Let Tk be the event that the all the cards of every suit are together after cut k. (a) Assuming that all possible cuts are equally likely, find P(T2). (b) Find P(Tk+1) in terms of P(Tk). (c) If the deck is repeatedly cut many, many times,...
Topic:Physics statistics 1 a)Give definition of absolute temperature through entropy. Using microcanonical formalism,show that for two...
Topic:Physics statistics 1 a)Give definition of absolute temperature through entropy. Using microcanonical formalism,show that for two systems in a state of thermal equilibrium with each other, the equality of temperatures follows from the fact that entropy is an extensive quantity. b)Explain if the absolute temperature can be negative or not. If so, in what physical systems and why does this phenomenon happen?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT