Data compression

EasyMedium
12345678910111213141516171819
Question 6
Medium

An automated weather station in North America transmits its regional identifier, the string APPALACHIAN, back to a central server. To conserve transmission bandwidth, the station uses Huffman coding.

Table 1 shows the Huffman codes allocated for each character in this string.

Calculate how many bits of transmission bandwidth are saved if the string APPALACHIAN is encoded using the Huffman codes shown in Table 1, rather than using standard 8-bit ASCII.

You should show your working.

Table 1

CharacterCharacter frequencyHuffman code
A40
P210
L11100
C11101
H11110
I111110
N111111
Total11
[3]

Data compression Questions

  1. GCSE
  2. /Computer Science
  3. /Data compression