An algorithm for a temperature warning system is shown below:
1 sensor_reading ← USERINPUT
2 adjusted_reading ← (sensor_reading * 1.8) + 32
3 alert_active ← false
4 IF adjusted_reading >= 100.0 THEN
5 alert_active ← true
6 ENDIF
Which line number contains a relational operator?
Line 222
Line 333
Line 444
Line 555
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.