Computer Science · Oct / Nov 2016 · Paper 1 SL · Question 10
Adapt for 2027Selection, counting loops over arrays and describing binary search are on the syllabus, but the pseudocode answers must be written in Python or Java.
IBCS
As printed in the paper
The question as text
10. In a school there are 2400 students and each student uses one locker. Each locker has a unique number from 1 to 2400. The lockers are to be painted in four colours: red, white, yellow and blue, in order of locker numbers, as shown in the following table. Locker Number 1 2 3 4 5 6 7 8 … 2399 2400 Colour red white yellow blue red white yellow blue … yellow blue The pattern of colours continues in this manner. For example, locker number 15 will be painted yellow.
Read automatically from the paper; the printed page above is exact.
Show the answer and mark scheme
10(a)[1]
10(b)[5]
10(c)(i)[1]
10(c)(ii)[4]
10(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.

