Question 8 2016 · May-June · Paper 21 · 21 marks
Reveal official mark-scheme answer
Official answer for Question 8
Show text version of question
Question 8
PRINT Small
(i)
Identify three changes you would need to make to find the largest number input instead of the smallest number. 1 ......................................................................................................................................... ........................................................................................................................................... 2 ......................................................................................................................................... ........................................................................................................................................... 3 ......................................................................................................................................... .......................................................................................................................................[3]
(ii)
Rewrite the program code with your changes. ........................................................................................................................................... ........................................................................................................................................... ........................................................................................................................................... ........................................................................................................................................... ........................................................................................................................................... ........................................................................................................................................... ........................................................................................................................................... .......................................................................................................................................[3]
Question 7
Question 3
The following membership details will be recorded: • Name • Gender • Status: • Senior • Junior • Fee • Team member (Yes or No)
(i)
Choose a suitable data type for each of the membership details to be recorded. Membership details Data type Name Gender Status Fee Team member
(ii)
The swimming club has 50 members. State the data structure that would be most suitable to use and give a reason for your choice. Data structure ..................................................................................................................... Reason ............................................................................................................................... .......................................................................................................................................[2]
Question 8
Question 4
The flowchart below inputs the height of children who want to ride on a rollercoaster. Children under 1.2 metres are rejected. The ride starts when eight children have been accepted. 67$57 5LGHUV 5HMHFW ,1387 +HLJKW ,V <HV +HLJKW 5HMHFW5HMHFW " 1R 5LGHUV5LGHUV 1R <HV 287387 5LGHUV 5HDG\WRJR 5HMHFW " (1'
Question 9
Complete the trace table for the input data: 1.4, 1.3, 1.1, 1.3, 1.0, 1.5, 1.2, 1.3, 1.4, 1.3, 0.9, 1.5, 1.6, 1.0 Riders Reject Height OUTPUT
Question 10
Question 5
REPEAT ... UNTIL is one type of loop structure. Identify and describe two other types of loop structure that you could use when writing pseudocode. Loop structure 1 ......................................................................................................................... Description ................................................................................................................................. ................................................................................................................................................... Loop structure 2 ......................................................................................................................... Description ................................................................................................................................. ...............................................................................................................................................[4]
Question 11
Question 6
staff working in a department store. Name Department Extension number Jane Smith Toys 129 Sue Wong Books 124 David Chow Toys 129 Amy Tang Household 123 Joe Higgs Books 124 Jane Smith Shoes 125 Adel Abur Shoes 125 Peter Patel Toys 129
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_s16_qp_21.pdf
