Question 3

AQA Computer Science June 2018 Paper 1A level3 marks

On the specification

3.6
3.4 Theory of computation
3.7
3.2 Fundamentals of data structures
Question text

3.6 What does the output from the algorithm in Figure 2 represent? [1 mark] 3.7 The contents of the array P were changed by the algorithm. What is the purpose of the array P? [2 marks]