Computer Science · May / June 2022 · Paper 1 HL · Question 12
Adapt for 2027Selection with if/elif and parallel arrays are on the syllabus (B2.3.2, B2.2.2); write the algorithms in Python or Java instead of IB pseudocode.
IBCS
As printed in the paper
The question as text
12. A teacher would like a simple program to store the names, marks and grades of students in a set of three parallel one-dimensional arrays called NAME[], MARK[] and GRADE[]. The grade boundaries for the individual grades are shown below: Mark Grade 80 and above Distinction 60 and above Merit 40 and above Pass Below 40 Fail The class has 30 students.
Read automatically from the paper; the printed page above is exact.
Show the answer and mark scheme
12(a)[2]
12(b)[5]
12(c)[2]
12(d)[3]
12(e)[3]
Make a free account to save your answers and see your weak topics and ask the AI why a wrong answer is wrong.

