We are working with Cambridge Assessment International Education towards endorsement of this title. Any references or material related to answers, grades, papers or examinations are based on the opinion of the author(s). CAMBRIDGE IGCSE™ & O LEVEL COMPUTER SCIENCE: PROGRAMMING BOOK
CONTINUED
START
Obtain Journey Distance
P
Calculate Journey Time
LE
INPUT Start Airport INPUT End Airport
M
INPUT Start Time
Arrival Time ← Start Time + Journey Time
STOP
S
A
OUTPUT Arrival Time
Flowchart 2.1: Flowchart for calculating arrival time for an aeroplane journey
This task follows a simple linear process, so the flowchart that represents the process also follows a single path. NOTE: Observe the use of the different symbols to indicate the inputs / outputs from the processes that need to be completed. When you come to code programs these will help to identify the need to obtain user input.
26 Original material © Cambridge University Press 2021. This material is not final and is subject to further changes prior to publication.