Question 6

AQA Computer Science November 2020 Paper 1 (7517/1)A level3 marks

On the specification

6.1
3.1 Fundamentals of programming
6.2
3.1 Fundamentals of programming
Question text

6 This question is about the method GetIndexOfCompany in the Simulation class. 6.1 What does a return value of -1 indicate? [1 mark] 6.2 Some of the program code in this method is unnecessary. Identify which code is not necessary and explain why. [2 marks]