A server room climate control system regulates an emergency extraction fan.
The control system uses three Boolean inputs:
tempHigh (TRUE if temperature is above 25°C, FALSE otherwise)humidHigh (TRUE if humidity is above 60%, FALSE otherwise)doorClosed (TRUE if the security door is secure/closed, FALSE if it is open)Construct a Boolean logic expression using the inputs tempHigh, humidHigh, and doorClosed that will output TRUE when the emergency extraction fan must be activated.
The emergency extraction fan must be activated when the temperature is high, AND either the humidity is high OR the security door is NOT closed.
15 exam-style questions on Edexcel GCSE Computer Science Operators, covering Using arithmetic operators, Using relational operators, and Using logical operators. Each one has a worked solution and a mark scheme showing where the marks go.