Question 11(b) 2023 · May-June · Paper 22 · 4 marks
Reveal official mark-scheme answer
Official answer for Question 11
Part (b)
Question 4
Show text version of question
Question 11
Part (b)
Question 11
The variables P and Q are used to store data in a program. P stores a string. Q stores a character.
Part (b)
Write a pseudocode algorithm to:
- convert P to upper case
- find the position of Q in the string P (the first character in this string is in position 1)
- store the position of Q in the variable Position
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
.............................................................................................................................................
Why this question appears here
98% assigned-topic match · Programming › Programming concepts
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_s23_qp_22.pdf
