Recent questions tagged huffman-code

1 votes
1 answer
31
A zero memory source emits six messages with probabilities 0.3, 0.25, 0.15, 0.12, 0.1 and 0.08. If binary Huffman coding is used, what will be the average code length?a) ...
41 votes
4 answers
32
2 votes
1 answer
33
3 votes
2 answers
34
What is the time complexity of Huffman coding using heap tree data structure ?a) O(n)b) O(n log n)c) O(log n)d) O(n2)
0 votes
1 answer
35
3 votes
1 answer
36
In huffman coding how to know whether we should designate left child as 0 and right as 1 or vice versa..??
0 votes
2 answers
37
The following data contains 100 symbols.If Huffman coding is applied to the given data What is the code for the letter ‘E’ if ‘0’ as taken left and ‘1’ is r...
0 votes
2 answers
38
The following data contains 100 symbols.If Huffman coding is applied to the given data Calculate the number of bits occupies after compress the data.A. 128B. 285C. 200D...
7 votes
2 answers
40
A language uses an alphabet of six letters, $\left\{a, b, c, d, e, f\right\}$. The relative frequency of use of each letter of the alphabet in the language is as given be...
2 votes
1 answer
42
2 votes
1 answer
47
Consider the following message:a a b b b b b a b c c d d d c c c c b b d dFind the number of bits required for huffman encoding of the above message
1 votes
2 answers
49
Match the following :$\begin{array}{clcl} \text{(a)} & \text{Huffman Code} & \text{(i)} & O(n^2) \\ \text{(b)} & \text{Optical Polygon Triangulation} & \text{(ii)} & \t...
2 votes
1 answer
51
which is true about huffman coding-1.Huffman coding may become loss in some time2.in Huffman coding no code is prefix of any other code3.huffman code may not be optimal l...
1 votes
1 answer
53
1 votes
1 answer
56
0 votes
1 answer
57
Using Huffman code the number of bits required to have {a,b,c} with frequences 10,10,10 for each letter then the binary codeof bits are ???
1 votes
1 answer
58
1 votes
1 answer
60
A file contains characters a,e,i,o,u,s and t with frequencies 10,15,12,3,4,13 and 1 respectively. If we use Huffman Coding for data compression then the average code leng...