An automated security gate unlocks (L=1L = 1L=1) based on two inputs: a proximity sensor (PPP) and a keycard reader (KKK). The gate logic is represented by an XNOR (Exclusive NOR) gate:
L=P⊕K‾ L = \overline{P \oplus K} L=P⊕KComplete the truth table for the gate output LLL.
| P | K | L |
|---|---|---|
| 0 | 0 | |
| 0 | 1 | |
| 1 | 0 | |
| 1 | 1 |
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.