Complete the code to show when WiFi is suitable for IoT devices with high data needs.
if device.data_rate > [1]: print("Use WiFi for better speed")
WiFi is suitable when the device needs a data rate higher than 500 kbps.
Complete the code to check if WiFi is suitable based on power availability.
if device.power_source == [1]: print("WiFi is suitable")
WiFi devices usually need a wired power source or frequent charging due to higher power use.
Fix the error in the code that decides WiFi suitability based on range.
if device.range < [1]: print("WiFi is suitable")
WiFi typically works well within 100 meters range indoors.
Fill both blanks to check if WiFi is suitable based on data rate and power source.
if device.data_rate > [1] and device.power_source == [2]: print("WiFi is suitable")
WiFi suits devices needing over 500 kbps and wired power supply.
Fill all three blanks to decide WiFi suitability based on range, data rate, and power source.
if device.range < [1] and device.data_rate > [2] and device.power_source == [3]: print("WiFi is suitable")
WiFi is suitable if range is under 100 meters, data rate above 500 kbps, and power is wired.
