Double code:-
Suppose that as a small measure of security against eavesdroppers, the symbols of a source S are each assigned two code words, and during transmission the word to send is chosen randomly, each with a 50 percent probability. Of course the code must still be uniquely decodable. In terms of the entropy H(S), what is the lower bound on the average code word length of the code?