Find the average number of bits needed to encode

Assignment Help Data Structure & Algorithms
Reference no: EM1380436

Assume the following alphabet with eight symbols, where each symbol has the listed probability of occurrence.
Symbol Probability of Occurrence
000 .15
001 .1
010 .05
011 .4
100 .025
101 .02
110 .005
111 .25
(a) Suppose that the symbols are compressed using Huffman Coding and that the most likely symbol is encoded as a 0, determine the decompressed value of the following compressed string of bits? 11011101111001111101111110111111110
(b) For the Huffman Code that corresponds to the alphabet shown in the table above, what is the average number of bits needed to encode each 3-bit symbol?

Reference no: EM1380436

Questions Cloud

Advanced systems analysis and design : Produce a system specification indicating functional and non-functional requirements - Generate suitable prioritised Use Cases for the system.
Explain how is a recession defined : Explain how is a recession defined? Is the U.S. presently in a recession? Explain. Presume you are an advisor to President Obama
structure as well as organized according to the logical flow : To develop a plan for a project we will utilize the concept of a project network which shows work activities taken from the work breakdown structure as well as organized according to the logical flow in time as well as relationships governing when..
Question about pointerlists : Whenever the pointer of a list or a tree is manipulated, procedure that performs this operation must be considered to be in a critical section.
Find the average number of bits needed to encode : Suppose that the symbols are compressed using Huffman Coding and that the most likely symbol is encoded as a 0, determine the decompressed value of the following compressed string of bits?
Illustrate as well describe the impact of the inward shift : Suppose that butter is one of the key elements for lemon cakes in Samoa. Assuming ceteris paribus, use a graph to illustrate as well as describe the impact of the inward shift of the supply curve for butter on the supply
Conduct a matched pairs t-test : Conduct a matched pairs t-test to see if the differences in locations is significant - The air in poultry-processing plants often contains fungus spores.
Illustrate as well describe the impact of the inward shift : Suppose that butter is one of the key elements for lemon cakes in Samoa. Assuming ceteris paribus, use a graph to illustrate as well as describe the impact of the inward shift of the supply curve for butter on the supply
Reverse path flooding : Suppose we have a network of nodes connected via point to point links, and source S sends a message that will be broadcast to all nodes using Reverse Path Flooding.

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Question about communication recovery plan

Think about a natural or man made disaster, and explain how a communications network could be recovered from such a disaster.

  Find values of n insertion sort beat merge sort

For inputs of size n, insertion sort runs in 8n 2 steps, where as merge sort runs in 64* nlog base 2 n steps. For which values of n odes insertion sort beat merge sort?

  Design algorithm to solve spectral assembly problem

Design an algorithm to solve the Spectral Assembly problem under the above conditions. Does the problem have a unique solution?

  Relationships in a database model

Discuss different types of classifications and do they overlap, or do they each tell us something unique about the entity relationship?

  Method singleparent returns number of nodes in binary tree

Write a method singleParent, which returns number of nodes in a binary tree that have only one child.

  Order statistic tree to count number of inversions in array

Demonstrate how to use an order-statistic tree to count the number of inversions in an array of size n in time O(n lg n).

  Create algorithm which will prompt for-accept four numbers

Create an algorithm which will prompt for and accept four numbers, sort them into ascending sequence and display them to the screen. Your algorithm is to include a module

  Efficient algorithm that achieves goal using base station

So that every house is within four miles of one of the base stations. Write efficient algorithm that achieves this goal, using as few base stations as possible.

  Representation of the newick format

Create the graphical representation of Newick format tree given below. Label each leaf with appropriate sequence identifier, and label each branch with its appropriate length.

  Short discussion on the concept of cryptography

The answer gives the learner with a short discussion on the concept of cryptography and the different aspects and functions that are provided through using encryption.

  Design algorithm to receive two integer items from terminal

Design an algorithm that will receive two integer items from a terminal operator, and display to the screen their sum, difference, product and quotient.

  Algorithm for a bank account

Write algorithm to settle following question: A bank account starts out with $10,000. Interest is compounded monthly at 6 percent per year (0.5 percent per month).

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