Where is a relational operator first used in the algorithm in Figure 1?
Figure 1
1 count ← 0
2 target ← USERINPUT
3 row ← target * 2
4 IF row > 10 AND count == 0 THEN
5 OUTPUT "High"
6 ELSEIF row < 5 OR target < 0 THEN
7 OUTPUT "Low"
8 ELSE
9 OUTPUT "Medium"
10 ENDIF
Line 2
Line 3
Line 4
Line 6
Practise AQA GCSE Computer Science Relational operations in a programming language with exam-style questions for GCSE Computer Science. 11 questions, matched to the AQA GCSE Computer Science (8525) specification and written in Paper 1 and Paper 2 style. Every question includes a full worked solution and mark scheme, so you can see where marks are awarded rather than just whether you got the answer right.