College of Engineering Department of Electrical and Electronics Engineering Mid-Semester Test
College of Engineering Department of Electrical and Electronics Engineering Mid-Semester Test
(c) Name and explain briefly the two types error control codes.
<
(3) (a) Draw a well labelled Source coding and decoding system, give a brief
explanation on how it works.
(b) Morse code is an example of Variable length code, Justify this in one
sentence
(c) Determine the Huffman code assignment procedure for the following
data
Symbol Probability
A1 0.1
A2 0.4
A3 0.06
A4 0.1
A5 0.04
A6 0.3
Compute the average length of the code and the entropy of the source.
Is Huffman code uniquely decodable? If so, justify your answer.
GOODLUCK