You are on page 1of 2
10 5 The flowchart below represents a program routine. Name [Count] > Name[Count + 1]2 yes p & Name [Cow 1 No Name [Count] < Name[Count + 1] Name(Count + 1] © Temp |< Flag < 1 ®UCLES 2017 ore vOINn7 " (a) The array used in the flowchart contains the following data Name[1] Name[2] Name[3] Name[4] Jamal Amir Eve Tara Complete the trace table using the data given in the array. Flag Count | Nameft] | Name[2] | Name[3] | Name[4] | Temp Jamal Amir Eve Tara [5] (b) Describe what the algorithm represented by the flowchart is doing. [2] Question 6 begins on Page 12. Permission © reproduce Hams where thiepary owned mataralprolecied by copyight Weluded has been eough ard coared whore posable. Every reaonatle oot has ben mace bythe publaher(UCLES) fo race copyrgrt holders 8H ary tems requng clearance have unitingly Sean lise, the Publanerwilbeplaased to make amends athe ealeet posse opportunty fe avold ne lau of closure of anewerelated ntomaton to canadses alcopyrig acknowledgements are eprodu ‘Examinations Copyrit Acanowlesgements Gookle, This roducad foreach saris ! examinations an is ealyavalate to download a wonw.ceorg.uk ator Ccamenidge tema ‘Baminatlons Sys 5 Examinations pat oft UCLES), wich sits a ridge Assessment Grou parent of he Unvray oC ynordge Assessment is he brand name of Urve 9 Cambriége Local ®UCLES 2017 0478/2 /0INT [Turn over

You might also like