Complete the code to identify the main purpose of telematics in fleet management.
purpose = "Telematics helps to [1] vehicle data for better management."
Telematics systems collect vehicle data such as location, speed, and fuel usage to improve fleet management.
Complete the code to describe a key benefit of fleet management systems.
benefit = "Fleet management systems help to [1] fuel consumption and reduce costs."
Fleet management systems optimize fuel consumption by monitoring driving habits and routes, helping reduce costs.
Fix the error in the statement about telematics data usage.
data_usage = "Telematics data is used to [1] vehicle maintenance schedules."
Telematics data helps predict when vehicle maintenance is needed, preventing breakdowns and saving costs.
Fill both blanks to complete the dictionary comprehension that maps vehicle IDs to their status if the battery level is low.
low_battery_vehicles = {vid: status for vid, status in vehicles.items() if vehicles[vid][1] 20 and status [2] "active"}The code filters vehicles with battery level less than 20 and status not equal to "active" to identify low battery vehicles needing attention.
Fill all three blanks to create a dictionary comprehension that maps vehicle IDs to their location if the vehicle is active and speed is above 0.
active_locations = {vid: [1] for vid, info in fleet_data.items() if info["status"] == [2] and info["speed"] [3] 0}The comprehension collects the location of vehicles that are active and moving (speed greater than 0).