Designing, creating and refining algorithms
39
0/6

A drone videography service charges for data transmission bandwidth. The standard rate is £12 per GB of data transmitted. If the client has a 'Premium Creator' subscription, this rate is reduced to £7.50 per GB.

Write an algorithm to:

  • take as input the bandwidth used in GB and whether the client has a 'Premium Creator' subscription or not
  • calculate and output the total transmission cost
  • repeat this process continually until the user enters a negative value for the bandwidth.

You must use either:

  • standard pseudocode, or
  • a high-level programming language that you have studied (e.g. Python, C#, Java).
[6]

Designing, creating and refining algorithms Questions

Practise OCR GCSE Computer Science Designing, creating and refining algorithms with exam-style questions for GCSE Computer Science. 50 questions, matched to the OCR GCSE Computer Science (J277) specification and written in Component 01 and Component 02 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

Designing, creating and refining algorithms Questions

  1. GCSE
  2. /Computer Science
  3. /Designing, creating and refining algorithms