Question: This is a Huffman Tree. Huffman Trees are used to compress characters while transmitting text. Consider the word BADCAB. There are two ways to represent

This is a Huffman Tree. Huffman Trees are used to compress characters while transmitting text. Consider the word "BADCAB". There are two ways to represent and transmit this text. 1. Through assigning bit codes using the above tree. 2. Through assigning three bits to every character, ex. A=000,B=001, and G=110 What is the compression ratio for this text, "BADCAB" in this scenario? Hint: Compression Ratio= Total Data Transfer by Method 1/ Total Data Transfer by Method 2 This number is between 0 and 1 and enter the number with two decimal places without rounding (e.g. 0.12)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
