Question 3

AQA Computer Science June 2019 Paper 2A level4 marks

On the specification

3.1
3.5 Fundamentals of data representation
3.2
3.5 Fundamentals of data representation
3.3
3.5 Fundamentals of data representation
Question text

3 The paragraph of text in Figure 1 is to be compressed using a dictionary-based box compression method. Figure 1 Unfortunately time after time it is the case that programmers fail to put enough effort into commenting their code. Effort put into commenting could make the code easier to maintain when the time comes to do this. 3.1 Dictionary-based compression is an example of a lossless encryption method. Explain the key difference between lossless and lossy compression methods. [1 mark] 3.2 Explain how the paragraph of text in Figure 1 could be compressed using a dictionary-based method. [2 marks] 3.3 After the text in Figure 1 has been compressed it is to be transmitted across a computer network. Explain why dictionary-based compression is not very effective for compressing small amounts of text for transmission. [1 mark]