Computer Science · Oct / Nov 2020 · Paper 2 SL · Question 12
IBCS
As printed in the paper
The question as text
12. The management of the company will launch a new scheme to give every 50th car driver and every 60th motorcyclist a free coffee voucher. The code for printing this voucher has already been created and is activated by calling the static method Vouchers.printCoffeeVoucher(). A getKind() method has already been added to the Vehicle class, which returns a char value indicating whether it is a car (c) or a motorbike (m).
Read automatically from the paper; the printed page above is exact.
Show the answer and mark scheme
12(a)[5]
12(b)[3]
12(c)[6]
Make a free account to save your answers and see your weak topics and ask the AI why a wrong answer is wrong.

