Past-paper question · 2019 May-June · Paper 21 · Q2

Question 2 2019 · May-June · Paper 21 · 6 marks

Original past-paper question for 2
Reveal official mark-scheme answer Official mark-scheme answer for 2

Official answer for Question 2

✓
Many possible answers, those given are examples only.

Question 6

✓
1 mark for each correct description and 1 mark for each correct example
✓
Char
✓
Description: A single character (from the keyboard)
✓
Example:
✓
A / # / 2
✓
String
✓
Description: An (ordered) sequence of characters
✓
Example:
✓
Hello world / #123?Y / 234 78963
✓
Boolean
✓
Description: A data type with two possible values
✓
Example:
✓
TRUE / FALSE
✓
2210/21
✓
Cambridge O Level – Mark Scheme
✓
May/June 2019
✓
PUBLISHED
✓
Question
✓
Answer
✓
Marks

Mark scheme 2210_s19_ms_21.pdf →

Show text version of question

Question 2

Describe each of the following data types used in programming. In each case, give an example of a piece of data to illustrate your answer. Each example must be different.

Char

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

String

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

Boolean

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

[6]
Topic relevance

Why this question appears here

99% assigned-topic match · Programming › Programming concepts

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 2210_s19_qp_21.pdf

Keep practising this topic