This document discusses hazards that can occur in wireless sensor and actor networks due to out-of-order execution of queries and commands. It identifies three types of hazards:
1) Command-after-command (CAC) hazard occurs when the order of two sequential commands is reversed.
2) Query-after-command (QAC) hazard occurs when a query is executed before the corresponding command.
3) Command-after-query (CAQ) hazard is the reverse of QAC, where a command is executed before its preceding query.
The document uses an example of a fire detection and suppression system to illustrate these hazards and their undesirable consequences. It also discusses challenges in addressing hazards such as parallel