Note AcademyNote Academy

Computer Science · May / June 2018 · Paper 1 HL · Question 15

Adapt for 2027Filling and processing a two-dimensional array is covered in B2.2.2; the old collection pseudocode should be rewritten with Python or Java lists.

IBCS

As printed in the paper

The question as text

15. A transport authority is investigating how many people use a certain direct train route. At the end of each day, the total number of passengers who travelled on this route is stored in a collection, PASSENGERS. The first item was written to the collection on Monday 1st May 2017. 212 The next items, collected on Tuesday and Wednesday, were added like this: 212 454 342 Data for 30 complete weeks was added to the collection.

Read automatically from the paper; the printed page above is exact.

Show the answer and mark scheme
  • 15(a)[4]

  • 15(b)[4]

  • 15(c)[3]

  • 15(d)[7]

Make a free account to save your answers and see your weak topics and ask the AI why a wrong answer is wrong.