Past-paper question · 2016 October-November · Paper 23 · Q10

Question 10 2016 · October-November · Paper 23 · 18 marks

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

Official answer for Question 10

Question 9

✓
Range greater than 10, so 10 not included
✓
…………………………………………………………

Mark scheme 2210_w16_ms_23.pdf →

Show text version of question

Question 10

…………………………………………………………………….. ……………………………………………………………………..

Question 20

…………………………………………………………………….. ……………………………………………………………………..

[4]

Question 8

Question 3

The flowchart below inputs the price of an item under $10. The change from a $10 note is output. Any amount less than 5 cents is rounded up to 5 cents. The predefined function INT rounds a number down to the nearest whole number; for example Z ← INT(5.7) gives the value Z = 5 START INPUT Price Change 10 – Price Is Yes Change Dollars INT(Change) >= 1? No Change Change – INT(Change) OUTPUT Dollars, " dollars" Is Yes Change Change Change – 0.5 >= 0.5? No OUTPUT "One 50 cent coin" TenCents INT(Change * 10 + 0.5) OUTPUT TenCents, " ten cent coins" Is Change*10 – Yes OUTPUT "One 5 TenCents cent coin" > 0? No END

Question 9

Complete the trace table for the input data: 6.29 Price Change Dollars TenCents OUTPUT

[5]

Question 4

Four validation checks and four descriptions are shown below. Draw a line to link each validation check to the correct description. Validation check Description Numbers between two Presence check given values are accepted Data is of a particular Range check specified type Data contains an exact Type check number of characters Ensures that some data Length check have been entered

[3]

Question 10

Question 5

REPEAT ... UNTIL and WHILE ... DO ... ENDWHILE are two different loop structures you can use when writing pseudocode. Explain, using examples, why you would choose to use each type of loop. Example 1 ......................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... Reason for choice ............................................................................................................................. .......................................................................................................................................................... .......................................................................................................................................................... Example 2 ......................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... Reason for choice ............................................................................................................................. .......................................................................................................................................................... ......................................................................................................................................................[6]

Question 11

Question 6

A
database, THEATRETOURS, was set up to show the tour dates, towns, number of seats and

prices in local currency for a Shakespeare play. Town Tour Date Number of Seats Price Local Currency Wigan 18/08/2016 120 15.00 Dumfries 20/08/2016 160 12.50 Turin 25/08/2016 200 17.00 Macon 27/08/2016

Question 75

18.00 Bordeaux 29/08/2016 170 20.00 Algiers 01/09/2016 125 1350.00 Windhoek 05/09/2016

Question 65

90.00 Windhoek 06/09/2016

Question 65

90.00 Port Elizabeth 10/09/2016 200 110.00

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

Keep practising this topic