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

  Create algorithm to read arbitrary number of data record

Create the algorithm to read arbitrary number of data records, each containing name, age, and code. Code of 1 will indicate female, a code of 2 will indicate male.

  Transmitting image using raster scan order

If we were to transmit this image using raster scan order, after 15 seconds how many rows of the image will the user have received?

  Time sharing operating system

Assume a time sharing operating system allocated time slices of twenty milliseconds and the machine executed an average of 5000 instructions per microsecond.

  Write algorithm find intersection of two singly-linked list

Write an algorithm (pseudocode) to find the intersection of two singly-linked lists. Assume that the data in each list are in nondecreasing order.

  Build b tree for the part table

Build B+ tree for the PART table with n = 6 pointers; illustrate how B+ tree expand (show several intermediate trees) and what final tree will look like.

  Creating an array

Determine which of the following commands is used to create an array?

  Pseudocode for divide-and-conquer algorithm

Write a pseudocode for a divide-and-conquer algorithm for finding the position of the largest element in an array of n numbers.

  Explain feasibility analysis for jobs of lrt algorithm

Study feasibility analysis for jobs of LRT algorithm when preemption is allowed. Which scheduling algorithm is best suited for high speed networks and why? Distinguish between static and dynamic systems.

  Using channel to implement the back up

Think about an organization, which has a rented communications channel in two buildings, building A and building B. They have a set of servers in building A,

  Currency conversion development

Currency Conversion Development

  Question related to normalization

Think about a typical job order that might include the following information. Design a single table to hold all the data needed to store a job order including this information.

  Write algorithm which divides n objects of u into k clusters

Suggest the algorithm which divides n objects of U into k clusters, making use of MST of a graph. Give a simple argument of correctness and bound on the running time of the algorithm you are proposing.

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