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

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

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

Official answer for Question 4

Part (a)

Question 4

✓
Any 3 from:
  • To ensure no changes are made on input / accuracy of transcription
  • Because the details do not have fixed, values or lengths to validate
  • Because there is no clear set of rules that can be used for validation
✓
Any 3 from:
  • The programmer could ask the contributor to type in each detail twice
✓
•
✓
and then check that both values are equal
✓
•
✓
If they are not equal then the input should be rejected
  • The programmer could ask the contributor to check the details on the
✓
screen
✓
•
✓
and confirm that they are correct / same as the original
✓
•
✓
or change them

Mark scheme 2210_s18_ms_22.pdf →

Show text version of question

Question 4

Part (a)

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 (a)

The programmer has chosen to verify the name, email address and password.

Explain why verification was chosen and describe how the programmer would verify this data.

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

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

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

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

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

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

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

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

...............................................................................................................................................[4]

Topic relevance

Why this question appears here

98% 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