Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question Five A file contains the following characters with the frequencies as shown. If Huffman Coding is used for data compression, determine- a. Huffman Code

image text in transcribed

Question Five A file contains the following characters with the frequencies as shown. If Huffman Coding is used for data compression, determine- a. Huffman Code for each character b. Average code length c. Length of Huffman encoded message (in bits) Question Six Calculate the entropy in bits for each of the following random variables: a. Pixel values in an image whose possible grey values are all the integers from 0 to 255 with uniform probability. b. Humans classified according to whether they are, or are not, mammals. c. Gender in a tri-sexed insect population whose three genders occur with probabilities 1/4,1/4, and 1/2. Question Seven a. Encode a binary word 11001 into the even parity hamming code. b. Let us assume the even parity hamming code from the above example is transmitted and the received code is (110001101). Detect and correct the error. Question Eight a Prove or disprove the set of codewords {10,010,101} is uniquely decodable b Let X be a discrete random variable on an alphabet of size five. Suppose the distribution of X is P=(1/4,1/4,p3,p4,p5), where the last three probabilities are unknown. Find the values of (p3,p4,p5) such that H(X) is maximized

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

Oracle 10g Database Administrator Implementation And Administration

Authors: Gavin Powell, Carol McCullough Dieter

2nd Edition

1418836656, 9781418836658

More Books

Students also viewed these Databases questions