Computer Science · May / June 2016 · Paper 21 · Question 4
2210
As printed in the paper
The question as text
The flowchart below inputs the height of children who want to ride on a rollercoaster. Children under 1.2 metres are rejected. The ride starts when eight children have been accepted. ,1387 +HLJKW 287387 5HDG\ WR JR 5HMHFW ,V +HLJKW " 5LGHUV " 5LGHUV 5HMHFW 5LGHUV 5LGHUV 67$57 5HMHFW 5HMHFW 1R 1R <HV <HV (1' 9 Complete the trace table for the input data: 1.4, 1.3, 1.1, 1.3, 1.0, 1.5, 1.2, 1.3, 1.4, 1.3, 0.9, 1.5, 1.6, 1.0 Riders Reject Height OUTPUT [4]
Read automatically from the paper; the printed page above is exact.
Show the answer and mark scheme
Riders Reject Height Output 0 0 1 1.4 2 1.3 1 1.1 3 1.3 2 1.0 1.5
Make a free account to save your answers and see your weak topics and ask the AI why a wrong answer is wrong.

