An automated safety valve in a chemical processing plant releases gas when the output signal V=1V = 1V=1. This signal is determined by a temperature sensor TTT (1 for high, 0 for normal) and a pressure sensor PPP (1 for high, 0 for normal) according to the Boolean expression:
V=T OR (NOT P) V = T \text{ OR } (\text{NOT } P) V=T OR (NOT P)Complete the truth table below for this system.
| TTT | PPP | VVV |
|---|---|---|
| 0 | 0 | ..... |
| 0 | 1 | 0 |
| 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.