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