An electronic smart lock controls entry to a secure archive room.
The system checks three conditions to decide whether to unlock the door:
Normally, both a valid fingerprint (F) and a correct PIN (P) must be provided to unlock the door. However, if 'Maintenance' mode (M) is active, only a valid fingerprint (F) is needed.
Construct a Boolean logic statement, using F, P and M, to represent the conditions necessary for the system to unlock the door.
15 exam-style questions on Edexcel GCSE Computer Science Operators, covering Using arithmetic operators, Using relational operators, and Using logical operators. Each one has a worked solution and a mark scheme showing where the marks go.