Huffman coding algorithm works on the principle of
2025
Huffman coding algorithm works on the principle of
- A.
Randomization of symbols
- B.
Key based portioning of symbols
- C.
Hashing of symbols
- D.
Frequencies of input symbols
Attempted by 296 students.
Show answer & explanation
Correct answer: D
Huffman coding is a lossless data compression algorithm. It works on the principle of assigning variable-length codes to input characters based on their frequencies. More frequent symbols are assigned shorter codes, while less frequent symbols receive longer codes. This frequency-based approach minimizes the total number of bits required to represent the data.