Note AcademyNote Academy

Computer Science · May / June 2021 · Paper 21 · Question 4

2210

As printed in the paper

The question as text

The pseudocode algorithm shown has been written by a teacher to enter marks for the students in her class and then to apply some simple processing. Count ← 0 REPEAT INPUT Score[Count] IF Score[Count] >= 70 THEN Grade[Count] ← "A" ELSE IF Score[Count] >= 60 THEN Grade[Count] ← "B" ELSE IF Score[Count] >= 50 THEN Grade[Count] ← "C" ELSE IF Score[Count] >= 40 THEN Grade[Count] ← "D" ELSE IF Score[Count] >= 30 THEN Grade[Count] ← "E" ELSE Grade[Count] ← "F" ENDIF ENDIF ENDIF ENDIF ENDIF Count ← Count + 1 UNTIL Count = 30

Read automatically from the paper; the printed page above is exact.

Show the answer and mark scheme
  • 4(a)[3]

  • 4(b)[3]

  • 4(c)[3]

Make a free account to save your answers and see your weak topics and ask the AI why a wrong answer is wrong.