Past-paper question · 2016 May-June · Paper 21 · Q8

Question 8 2016 · May-June · Paper 21 · 21 marks

Original past-paper question for 8
Original past-paper question for 8
Original past-paper question for 8
Original past-paper question for 8
Original past-paper question for 8
Reveal official mark-scheme answer Official mark-scheme answer for 8

Official answer for Question 8

✓
1.3
✓
Ready to go 2
✓
(1 mark)
✓
(1 mark)
✓
(1 mark)
✓
(1 mark)
[4]

Mark scheme 2210_s16_ms_21.pdf →

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

A
program will be written to store information about members of a swimming club.

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

[5]

(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

[4]

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

A
database, STAFFPHONE, was set up to show the telephone extension numbers for members of

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

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_s16_qp_21.pdf

Keep practising this topic