1. What is the difference between a proactive routing protocol and a reactive routing protocol? Consider the following WSN scenarios and explain why you would choose either a proactive or a reactive routing solution:
(a) A WSN is used to measure humidity in a field, where low-power sensors report measurements only when certain thresholds are exceeded.
Reactive this protocol seek to set up route on-demand, when it have data to send.
(b) A WSN is used to detect the presence of vehicles, where each sensor locally records the times of vehicle detection. These records are delivered to the base station only when the sensor is explicitly queried.
Proactive this protocol always update routing table to find all node. That make no initial delay in communication.