Question 9

AQA Computer Science June 2019 Paper 1A level5 marks

On the specification

9.1
3.1 Fundamentals of programming
9.2
3.1 Fundamentals of programming
9.3
3.1 Fundamentals of programming
9.4
3.1 Fundamentals of programming
9.5
3.1 Fundamentals of programming
Question text

9 Figure 7 shows an incomplete hierarchy chart for part of the Skeleton Program. Figure 7 9.1 What should be written in the box labelled (a)? [1 mark] 9.2 What should be written in the box labelled (b)? [1 mark] 9.3 State the name of an identifier for a user-defined subroutine in the Skeleton Program that uses exception handling. [1 mark] 9.4 Explain the difference between a local variable and a global variable. [1 mark] 9.5 State one reason why it is considered to be good practice to use local variables. [1 mark] You are advised to spend no more than 70 minutes on this section. Type your answers to Section D in your Electronic Answer Document. You must save this document at regular intervals. These questions require you to load the Skeleton Program and to make programming changes to it.