Past-paper question · 2017 October-November · Paper 22 · Q10(c)

Question 10(c) 2017 · October-November · Paper 22 · 11 marks

Original past-paper question for 10(C)
Original past-paper question for 10(C)
Original past-paper question for 10(C)
Original past-paper question for 10(C)
Reveal official mark-scheme answer

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

Mark scheme 9608_w17_ms_22.pdf →

Show text version of question

Question 10

Part (c)

Question 10

Question 22

Question 2

Question 11

Part (c)

The procedure is developed and run using the call TestRandom(200). No system errors

are produced. To ensure that the procedure works correctly, you need to check the output. Describe two checks you should make to suggest the program works correctly. 1 ............................................................................................................................................... ................................................................................................................................................... ................................................................................................................................................... 2 ............................................................................................................................................... ................................................................................................................................................... ...................................................................................................................................................

[2]

Question 13

Question 5

A
sports club maintains a record of the email address of each of its members. The details are

stored in a text file, EmailDetails.txt. The format of each line of the text file is as follows: <MembershipNumber><EmailAddress> • MembershipNumber is a four-character string of numerals • EmailAddress is a variable-length string When members leave the club their details need to be removed from the file.

A
procedure, RemoveDetails is required. This will perform the following actions:

1. Input the MembershipNumber of the club member to be removed 2. Create a new file, NewEmailDetails.txt 3. Copy all the lines from EmailDetails.txt to NewEmailDetails.txt, except the line with the matching MembershipNumber Write pseudocode for the procedure, RemoveDetails. For the built-in functions list, refer to the Appendix on page 15. .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .....................................................................................................................................................

[9]

Question 14

Topic relevance

Why this question appears here

82% assigned-topic match · Programming › Programming basics

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

Keep practising this topic