Past-paper question · 2017 October-November · Paper 22 · Q1(b)

Question 1(b) 2017 · October-November · Paper 22 · 6 marks

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

Official answer for Question 1

Part (b)

Question 1

mark for validation check, all checks must be different, 1 mark for the reason and 1 mark for the test data.

Question 6

✓
The only inputs for task 1 can be length of hire, money taken, time of hire and time of return.
✓
There are many possible correct answers these are examples only.
✓
Validation check
  • range check for time of hire
✓
Reason
  • cannot be hired before 10:00 returned after 17:00
✓
Test data
  • 12:00, 19:00
✓
Validation check
  • type check for money taken
✓
Reason
  • must be a numeric value
✓
Test data
  • 20.00, bob
✓
2210/22
✓
Cambridge O Level – Mark Scheme
✓
October/November
✓
PUBLISHED
✓
2017
✓
Question
✓
Answer
✓
Marks

Mark scheme 2210_w17_ms_22.pdf →

Show text version of question

Question 1

Part (b)

Part (b)

Give two different validation checks you could have used for data entry in Task 1. For each

check explain why it could be used and provide a set of data for testing.

Validation check 1 .....................................................................................................................

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

Reason for choice .....................................................................................................................

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

Set of test data .........................................................................................................................

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

Validation check 2 .....................................................................................................................

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

Reason for choice .....................................................................................................................

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

Set of test data .........................................................................................................................

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

[6]

Question 4

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

Keep practising this topic