Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

Consider a discrete source of three independent symbols A , B and C with probabilities of occurrence 0 . 8 , 0 . 1 and

Consider a discrete source of three independent symbols A,B and C with probabilities of occurrence 0.8,0.1 and 0.1, respectively.
(a) Design a binary Huffman code.
(b) Determine the average code length, compression ratio and coding efficiency of your code.
Consider an extension alphabet {AA,AB,AC,BA,BB,BC,CA,CB,CC} formed by selecting two symbols at a time from the original alphabet. The occurrence probability of two-symbolalphabet is obtained by multiplying two individual probabilities, for example, P(AB)=P(A)*P(B).
(c) Design a binary Huffman code with the extension alphabet source.
(d) Determine the average code length per symbol, compression ratio and coding efficiency of the extension code.
(Note for a and c)
At the initial step of forming a Huffman coding tree, the characters with equal probability of occurrence are listed in the ascending alphabetical order. For example, if characters BB, CB, and BC have the equal probabilities of occurrnce, they must be listed in the order of BB, CB, CC.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions