An algorithm is shown in Figure 1.
Figure 1
1 score ← USERINPUT
2 bonus ← 10
3 IF score > 100 THEN
4 totalScore ← score + bonus
5 ELSE
6 totalScore ← score
7 ENDIF
Select the line number that contains a relational operator in the algorithm in Figure 1.
Line number 1
Line number 2
Line number 3
Line number 4
11 exam-style questions on AQA GCSE Computer Science Relational operations in a programming language. Each one has a worked solution and a mark scheme showing where the marks go.