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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Does huffman encoding creates optimum prefix code

A

Yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Does smallest frequency characters goes deepest in tree in huffman

A

Yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly