Designing, creating and refining algorithms
44
0/5

An automated logistics depot requires an algorithm to determine if a consignment should be routed via an 'Express Route'.

The algorithm must:

  • Input the consignment's weight (in kg) and the delivery distance (in km).
  • Decide if the consignment qualifies for the 'Express Route': it qualifies if its weight is less than 5 kg, or if the delivery distance is between 12 km and 25 km inclusive.
  • Output "Express Route" if it qualifies, or "Standard Route" if it does not.

Design the algorithm using a flowchart. Use standard flowchart symbols (Terminator, Process, Decision, Input/Output).

[5]

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