Cambridge O Level Computer Science 2210 · 8.1 Programming concepts

Q26 · 2210/23/O/N/23 Q2

Worked solution from the Programming Paper 2 Algorithms, Programming and Logic booklet, Part 1 of 3.

Q262210/23/O/N/23original Q2Structured · 1 marks
Question 2 from 2210/23/O/N/23

Worked solution

MOD returns the remainder of a division. DIV gives the whole-number part, RANDOM gives a random number and ROUND rounds a number.

Tick box B (MOD) [1]

KEY IDEAMOD gives the remainder; DIV gives the whole-number part.
TOTAL 1 marks

Official mark scheme

Mark scheme for 2210/23/O/N/23 question 2
VIDEO
▶ Whole paper

Video solution of the whole paper · by O/Alevel CS by Wasiq. Tap the picture to open it on YouTube.

Solutions follow the official Cambridge mark schemes; marks are shown in grey. Videos are from other YouTube channels. Paper codes read component / series / year: M/J = May/June, O/N = October/November. Past-paper questions © UCLES, reproduced for classroom practice.