Invitation
Can you spot the logic hidden in a sentence?
Read this problem statement:
βThe alarm sounds if the front door OR the back door is opened.β
The sentence already tells you the behaviour. The word OR tells you which gate to use.
Problem statements often contain the logic gate in plain sight.
Words become logic
Front door
Back door
OR β
Alarm sounds