Chapter 24 Flashcards
1
Q
What happens inside Huffman encoding
A
It determines the frequency of occurrence of each character in the text message (not for image). Then build a binary tree (leaf) node for each character. Then set the weight of each node according to frequency of that character.
2
Q
Does graph have more than one path to go from root to leaf and does tree have only one path to go from root to leaf.
A
Yes
3
Q
Does huffman encoding creates optimum prefix code
A
Yes
4
Q
Does smallest frequency characters goes deepest in tree in huffman
A
Yes