Question 9
AQA Computer Science June 2024 Paper 1 (7517/1)A level2 marks
On the specification
- 9.1
- 4.1 Fundamentals of programming
- 9.2
- 3.1 Fundamentals of programming4.1 Fundamentals of programming
Question text
9 This question is about the Cell class. 9.1 Explain why IsEmpty could have been a private method instead of a public method. [1 mark] 9.2 The CheckSymbolAllowed method in the Cell class uses a local variable. Explain one difference between a local variable and a private class attribute. [1 mark]