An automated control system regulates the environmental conditions inside a commercial hydroponic greenhouse.
The acceptable conditions for the greenhouse are as follows:
soilTemp)airTemp) must be a maximum of soilTemp + 15°C (i.e. at most 15°C warmer than the soil temperature)co2Level) must be a maximum of 1200 ppmBoth the air temperature and carbon dioxide level can be reduced by opening the ventilation shutter (ventShutter).
Write an algorithm in pseudocode, using the variables soilTemp, airTemp, co2Level, and ventShutter, that regulates the greenhouse conditions.
Practise Edexcel GCSE Computer Science Constructs with exam-style questions for GCSE Computer Science. 61 questions covering Structural components of programs and Writing programs with control constructs, matched to the Edexcel GCSE Computer Science (1CP2) 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.