EE 6340: Information Theory Quiz II - Apr/10/2014: I TH I TH 1 2 3 4
EE 6340: Information Theory Quiz II - Apr/10/2014: I TH I TH 1 2 3 4
Quiz II - Apr/10/2014
Remarks
Problems
1. (5 pts) Let source X has four outcomes {1, 2, 3, 4} with pi being probability of ith
outcome. Let a binary Huffman code is constructed for X and `i denote the length of
codeword for ith outcome. It is given that p1 > p2 = p3 = p4 .
2. (5 pts) Let X be a random variable with K outcomes. Let H3 (X) denote the entropy
of X in ternary units. An instantaneous ternary code is found for this source with
expected code length L = H3 (X). Show that K is odd.
3. (10 pts) Consider the 3-input 3-output discrete memoryless channel illustrated below.
X Y
1−p
0 0
p
p
1 1
1−p
2 1
2