Back to the 2025 paper

Module 6: Information Coding and Decoding

20257m

Describe Shannon-Fano and Huffman coding techniques. Compare their coding efficiencies.

Worked SolutionAI Assisted

Answer

Shannon-Fano top-down split near equal sum, not always optimal. Huffman bottom-up merging smallest, optimal. Huffman minimal expected length L=∑piliL=\sum p_i l_i, efficiency η=H/L\eta=H/L higher. Both prefix-free.

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.