Question 11
AQA Computer Science June 2023 Paper 1 (7516/1)AS6 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
Question text
11 This question refers to the subroutine ExtractOperand. 11.1 Describe the purpose of the FOR loop and the IF statement inside it. [2 marks] 11.2 Describe the purpose of the IF statement after the FOR loop. [2 marks] 11.3 Describe why a WHILE loop might have been a better choice than a FOR loop. [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.