Past-paper question · 2022 May-June · Paper 21 · Q1(c)

Question 1(c) 2022 · May-June · Paper 21 · 3 marks

Original past-paper question for 1(C)
Original past-paper question for 1(C)
Reveal official mark-scheme answer Official mark-scheme answer for 1(C)

Official answer for Question 1

Part (c)

✓
Any code must include a description of what it is for.

Question 3

✓
One mark per mark point, max three
✓
MP1
✓
apply a presence check // to ensure that data has been entered (to the question do you want to work as a
✓
volunteer?)
✓
MP2
✓
apply a type check // to ensure that data has been entered of the correct data type e.g. integer if the response
✓
required is 1 or 0
✓
MP3
✓
checking the valid inputs would be either yes or no // apply a check to ensure that the data matches the expected
✓
input
✓
MP4
✓
the valid inputs would be to choose in which area the new member wishes to volunteer e.g. a list of areas
✓
MP5
✓
if input is not valid, an error message is output (and a new input is requested)
✓
MP6
✓
if input is valid, the program continues
✓
2210/21
✓
Cambridge O Level – Mark Scheme
✓
May/June 2022
✓
PUBLISHED
✓
Question
✓
Answer
✓
Marks

Mark scheme 2210_s22_ms_21.pdf →

Show text version of question

Question 1

Part (c)

Part (c)

Describe how data input in Task 1 could be validated to find out if a new member wants to

work as a volunteer.

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

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

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

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

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

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

[3]

Question 4

Topic relevance

Why this question appears here

85% 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_s22_qp_21.pdf

Keep practising this topic