Past-paper question · 2025 May-June · Paper 13 · Q7

Question 7 2025 · May-June · Paper 13 · 8 marks

Original past-paper question for 7
Original past-paper question for 7
Reveal official mark-scheme answer Official mark-scheme answer for 7

Official answer for Question 7

✓
Example solution:

Question 8

✓
Count
✓
0
✓
REPEAT
✓
INPUT mark
✓
IF mark 70
✓
THEN
✓
OUTPUT “You have achieved a Distinction”
✓
ENDIF
✓
IF mark = 55 AND = 70
✓
THEN
✓
OUTPUT “You have achieved a Merit”
✓
ENDIF
✓
IF mark =40 AND = 54
✓
THEN
✓
OUTPUT “You have achieved a Pass”
✓
ENDIF
✓
IF mark 40
✓
THEN
✓
OUTPUT “You have not reached the Pass mark”
✓
ENDIF
✓
Count
✓
Count+ 1
✓
UNTIL Count = 20
✓
Eight marks from:
  • Initialise Count before Mark variable is input (1)
  • REPEAT in correct logical location (1)
  • Input Mark (1)
  • Correct Distinction grade criterion//correct fail criterion (1)
  • Correct Merit grade criterion//correct Pass grade criterion (1)
  • Correct Increment of Count (1)
  • Increment of Count is within the loop (1)
  • UNTIL Count = 20 (1)
  • UNTIL in correct position (1)
  • Use of one IF…ENDIF (1)
  • All OUTPUTs correctly match the criteria (NOT awardable if BP4 or BP5
✓
Question
✓
Answer
✓
Marks

Mark scheme 9626_s25_ms_13.pdf →

Show text version of question

Question 7

A
teacher is writing a program to process test marks for a class.

For marks above 70, the program will output “You have achieved a Distinction”. For marks from 55 to 70, the program will output “You have achieved a Merit”. For marks from 40 to 54, the program will output “You have achieved a Pass”. For marks below 40, the program will output “You have not reached the Pass mark”.

Write a pseudocode algorithm using REPEAT...UNTIL which allows the teacher to input 20 test marks and outputs the correct message for each inputted mark.

..........................................................................................................................................................

..........................................................................................................................................................

..........................................................................................................................................................

..........................................................................................................................................................

..........................................................................................................................................................

..........................................................................................................................................................

..........................................................................................................................................................

..........................................................................................................................................................

..........................................................................................................................................................

..........................................................................................................................................................

..........................................................................................................................................................

..........................................................................................................................................................

..........................................................................................................................................................

..........................................................................................................................................................

..........................................................................................................................................................

..........................................................................................................................................................

..........................................................................................................................................................

..........................................................................................................................................................

..........................................................................................................................................................

..........................................................................................................................................................

..........................................................................................................................................................

..........................................................................................................................................................

..........................................................................................................................................................

....................................................................................................................................................

[8]

Question 7

, ,

Topic relevance

Why this question appears here

80% assigned-topic match · Algorithms and flowcharts › Algorithms and flowcharts

Topic-match percentages estimate how closely each question fits the selected syllabus topic. They are a guide for choosing stricter or broader practice.

Permanent source page: Educate A Change · From 9626_s25_qp_13.pdf

Keep practising this topic