Select one option to show which of the following is the false statement about the algorithm in Figure 1.
1 readings ← [14.2, 15.1, 14.9, 16.5, 17.0]
2 threshold ← 15.0
3 alertCount ← 0
4 FOR k ← 0 TO 4
5 curr ← readings[k]
6 WHILE curr > threshold AND alertCount < 3
7 alertCount ← alertCount + 1
8 curr ← curr - 1.0
9 ENDWHILE
10 ENDFOR
The algorithm uses nested iteration.
The algorithm uses selection.
The algorithm uses both definite and indefinite iteration.
The algorithm uses relational and logical operators.
208 exam-style questions on AQA GCSE Computer Science Representing algorithms. Each one has a worked solution and a mark scheme showing where the marks go.