An automated safety shutdown system in a chemical processing plant monitors three sensor conditions represented by Boolean variables XXX, YYY, and ZZZ (where 1 represents TRUE / active and 0 represents FALSE / inactive).
The system generates a shutoff signal, WWW, defined by the following Boolean expression:
W=(NOT X OR Y) AND NOT Z W = (\text{NOT } X \text{ OR } Y) \text{ AND } \text{NOT } Z W=(NOT X OR Y) AND NOT ZComplete the truth table for this Boolean expression to determine under what combinations of sensor inputs the shutoff signal is triggered.
| XXX | YYY | ZZZ | WWW |
|---|---|---|---|
| 0 | 0 | 0 | |
| 0 | 0 | 1 | |
| 0 | 1 | 0 | |
| 0 | 1 | 1 | |
| 1 | 0 | 0 | |
| 1 | 0 | 1 | |
| 1 | 1 | 0 | |
| 1 | 1 | 1 |
15 exam-style questions on OCR GCSE Computer Science Boolean logic. Each one has a worked solution and a mark scheme showing where the marks go.