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⊕K
Complete the truth table for the gate output LLL.
| P | K | L |
|---|---|---|
| 0 | 0 | |
| 0 | 1 | |
| 1 | 0 | |
| 1 | 1 |
Practise AQA GCSE Computer Science Boolean logic with exam-style questions for GCSE Computer Science. 83 questions, matched to the AQA GCSE Computer Science (8525) specification and written in Paper 1 and Paper 2 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.