Advantage and disadvantage of shannon fano coding
Answers
Answered by
11
hey...there is your answer...
Disadvantages
1) In Shannon-Fano coding, we cannot be sure about the codes generated. There may be two different codes for the same symbol depending on the way we build our tree.
2) Also, here we have no unique code i.e a code might be a prefix for another code. So in case of errors or loss during data transmission, we have to start from the beginning.
3) Shannon-Fano coding does not guarantee optimal codes.
Advantages
For Shannon Fano coding procedure we do not need to build the entire codebook instead, we simply obtain the code for the tag corresponding to a given sequence. It is entirely feasible to code sequenced of length 20 or much more.
Disadvantages
1) In Shannon-Fano coding, we cannot be sure about the codes generated. There may be two different codes for the same symbol depending on the way we build our tree.
2) Also, here we have no unique code i.e a code might be a prefix for another code. So in case of errors or loss during data transmission, we have to start from the beginning.
3) Shannon-Fano coding does not guarantee optimal codes.
Advantages
For Shannon Fano coding procedure we do not need to build the entire codebook instead, we simply obtain the code for the tag corresponding to a given sequence. It is entirely feasible to code sequenced of length 20 or much more.
Similar questions