Note AcademyNote Academy

Computer Science · May / June 2026 · Paper 21 · Question 3

0478

As printed in the paper

The question as text

Complete the table by writing the most appropriate data type for each variable described. variable description example data data type {‡ˆ the age of the student ‰Š ‚ˆ‹ˆŒŽˆ|‘’ˆ“ the telephone number of the student x”” •–”Š—˜–™•— ‚ˆˆš‡ˆ“ whether the student is a teenager or not ‚›œ [3]

Read automatically from the paper; the printed page above is exact.

Show the answer and mark scheme

One mark for each data type:

variable

description

example data

data type Age

The age of the student.

16

integer

TelephoneNumber The telephone number

+44 7846398573 string

of the student.

Whether the student is

Teenager

TRUE

Boolean

a teenager or not

Make a free account to save your answers and see your weak topics and ask the AI why a wrong answer is wrong.