Construct a huffman code for the eight blocks of three bits

Assignment Help Mathematics
Reference no: EM131166927

Suppose that in a long bit string the frequency of occurrence of a 0 bit is 0.9 and the frequency of a 1 bit is 0.1 and bits occur independently.

a) Construct a Huffman code for the four blocks of two bits, 00, 01, 10, and 11. What is the average number of bits required to encode a bit string using this code?

b) Construct a Huffman code for the eight blocks of three bits. What is the average number of bits required to encode a bit string using this code?

Reference no: EM131166927

Questions Cloud

Discuss the key aspects of design and the design process : Develop a research paper providing an overview of what construction design communications are, which project team members (disciplines) use them, and how they are used (what information they provide).
Banking system of upperland : Suppose that the banking system of Upperland has excess reserves of $50 million, the desired reserve ratio is 25 percent, and the currency drain ratio is 50 percent. By how much will the quantity of money increase?
Product required the least amount of specialized investments : Andrew has decided to open an online store that sells home and garden products. After searching around, he chooses the software company Initech to provide the software for his website since their product required the least amount of specialized inves..
Availability of factor inputs across countries : Trade occurs because of differences in the availability of factor inputs across countries and differences in the proportions of those factor inputs used inproducing different products.
Construct a huffman code for the eight blocks of three bits : Suppose that in a long bit string the frequency of occurrence of a 0 bit is 0.9 and the frequency of a 1 bit is 0.1 and bits occur independently.
Find the dollar amount : What is the probability that a randomly selected customer spends between $65 and $85 at this store?-Find the dollar amount such that 75% of all customers spend no more than this amount.
Heckscher-ohlin theorem : According to the Heckscher-Ohlin theorem, trade arises are due to
Suppose economic boom causes incomes to increase : Suppose an economic boom causes incomes to increase and at the same time drives up wages for the sales reps who work for the cell phone companies. Explain what will happen to the demand for and supply of phones and predict the direction of the change..
Trade opens between the two countries : Assuming that Country A has a comparative advantage in wheat and Country B in wine, which of the following is true? a. The price of wheat in country B falls when trade opens between the two countries. b. The price of wine in country B falls when trad..

Reviews

Write a Review

Mathematics Questions & Answers

  Points b and c are on a circle with radius 5 and lines ab

question points b and c are on a circle with radius 5 and lines ab and ac are tangent to the circle. let d be a point

  Find out how long the rocket will take to hit the ground

Use the quadratic formula to find out how long the rocket will take to hit the ground after it is launched. Round to the nearest tenth of a second.

  The liner regression equation based problems

Using the quadratic regression equation Predict the average county taxes for a house that is 20 years old.

  Word problems and counting techniques

Suppose that two of her friends (of the 14 of either gender) do not like each other. If one of the two is invited, the other will not come to the party. How many ways are there to invite 8 people to the party. Explain.

  Calculate the expected value

Imagine yourself at a fair playing one of the midway games. Pick a game and calculate the expected value and post your results along with how you calculated them.

  What values of x make the pentagons congruent

Two regular pentagons have areas of 20 mm² and x² - x mm². What values of x make the pentagons congruent?

  Find the area in sq ft

Living room 15 ft x 12 ft  - find the area in sq ft

  State truck drivers waiting in the queue

Truck drivers working for G.White and Sons earn $10 per hour on the average. Fruit loaders receive about $6 per hour. Truck drivers waiting in the queue or at the loading gate are drawing a salary but are productively idle

  Cmpare the domain and range of fx x2 6 and gx -x 2

compare the domain and range of fx x2 6 and gx -x 2

  A study in 2009 found that 60 of us workers between ages of

1. a study in 2009 found that 60 of us workers between ages of 20-29 cash out their 401k retirement accounts when they

  Find the absolute relative approximate error at the end

Use the Newton-Raphson method of finding roots of equations to find the minimum number of computers that need to be sold to make a profit. Conduct three iterations to estimate the root of the above equations.

  Bolzano-weierstrass theorem

Given S is a subset of R. Suppose S' (set of all accumulation points in S) = emptyset. Prove S is countable.

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