An IT department uses an automated control system to regulate the environmental conditions in their main server room.
These are the acceptable conditions for the server room:
serverTemp)roomTemp) must be a maximum of serverTemp - 20°C (i.e. at least 20°C cooler than the server temperature)humidity) must be a maximum of 55%The room temperature and humidity can both be reduced by switching on the extractor fan (extractorFan).
Write an algorithm in pseudocode, using the variables serverTemp, roomTemp, humidity, and extractorFan, that regulates the server room conditions.
50 exam-style questions on Edexcel GCSE Computer Science Constructs, covering Structural components of programs and Writing programs with control constructs. Each one has a worked solution and a mark scheme showing where the marks go.