a 0 b 100 c 101 d 11 ---------------------------------------- 11 100 0 101 0 0 11 ---------------------------------------- There are a total of 7 symbols that are encoded. There are 4 distinct symbols used. There were 56 bits in the original file. There were 13 bits in the compressed file. This gives a compression ratio of 4.30769. The cost of the Huffman tree is 1.85714 bits per character.