Past-paper question · 2018 May-June · Paper 22 · Q4(b)

Question 4(b) 2018 · May-June · Paper 22 · 2 marks

Original past-paper question for 4(B)
Original past-paper question for 4(B)
Reveal official mark-scheme answer Official mark-scheme answer for 4(B)

Official answer for Question 4

Part (b)

✓
One mark for email and one mark for password

Question 2

✓
Email – check for @ / format check / no spaces /valid characters // presence
✓
check // length check (not more than 254 characters) // uniqueness check
✓
Password – length check / numbers and letters etc. // uniqueness check not been
✓
used before // presence check
✓
2210/22
✓
Cambridge O Level – Mark Scheme
✓
May/June 2018
✓
PUBLISHED
✓
Question
✓
Answer
✓
Marks

Mark scheme 2210_s18_ms_22.pdf →

Show text version of question

Question 4

Part (b)

Question 4

A programmer has written a routine to store the name, email address and password of a contributor

to a website’s discussion group.

Part (b)

The programmer has also decided to validate the email address and the password.

Describe validation checks that could be used.

Email address ............................................................................................................................

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

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

Password ..................................................................................................................................

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

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

[2]

Question 10

Topic relevance

Why this question appears here

71% 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_s18_qp_22.pdf

Keep practising this topic