An automated safety valve operates using a logical control signal YYY, which depends on two sensor inputs, A A\,A and BBB. The Boolean expression for this control signal is:
Y=NOT (A OR B) Y = \text{NOT } (A \text{ OR } B) Y=NOT (A OR B)Complete the truth table below for this Boolean statement.
| A | B | Y |
|---|---|---|
| 0 | 0 | 1 |
| 0 | 1 | ..... |
| 1 | 0 | 0 |
| 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.