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

  Find the degrees and vertex in the digraph

Find the number of edges, degrees and vertex in the above digraph and find the corresponding matrix of the digraph above.

  How wide is the channel that the tanker can pass through

A new bridge is being constructed. The space between the support needs to be 1050 feet; the height at the center of the arch needs to be 350 feet. An empty tanker needs a 280 foot clearance to pass beneath it.

  Find the perimeter of the rectangle

The length and the width of a rectangle are 276 centimeters and 232 centimeters, respectively. Find the perimeter of the rectangle. What is the area?

  Overall cost of transport have been reduced

From the sensitivity analysis, which warehouse site should have had more paper allocated to it at the start of the week and by how much per tonne would the overall cost of transport have been reduced?

  How each product to minimize cost

Cauchy Canners produces canned whole tomatoes and tomato sauce. This season, the company has available 3,000,000 kg of tomatoes for these two products.

  In how many hours will airplane b to catch up to airplane a

airplane B takes off 60 minutes after airplane A and heads in the same direction. if airplane A travels with a constant velocity of 735 mph and airplane B with a constant velocity of 1070 mph, in how many hours will airplane B to catch up to airpl..

  Determining repeating decimals

Determine whether the following are equal. If not, which is smaller, and why?

  As t197 is less than 201 we do not reject honbspso we can

shipments of light bulbs are acceptable to a distributor if the mean life is at least 1000 hours. a random sample of 48

  How many barrels of mud is in the tank

a horizontal,rectanular tank is 10' long,9'wide,8'high it is filled wiyh mud to a height of 5', how many barrels of mud is in the tank?

  The standard deviation of population sigma is 750 what

suppose that a random sample of 25 retail merchants from all of the 5000 merchants in a large city yielded a mean

  Different combinations of license plates issued by a state

Over the years one state has used different combinations of letters of the alphabet and digits on its automobile license plates. At one time, license plates were issued that consisted of three letters followed by three digits. How many different l..

  Calculate the transition matrix of graph

Calculate the transition matrix of graph and give the graph that corresponds to "hitting the back button" for this graph.

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