An automated greenhouse ventilation system uses inputs from sensors and an override switch to decide whether the ventilation fan should be turned on.
The table shows the inputs into the system and the meaning of each input value:
| Letter | Input device | Input of 1 | Input of 0 |
|---|---|---|---|
| T | Temperature sensor | Temperature is high | Temperature is normal |
| H | Humidity sensor | Humidity is high | Humidity is normal |
| M | Manual override switch | Override is ON (disables fan) | Override is OFF |
The ventilation fan (V) is designed to turn on (V=1V = 1V=1) only when the manual override is OFF, and the temperature is high, and the humidity is high.
Draw a logic diagram for the ventilation system using standard 2-input logic gates (AND, OR, NOT).

Practise OCR GCSE Computer Science Boolean logic with exam-style questions for GCSE Computer Science. 27 questions, matched to the OCR GCSE Computer Science (J277) specification and written in Component 01 and Component 02 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.