Construct a huffman code for these three symbols

Assignment Help Mathematics
Reference no: EM131177200

Using the symbols 0, 1, and 2 use ternary (m = 3) Huffman coding to encode these letters with the given frequencies: A: 0.25, E: 0.30, N: 0.10, R: 0.05, T: 0.12, Z: 0.18.

Consider the three symbols A, B, and C with frequencies A: 0.80, B: 0.19, C: 0.01.

a) Construct a Huffman code for these three symbols.

b) Form a new set of nine symbols by grouping together blocks of two symbols, AA, AB, AC, BA, BB, BC, CA, CB, and CC. Construct a Huffman code for these nine symbols, assuming that the occurrences of symbols in the original text are independent.

c) Compare the average number of bits required to encode text using the Huffman code for the three symbols in part

(a) and the Huffman code for the nine blocks of two symbols constructed in part

(b). Which is more efficient?

Reference no: EM131177200

Questions Cloud

What is the maximum number of bits used to encode symbol : what is the maximum number of bits used to encode a symbol when all possible tie-breaking selections are considered at each stage of the Huffman coding algorithm?
What are three factors that could have a negative impact : What changes in international business have contributed to the evolution of performance management? What are three factors that could have a negative impact on performance management for an international business?
Changing to a jit production system : (a) With the current production system, (i) Calculate for each of the six months and the period in total, the total inventory holding costs. (ii) Calculate the total production cost savings made by changing to a JIT production system. (b) Explain ..
Describe advantages and disadvantage of using social media : Describe the impact of Social Media on your culture and business organizations in the United States and around the world. Support your findings with the specific examples.
Construct a huffman code for these three symbols : Form a new set of nine symbols by grouping together blocks of two symbols, AA, AB, AC, BA, BB, BC, CA, CB, and CC. Construct a Huffman code for these nine symbols, assuming that the occurrences of symbols in the original text are independent.
How could you safely address employee issues governed : How could you safely address employee issues governed by these laws without violating them? What types of consequences exist if an organization is found to be in violation of these laws?
Ceilings on goods and services : If increasing the minimum wage causes inflation, then why doesn't the government set price ceilings on goods and services?
What is the intrinsic value of the put-premium paid for call : The price of a stock is $56. You can buy a six-month call at $55 for $4 or a six-month put at $55 for $2. What is the intrinsic value of the put? What is the time premium paid for the call?  What is the profit or loss from buying the put?
How your answer depend on the situation or type of conflict : How might your answer depend on the situation or type of conflict? How does your assessment of the important attributes for a manager compare or contrast with your conflict style preferences and what implications does that have for you in the role..

Reviews

Write a Review

Mathematics Questions & Answers

  Questions on ferris wheel

Prepare a Flexible Budget Gator Divers is a company that provides diving services such as underwater ship repairs to clients in the Tampa Bay area.

  Logistic map

This assignment has two question related to maths. Questions are related to bifurcation cascade and logistic map.

  Finding the probability of cards

This assignment has questions related to probabiltiy.

  Systems of ode

Find all the xed points, and study their stability and Draw the phase portrait of the system, as well as the graphs of the solutions in all relevant cases.

  Derive the boolean expression

Derive the Boolean Expression and construct the switching circuit for the truth table stated

  System of equations

Evaluate which equations are under-identified, just-identified, and over-identified.

  Linear programming problem

Linear programming problem consisting of only two constraints with one objective function.

  Find the natural domain

Find the natural domain of the given functions.

  Introduction to numerical methods

Compute the coecients of the polynomials using the term recurrence relation.

  Chart of the topological manifold

De?nition of smoothness of functions on a smooth manifold is chart independent and hence geometric.

  Mathematics in computing

Questions related on mathematics in computing.

  Complex problems

Complex problems

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd