Past-paper question · 2019 May-June · Paper 22 · Q1(b)(ii)
Question 1(b)(ii) 2019 · May-June · Paper 22 · 5 marks
Reveal official mark-scheme answer
Official answer for Question 1
Part (b)
(ii)
Question 5
✓
Variable
✓
Data type
✓
Married
✓
DATE
✓
ID
✓
STRING
✓
MiddleInitial
✓
CHAR
✓
Height
✓
REAL
✓
IsMarried
✓
BOOLEAN
✓
One mark per data type
✓
9608/22
✓
Cambridge International AS/A Level – Mark Scheme
✓
May/June 2019
✓
PUBLISHED
✓
Question
✓
Answer
✓
Marks
Show text version of question
Question 1
Part (b)
(ii)
Program variables have values as follows:
Variable Value Married 03/04/1982 ID "M1234" MiddleInitial 'J' Height 5.6 IsMarried TRUE Children 2
(ii)
Programming languages support different data types.
Give an appropriate data type for the following variables from part (b).
Variable Data type Married ID MiddleInitial Height IsMarried
[5]
Question 4
Topic relevance
Why this question appears here
75% assigned-topic match · Programming
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 9608_s19_qp_22.pdf
