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

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

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

Official answer for Question 6

Part (b)

✓
One mark description of new code that will allow more than 1000 values

Question 2

✓
One mark for example matching candidate’s description
✓
Example
✓
Use a new character instead of N
✓
TT345

Mark scheme 2210_s18_ms_22.pdf →

Show text version of question

Question 6

Part (b)

Question 6

A database table, TREES, is used to keep a record of the trees in a park. Each tree is given a

unique number and is examined to see if it is at risk of dying. There are over 900 trees; part of the database table is shown.

Tree Number Type Map Position Age in Years At Risk TN091 Acacia A7 250 Y TN172 Olive C5 110 N TN913 Cedar B9 8 N TN824 Banyan A3 50 Y TN021 Pine D5 560 Y TN532 Teak C8 76 Y TN043 Yew B1 340 N TN354 Spruce D4 65 N TN731 Elm B10 22 Y TN869 Oak C9 13 N TN954 Pine E11 3 N

Part (b)

The tree numbering system uses TN followed by three digits. The numbering system will not

work if there are over 1000 trees. Describe, with the aid of an example, how you could change the tree numbering system to allow for over 1000 trees. Existing tree numbers must not be changed.

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

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

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

...............................................................................................................................................[2]

Topic relevance

Why this question appears here

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