Computer systems June 2024, Question 5 8 marks
Ben installs burglar alarms. The alarm is made up of a door sensor and a motion sensor. When the alarm is set, the siren will sound if either the door sensor or the motion sensor detect movement.
The alarm also has a test mode setting. When the test mode setting is enabled, an engineer can check the sensors are working without the siren going off.
The inputs to the alarm are as follows.
| Input | System |
| A | Door sensor |
| B | Motion sensor |
| C | Alarm has been set |
| D | Test mode enabled |
Draw a logic circuit to show the logic that is used in the burglar alarm to determine if the siren goes off.
Reveal mark scheme
Simplify the Boolean expression ¬A v ¬B using De Morgan’s First Law.
Reveal mark scheme
Simplify the Boolean expression ¬(¬B) using double negation.
Reveal mark scheme
Simplify the Boolean expression (A v B) ˄ (A v C) using distribution.
Reveal mark scheme