Shape 4: A function: parameters in, one value returned

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

Flowchart the algorithm as a picture
ticketprice(adults, children) price = adults × 19.99 + children × 8.99 + 2.50 Return price

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