Cambridge O Level Computer Science 2210 · 8.1 Programming concepts

Q29 · 2210/21/M/J/24 Q3

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

Q292210/21/M/J/24original Q3Structured · 4 marks
Question 3 from 2210/21/M/J/24

Worked solution

Write a statement and an example for each:

Integer: a whole number [1]

Example: 27 [1]

Real: a number that contains a fractional part (a decimal part) [1]

Example: 18.75 [1]

KEY IDEAInteger is a whole number; real has a fractional part.
TOTAL 4 marks

Official mark scheme

Mark scheme for 2210/21/M/J/24 question 3
VIDEO
▶ Whole paper

Video solution of the whole paper · by ZAINEMATICS. 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.