Past-paper question · 2016 October-November · Paper 21 · Q19(d)

Question 19(d) 2016 · October-November · Paper 21 · 4 marks

Original past-paper question for 19(D)
Original past-paper question for 19(D)
Original past-paper question for 19(D)
Original past-paper question for 19(D)
Original past-paper question for 19(D)
Original past-paper question for 19(D)
Reveal official mark-scheme answer

The answer for this question is in the official mark scheme: open the mark scheme.

Mark scheme 9608_w16_ms_21.pdf →

Show text version of question

Question 19

Part (d)

Question 19

ENDWHILE

Question 7

Part (d)

To code the ‘Search by product code’ procedure, Ahmed draws a structure chart showing the

different stages. The procedure uses the variables shown in the identifier table. Identifier Data type Description SearchCode STRING Product code input by the user Array index position for the ThisIndex INTEGER corresponding product ThisDescription STRING Product description found ThisRetailPrice REAL Product retail price found You can assume that before the procedure is run, all the product data is read from file PRODUCTS and then stored in three 1D arrays as described in part (c)(i). Label the structure chart to show the input(s) and output(s). Lookup by product code ...................... ...................... ...................... ................. ................ ...................... ...................... INPUT Search for OUTPUT details search criteria product code

[4]

Question 17

Topic relevance

Why this question appears here

87% assigned-topic match · Data types and structures › Arrays

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 9608_w16_qp_21.pdf

Keep practising this topic