8Easy
0/1

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

Relational operations in a programming language Questions

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.

PreviousNext

Relational operations in a programming language Questions

  1. GCSE
  2. /Computer Science
  3. /Relational operations in a programming language