Past-paper question · 2023 May-June · Paper 21 · Q4

Question 4 2023 · May-June · Paper 21 · 4 marks

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

Official answer for Question 4

✓
One mark per mark point, max four

Question 4

✓
DIV, max two
✓
To perform integer division
✓
Meaning only the whole number part of the answer is retained
✓
Example of DIV For example DIV(9,4) = 2
✓
ROUND, max two
✓
To return a value rounded to a specified number of digits / decimal places
✓
The result will either be rounded to the next highest or the next lowest value
✓
… depending on whether the value of the preceding digit is >=5 or <5
✓
Example of ROUND for example, ROUND(4.56, 1) = 4.6
✓
0478/21
✓
Cambridge IGCSE – Mark Scheme
✓
May/June 2023
✓
PUBLISHED
✓
Question
✓
Answer
✓
Marks

Mark scheme 0478_s23_ms_21.pdf →

Show text version of question

Question 4

Explain the purpose of the library routines DIV and ROUND

DIV ...................................................................................................................................................

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

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

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

ROUND ..............................................................................................................................................

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

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

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

[4]

Question 4

Topic relevance

Why this question appears here

92% 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_s23_qp_21.pdf

Keep practising this topic