Explain the purpose of the library routines DIV and ROUND
- Explain the purpose of the library routines DIV and ROUND DIV ROUND[4]
Mark scheme
Marking points from the official mark scheme (May/June 2023). The mark or mark type is shown in brackets.
- [1] DIV: To perform integer division
- [1] DIV: Meaning only the whole number part of the answer is retained
- [1] DIV: Example of DIV(9,4) = 2
- [1] ROUND: To return a value rounded to a specified number of digits / decimal places
- [1] ROUND: 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
- [1] ROUND: Example of ROUND (4.56, 1) = 4.6
Write your answer and get it marked
On Oracle Prep you can write or photograph your own answer and have it marked by AI against this mark scheme, with feedback on what you missed.
Sign up free →