Skip to content

Course home

Constructs

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]
Markscheme

Constructs Questions

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

18 exam-style questions on Edexcel IGCSE Computer Science Constructs. Each one has a worked solution and a mark scheme showing where the marks go.

Question bank