Question 11

AQA Computer Science June 2022 Paper 1 (7516/1)AS5 marks

On the specification

11.1
3.1 Fundamentals of programming
11.2
3.1 Fundamentals of programming
11.3
3.1 Fundamentals of programming
11.4
3.1 Fundamentals of programming
Question text

11.1 What is a subroutine? [1 mark] 11.2 The use of subroutines promotes code re-use. Describe, with references to subroutine(s) in the Skeleton Program, an example of how a subroutine has been re-used. [1 mark] 11.3 Describe an advantage of re-using subroutines. [1 mark] 11.4 Figure 4 shows an incomplete hierarchy chart for part of the Skeleton Program. Figure 4 Complete Table 5 by writing the labels that should appear in each of the boxes (a) to (d) in Figure 4. Table 5 Box Label (a) (b) (c) (d) Copy the contents of all the unshaded cells in Table 5 into your Electronic Answer Document. [2 marks] You are advised to spend no more than 60 minutes on this section. Enter your answers to Section C 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.