Photo AI

The leisure centre uses a control system to regulate the water temperature in the pool and the air temperature and humidity in the pool hall - Edexcel - GCSE Computer Science - Question 6 - 2021 - Paper 1

Question icon

Question 6

The-leisure-centre-uses-a-control-system-to-regulate-the-water-temperature-in-the-pool-and-the-air-temperature-and-humidity-in-the-pool-hall-Edexcel-GCSE Computer Science-Question 6-2021-Paper 1.png

The leisure centre uses a control system to regulate the water temperature in the pool and the air temperature and humidity in the pool hall. These are the acceptab... show full transcript

Worked Solution & Example Answer:The leisure centre uses a control system to regulate the water temperature in the pool and the air temperature and humidity in the pool hall - Edexcel - GCSE Computer Science - Question 6 - 2021 - Paper 1

Step 1

Write an algorithm in pseudocode, using variables wTemp, aTemp and humidity, for achieving acceptable conditions in the pool hall for a competition.

96%

114 rated

Answer

IF (aTemp > wTemp + 2) OR (humidity > 70) THEN SET AC TO ON ELSE SET AC TO OFF END IF

Step 2

Construct a Boolean logic expression using wTemp, aTemp and humidity, where TRUE = within acceptable range.

99%

104 rated

Answer

wTemp >= 25 AND wTemp <= 28 AND aTemp >= wTemp + 2 AND humidity <= 70

Join the GCSE students using SimpleStudy...

97% of Students

Report Improved Results

98% of Students

Recommend to friends

100,000+

Students Supported

1 Million+

Questions answered

;