Shape 2: Validation: is the input in range?

Reworded for this page; the exact exam wording is on your printed sheet.

Flowchart the algorithm as a picture
Start Input miles Input age miles ≥ 0 and < 10000 and age ≥ 0 and ≤ 5 ? Yes Output True No Output False Stop

Rounded box: start or stop · Rectangle: a process · Parallelogram: input or output · Diamond: a decision

Trace table run it by hand, one line at a time


        
Line by line each line, and why it is there
The same algorithm in OCR Exam Reference Language