An automated greenhouse ventilation system opens the ventilation hatch (VVV) if the humidity is high (HHH) and the temperature is hot (TTT), or if the manual override is not active (MMM).
The table identifies the three inputs:
| Input | Description |
|---|---|
| H | Humidity is high |
| T | Temperature is hot |
| M | Manual override is active |
The logic system is represented by the expression:
V=(H AND T) OR NOT M V = (H \text{ AND } T) \text{ OR NOT } M V=(H AND T) OR NOT MComplete the logic diagram below by identifying which logic gate (AND, OR, or NOT) belongs in each of the dashed boxes labeled Box 1, Box 2, and Box 3.

Specify the gate for each box:
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.