An industrial warehouse ventilation fan (FFF) is activated if the dust levels are high (DDD) and the humidity is not high (HHH), or if the manual override button (MMM) is pressed.
The table identifies the three inputs:
| Input | Description |
|---|---|
| D | Dust levels are high |
| H | Humidity is high |
| M | Manual override button is pressed |
The logic system is represented by the expression:
F=(D AND NOT H) OR M F = (D \text{ AND NOT } H) \text{ OR } M F=(D AND NOT H) OR 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.