0
0
Drone Programmingprogramming~20 mins

Agricultural spraying and monitoring in Drone Programming - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Agricultural Drone Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
💻 Command Output
intermediate
1:30remaining
Drone spray command output
What is the output of this drone spray command log snippet?
Drone Programming
spray_command = {'area': 50, 'chemical': 'pesticide', 'rate': 2.5}
log = f"Spraying {spray_command['chemical']} over {spray_command['area']} hectares at {spray_command['rate']} L/ha"
print(log)
ASpraying pesticide over 2.5 hectares at 50 L/ha
BSpraying pesticide over 50 hectares at 2.5 L/ha
CSpraying herbicide over 50 hectares at 2.5 L/ha
DError: KeyError in spray_command
Attempts:
2 left
💡 Hint
Check the keys used in the dictionary for the spray command.
🔀 Workflow
intermediate
2:00remaining
Order of drone monitoring steps
Which option shows the correct order of steps for drone-based crop health monitoring?
A3,1,2,4
B1,3,2,4
C3,2,1,4
D1,2,3,4
Attempts:
2 left
💡 Hint
Think about what must happen before flying the drone.
Troubleshoot
advanced
1:30remaining
Drone fails to spray chemical
A drone programmed to spray chemicals does not release any liquid during flight. Which is the most likely cause?
AThe GPS signal is strong
BThe drone battery is fully charged
CThe spray pump is not activated in the code
DThe flight altitude is set correctly
Attempts:
2 left
💡 Hint
Check the code controlling the spray mechanism.
🧠 Conceptual
advanced
1:30remaining
Best sensor type for crop health monitoring
Which sensor type is best for detecting plant stress in agricultural drone monitoring?
ABarometric pressure sensor
BUltrasonic sensor
CInfrared thermometer
DMultispectral camera
Attempts:
2 left
💡 Hint
Think about sensors that capture light beyond visible spectrum.
Best Practice
expert
2:00remaining
Optimal data handling for drone spraying logs
What is the best practice for storing large volumes of drone spraying logs for easy access and analysis?
AStore logs in a centralized cloud database with indexing
BSave logs as plain text files on the drone's local storage
CEmail logs to the operator after each flight
DPrint logs on paper for manual review
Attempts:
2 left
💡 Hint
Consider scalability and accessibility of data.