Identify the line number where selection is first used in the algorithm shown in Figure 1.
Figure 1
1 age ← USERINPUT
2 price ← 0
3 IF age < 12 THEN
4 price ← 5
5 ELSE IF age >= 65 THEN
6 price ← 7
7 ELSE
8 price ← 10
9 ENDIF
10 WHILE price > 0
11 IF age < 5 THEN
12 DISCOUNT('FREE')
13 ENDIF
14 price ← price - 5
15 ENDWHILE
Line number 1
Line number 3
Line number 10
Line number 11
298 exam-style questions on AQA GCSE Computer Science Programming concepts. Each one has a worked solution and a mark scheme showing where the marks go.