Past-paper question · 2025 May-June · Paper 21 · Q5

Question 5 2025 · May-June · Paper 21 · 4 marks

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

Official answer for Question 5

✓
One mark for each bullet point

Question 4

✓
•
✓
MOD – returns the remainder of a division calculation.
✓
•
✓
Example: X ← MOD(10, 3)
✓
•
✓
DIV – Integer division/returns the quotient of a division.
✓
•
✓
Example: Y ← DIV(10, 3)
✓
Question
✓
Answer
✓
Marks

Mark scheme 0478_s25_ms_21.pdf →

Show text version of question

Question 5

Two library routines used in programming are MOD and DIV.

State the purpose of each of the library routines.

Give one example pseudocode statement for each of the library routines.

MOD purpose ...................................................................................................................................

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

Example pseudocode ......................................................................................................................

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

DIV purpose .....................................................................................................................................

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

Example pseudocode ......................................................................................................................

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

[4]

Question 6

, ,

Topic relevance

Why this question appears here

99% assigned-topic match · Programming › Programming concepts

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 0478_s25_qp_21.pdf

Keep practising this topic