Skip to content
MathsGenie logo
Open app

Course home

  1. IGCSE
  2. Computer Science Edexcel
  3. Question bank

Logic

EasyMedium
1234
Question 4

Construct a Boolean logic statement to show that a smart home security system will sound an alarm.

The alarm sounds if:

  • the motion sensor detects movement (motion_detected) OR the glass break sensor is triggered (glass_broken),
  • AND the system is armed (system_armed).
[1]

Logic Questions

  1. IGCSE
  2. /Computer Science
  3. /Logic