18Hard
0/8

Write a Python program that calculates the estimated flight duration in minutes for an autonomous mapping drone based on the survey area in hectares.

Your program should:

  • Keep asking the user to enter a survey area in hectares until they enter a value that is between 1.5 and 7.5 (inclusive).
  • Calculate the base flight duration in minutes by multiplying the survey area by 12.
  • Ask the user if high-resolution mode is active (expecting the user to enter 'yes' if it is).
  • If high-resolution mode is active, multiply the base flight duration by 1.5.
  • Output the final calculated flight duration in minutes.

You should use meaningful variable names, correct syntax, and indentation in your answer.

[8]

Programming concepts Questions

Practise AQA GCSE Computer Science Programming concepts with exam-style questions for GCSE Computer Science. 100 questions, matched to the AQA GCSE Computer Science (8525) specification and written in Paper 1 and Paper 2 style. Every question includes a full worked solution and mark scheme, so you can see where marks are awarded rather than just whether you got the answer right.

PreviousNext

Programming concepts Questions

  1. GCSE
  2. /Computer Science
  3. /Programming concepts