Note AcademyNote Academy

Computer Science · Oct / Nov 2016 · Paper 2 SL · Question 11

IBCS

As printed in the paper

The question as text

11. Every time a train journey is completed a Journey object is created. The Journey class is partially shown below. public class Journey { private … routeCode; // A unique identifier for a particular route private … delay; // Minutes late in arriving at the destination private … weatherRelated; // Equals true if the journey is affected by the weather, // otherwise false. // Constructor which initializes all 3 of the above data items // accessor and mutator methods. }

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

Show the answer and mark scheme
  • 11(a)[2]

  • 11(b)[3]

  • 11(c)[3]

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