Back to the 2024 paper

Module 6: Information Coding and Decoding

20247m

Write short note on: Huffman Codes

Worked SolutionAI Assisted

Answer

Huffman: Variable-length prefix optimal. Merge two smallest probabilities iteratively, assign 0/1. Example 0.4,0.3,0.2,0.1→ codes 0,10,110,111 average 1.9 bits near entropy 1.84. ZIP, JPEG. Prefix-free uniquely decodable.

Similar questions

Official AppAndroid App

PYQDeck for Android

Solve BEU previous-year exam papers anywhere, anytime. Fast search, offline paper viewing, and step-by-step solutions designed specifically for your phone.