Boolean logic
6
0/3

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:

InputDescription
HHumidity is high
TTemperature is hot
MManual 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 M

Complete 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.

A logic diagram with three inputs on the left: H, T, and M. Inputs H and T connect to the inputs of a dashed rectangular box labeled Box 1. Input M connects to a dashed rectangular box labeled Box 2. The output of Box 1 and the output of Box 2 are connected to the inputs of a third dashed rectangular box labeled Box 3. The output of Box 3 is labeled V.

Specify the gate for each box:

  • Box 1
  • Box 2
  • Box 3
[3]

Boolean logic Questions

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.

PreviousNext

Boolean logic Questions

  1. GCSE
  2. /Computer Science
  3. /Boolean logic