Question 2
AQA Computer Science June 2024 Paper 1 (7516/1)AS4 marks
On the specification
- 2.1
- 3.1 Fundamentals of programming
- 2.2
- 3.1 Fundamentals of programming
Question text
2 A program uses both local and global variables. 2.1 State two differences between local and global variables. [2 marks] 2.2 Give two reasons why it is good practice to use local variables. [2 marks]