Note AcademyNote Academy

Computer Science · May / June 2022 · Paper 1 SL · Question 13

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

13. 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
  • 13(a)[2]

  • 13(b)[5]

  • 13(c)[2]

  • 13(d)[3]

  • 13(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.