Design And Analysis Of Adaptive Fault Tolerant Qos Control Algorithms For Query Processing In Wireless Sensor Networks