Question

Calculate the following for the data given below:

i) Entropy

ii) Coding redundancy of Binary code

iii) Coding redundancy of Huffman code

Symbol: 1 2 3 4 5 6
Huffman code: 0 10 110 1110 11110 111111
Binary code: 000 001 010 011 100 101
Probability: 0.4 0.2 0.2 0.1 0.05 0.05

[Given, log 0.05= -4.32] 

01 Dec 2023
Answer :
Word Count : 256

To calculate the entropy, coding redundancy of binary code, and coding redundancy of Huffman code, we can use the following formulas:

i) Entropy (H):
\[ H = - \sum_{i=1}^{n} p_i \cdot \log_2(p_i) \]

ii) Coding Redundancy of Binary Code (R_binary):
_______ ___ __________ _________ _______ ________ ___.
____ ________ ________ ____ __________ _____ _____ ______ ___.
____ _______ _____ _______ ___ ___.
______ ____ ___ ________ ______ __________ _______ _____ ____ ______.
____ _________ __________ _______ _____.
__________ _________ ________ _____ ___ __________.
________ ___ ________ ____ ________ __________ ___.
__________ _________ ____ _______ _____ __________ _______ _____ ________ _______ ________ _________.
_______ ________ __________ _________ ______ ____ _______ ______ _______ ___ __________.
_______ ________ ____ _______ ________ ________ _________ ___ ______ _______.
__________ _____ ______ _____ _______ ___ ____ ____ _____ __________ _____ ________.
____ ________ _________ __________ ___ ____ _________ __________ ________ ________ ___.
____ ______ ______ ______ __________ ______ _______ ______ ___.
_________ ________ __________ _________ __________ ________ ______ _____.
____ _____ ___ ______ ________ ______ _________ _____.
__________ _____ ______ _______ __________ __________ ________.
_______ ______ ______ __________ ___.
________ _________ ________ _________ ______ __________ _____ ___ _____.
______ ________ ___ __________ ________ _________ ______ __________ __________ _________ _______.
___ _________ __________ __________ ___ ___.
______ _______ ______ _____ _______ _________ ______ ___ _______ __________ _____.
____ __________ ___ ________ _______ ________ __________ ______.
________ ____ ____ _________ ___ ________ __________ __________ ___.
_______ ____ _____ _________ _______ _________ ___ ______ ___.
____ _____ ______ ____ ______ _______ ___ __________.
Get Full Answer on WhatsApp

IGNOU NEWS
Assignment Submission Last Date Extended Till 30 June 2026 Click Here★★★IGNOU June 2026 TEE Date Sheet Released Click Here★★★
Top
📞
Call Support Instant phone assistance Calculate the following for the data given below:i) Entropyii)
→
🟢
WhatsApp Chat Fast live messaging
→
Email Us Business enquiries & support
→