Question 6

AQA Computer Science June 2018 Paper 1AS1 mark

On the specification

3.1 Fundamentals of programming
Question text

6 Several subroutines use a variable TransmissionLength. It could have been declared as a global variable instead of locally in each subroutine. Why is it good practice to use local variables? [1 mark]