Question 9(b) 2023 · May-June · Paper 23 · 5 marks
Reveal official mark-scheme answer
Official answer for Question 9
Part (b)
Question 5
Show text version of question
Question 9
Part (b)
Question 9
The variable Saying is used to store string data in a program.
Part (b)
Write the pseudocode statements to:
- allow a string to be input to the variable Saying
- store the content of the variable Saying in a text file named "Quotations.txt"
- make sure the text file is closed at the end of the algorithm.
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
.............................................................................................................................................
Question 10
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 0478_s23_qp_23.pdf
