Past-paper question · 2012 May-June · Paper 23 · Q4(b)(i)

Question 4(b)(i) 2012 · May-June · Paper 23 · 9 marks

Original past-paper question for 4(B)(I)
Original past-paper question for 4(B)(I)
Original past-paper question for 4(B)(I)
Original past-paper question for 4(B)(I)
Reveal official mark-scheme answer Official mark-scheme answer for 4(B)(I)

Official answer for Question 4

Part (b)

(i)

Part (b)

(i)

Y DIV X

[1]

Mark scheme 9691_s12_ms_23.pdf →

Show text version of question

Question 4

Part (b)

(i)

Question 4

[8]

Question 6

2 Gina is developing her programming skills in string handling. For She is going to input one string. Examiner's Use The string contains letters and zero or more '*' characters in any positions. Gina wants to remove all the '*'s and output the letters in their original order. For example:

  • input “com*put**er*”, the output is “computer”
  • input “hardware”, the output is “hardware”

She writes this code as the function ChangeString because it will be used several For times. Examiner's Use

(i)

State the parameter of the function.

[1]
Topic relevance

Why this question appears here

80% assigned-topic match · Programming › Structured programming

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 9691_s12_qp_23.pdf

Keep practising this topic