Computer Science · Oct / Nov 2023 · Paper 1 HL · Question 14
Adapt for 2027Processing a 2D array with nested loops is B2.2.2 and B2.3.3; write the algorithms in Python or Java instead of IB pseudocode.
IBCS
As printed in the paper
The question as text
14. There are 20 gymnasts who took part in a gymnastics competition. Competitors were assessed by 8 judges who each awarded a score in a range from 0–10. The judges were numbered 0–7. The competitors’ names are stored in the one-dimensional array NAMES, and their scores are stored in the two-dimensional array SCORES (see Figure 1). Figure 1: Data held in the NAMES array and the SCORES array NAMES SCORES [0] [1] [2] [3] [4] [5] [6] [7] [0] Evans, Lina [0] 7.9 6.7 7.2 7.5 7.5 7.4 7.2 6.9 [1] Tann, Mary [1] 9.3 9.6 9.1 9.1 8.9 9.1 10.0 9.1 [2] Bush, Lilly [2] 7.2 7.9 6.9 6.9 6.9 6.9 6.9 7.2 [3] Keon, Lea [3] 5.9 5.6 5.9 5.8 5.9 5.5 5.9 5.9 [4] Fox, Tea [4] 7.2 6.9 6.9 7.9 6.9 6.9 6.9 6.9 [5] Lobar, Tanya [5] 8.2 7.9 8.2 8.2 8.2 8.2 7.9 8.2 … … [18] Lee, Mae [18] 8.2 8.0 6.9 6.9 8.1 6.9 7.9 8.2 [19] Burton, Sarah [19] 6.9 6.7 6.9 7.9 6.9 7.2 6.8 6.9 For example, the score that Judge 4 awarded to Mary Tann (NAMES[1]) is 8.9 and can be found in SCORES[1][4].
Read automatically from the paper; the printed page above is exact.
Show the answer and mark scheme
14(a)[1]
14(b)[4]
14(c)[10]
Make a free account to save your answers and see your weak topics and ask the AI why a wrong answer is wrong.

