Question 30(b)(ii) 2024 · October-November · Paper 23 · 5 marks
Question 30
Part (b)
(ii)
Question 30
ENDIF
Part (b)
State the rules that the password must meet. ................................................................................................................................................... ................................................................................................................................................... ................................................................................................................................................... ................................................................................................................................................... ................................................................................................................................................... .............................................................................................................................................
Question 10
, ,
Question 11
Building materials are sold in bags. A new database table called BuildStock has been set up to store details about the materials for sale. Part of this table is given. MtNo Name InStock WeightKg PricePerBag NumberBags MT01 Builders sand Yes
Question 50
4.50
Question 50
MT02 Sharp sand Yes
Question 25
3.50
Question 21
MT03 Red sand No
Question 50
2.75 0 MT04 Cement No
Question 25
6.85 0 MT05 Chippings Yes
Question 50
35.00
Question 50
MT06 Cobbles No
Question 75
67.35 0 MT07 Pebbles small Yes
Question 50
34.50
Question 3
MT08 Pebbles medium Yes
Question 25
25.50
Question 10
MT12 Pebbles large Yes
Question 75
62.75
Question 20
MT15 Washed gravel Yes
Question 50
12.75
Question 12
MT16 Pea gravel Yes 100 15.95
Question 24
(ii)
Explain how another SQL statement using a different field could be used to display the same information. ........................................................................................................................................... ........................................................................................................................................... ........................................................................................................................................... .....................................................................................................................................
Question 11
, ,
Question 12
, , 12 Members of a litter picking group complete a litter pick every month. Members’ names are stored in one-dimensional (1D) array PickerName[] Each member stores the weight of the litter they have picked in another one-dimensional (1D) array PickedWeight[] The weights are in kilograms with one decimal place, for example 8.4 The position of each member’s data in the two arrays is the same. For example, the member stored at index 10 in PickerName[] and at index 10 in PickedWeight[] is the same. Every month, there is a small prize awarded to the members of the group who have the two heaviest weights. Certificates are awarded to all members with a pick weight of over three kilograms. Write a program that meets the following requirements: • allows the weight of members’ picks to be input and validated • sorts the arrays PickedWeight[] and PickerName[] in descending order of weight • outputs the member names and the pick weights of the members with the two heaviest picks and identifies them as “Best in Group” and “Second best in Group” • stores the names of all the members who will receive a certificate in the array PickerCertificate[] • outputs a message stating the number of certificates to be printed. You must use pseudocode or program code and add comments to explain how your code works. You do not need to declare any arrays or variables; you may assume that this has already been done. All inputs and outputs must contain suitable messages. You do not need to initialise the data in the array PickerName[] .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... ..........................................................................................................................................................
Reveal official mark-scheme answer
The answer for this question is in the official mark scheme: open the mark scheme.
Why this question appears here
98% assigned-topic match · Databases
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_w24_qp_23.pdf
