Question 4(a) 2012 · May-June · Paper 23 · 16 marks
Reveal official mark-scheme answer
The answer for this question is in the official mark scheme: open the mark scheme.
Show text version of question
Question 4
Part (a)
Question 4
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”
Part (a)
Using a high-level programming language, write the code to perform this task. (Ensure
that you use meaningful variable names and lay the code out clearly.)
Programming language
Code
Question 7
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 9691_s12_qp_23.pdf
