Skip to content

Course home

Representing algorithms

Representing algorithms

EasyMediumHard
123456789
Question 6

Develop an algorithm using either pseudocode or a flowchart that allows a community maker space to calculate the total booking charge for renting a CNC milling machine.

The algorithm should:

  • Prompt the user to enter the reservation duration in minutes.
    • The duration entered must be greater than 15 minutes.
    • The user should be made to re-enter the duration until a valid duration is entered.
  • Prompt the user to enter the number of precision milling bits purchased (no validation is required).
  • Calculate the total booking cost by:
    • Charging £4.50 for every precision milling bit purchased.
    • Charging a further £0.35 for every minute of reservation duration regardless of how many milling bits are purchased.
  • Output the final booking cost.
[8]
Markscheme

Representing algorithms Questions

  1. GCSE
  2. /Computer Science
  3. /Representing algorithms

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

Question bank