Skip to content
MathsGenie logo
Open app

Course home

  1. IGCSE
  2. Computer Science Edexcel
  3. Question bank

Constructs

EasyMedium
1234567891011121314
Question 13

The pseudocode algorithm below is used to check whether a smart greenhouse needs watering based on a soil moisture reading.

1  moisture = read_sensor()
2  limit = 45
3  if moisture < limit then
4      turn_on_sprinkler()
5  else
6      turn_off_sprinkler()
7  endif

Identify the line number where selection begins.

[1]

Constructs Questions

  1. IGCSE
  2. /Computer Science
  3. /Constructs