Computer Science · May / June 2017 · Paper 2 HL · Question 6
Not on the 2027 syllabusSimulation design and graphing (old Option B) are not in any 2027 outcome.
IBCS
As printed in the paper
The question as text
6. A reservoir is being planned, to provide water for a local town. A simulation is carried out to aid the planning process. • The initial volume in the reservoir is preset to an appropriate level. • The input will be from rivers and will vary according to the climate. • The output will be through a large pipe that is large enough to carry enough water for the daily needs of the people in the town. To avoid the reservoir exceeding a dangerous level, a series of outlets are planned to divert water away from the reservoir if the level of water reaches a certain limit. The following variables, each calculated at the same moment in time, are used in the simulation: y y V represents the volume of water in the reservoir y y R represents the volume of input from the rivers and any rainfall y y T represents the volume of output via the pipe that sends water to the town y y E is the excess volume emptied through the planned outlets, if the volume in the reservoir exceeds D. The volume that must not be exceeded is represented by D, and its value is fixed.
Read automatically from the paper; the printed page above is exact.
Show the answer and mark scheme
6(a)[1]
6(b)[6]
6(c)[6]
6(d)[4]
Make a free account to save your answers and see your weak topics and ask the AI why a wrong answer is wrong.

