Question 8
AQA Computer Science June 2019 Paper 2GCSE3 marks
On the specification
- 8.1
- 3.3 Fundamentals of data representation
- 8.2
- 3.3 Fundamentals of data representation
Question text
8 The Huffman tree in Figure 1 was generated for the string ARE ALL STARS REAL box Figure 1 8.1 Part of the string ARE ALL STARS REAL was incorrectly encoded as in Figure 2 below. Figure 2 1111000010101011 What string does this encoding represent? [1 mark] 8.2 What would be the correct binary encoding for the substring STAR? Write the correct encoding below the letters in the table. [2 marks] S T A R