Past-paper question · 2022 May-June · Paper 21 · Q3

Question 3 2022 · May-June · Paper 21 · 4 marks

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

Official answer for Question 3

✓
One mark per mark point, max four

Question 4

✓
Normal test data
✓
computerscience@cambridge.org.uk
✓
Reason
✓
this is a valid email address (containing the @ symbol) and should be accepted
✓
Erroneous test data
✓
computerscienceisgreat
✓
Reason
✓
this is just a string, and should be rejected (as an email address needs a single ’@’)
✓
0478/21
✓
Cambridge IGCSE – Mark Scheme
✓
May/June 2022
✓
PUBLISHED
✓
Question
✓
Answer
✓
Marks

Mark scheme 0478_s22_ms_21.pdf →

Show text version of question

Question 3

Give one piece of normal test data and one piece of erroneous test data that could be used to validate the input of an email address.

State the reason for your choice in each case.

Normal test data ...............................................................................................................................

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

Reason .............................................................................................................................................

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

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

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

Erroneous test data ..........................................................................................................................

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

Reason .............................................................................................................................................

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

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

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

[4]

Question 8

Topic relevance

Why this question appears here

98% assigned-topic match · Algorithm design and problem-solving

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 0478_s22_qp_21.pdf

Keep practising this topic