Skip to content

Course home

Programming concepts

Programming concepts

EasyMediumHard
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
Question 2

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]
Markscheme

Programming concepts Questions

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

298 exam-style questions on AQA GCSE Computer Science Programming concepts. Each one has a worked solution and a mark scheme showing where the marks go.

Question bank