An automated climate control system uses an XOR (Exclusive OR) logic gate to regulate a ventilation fan. The system takes inputs from two temperature sensors, T1 T_1\,T1 and T2T_2T2, and produces an output YYY.
Complete the truth table for this system by identifying the correct binary values for PPP, QQQ, and RRR.
| Sensor T1T_1T1 | Sensor T2T_2T2 | Fan Output YYY |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | PPP |
| 1 | 0 | QQQ |
| 1 | 1 | RRR |
30 exam-style questions on AQA GCSE Computer Science Boolean logic. Each one has a worked solution and a mark scheme showing where the marks go.