Past-paper question · 2024 May-June · Paper 23 · Q7(b)

Question 7(b) 2024 · May-June · Paper 23 · 3 marks

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

Official answer for Question 7

Part (b)

✓
One mark per mark point

Question 3

✓
MP1
✓
Opening the correct text file for writing
✓
MP2
✓
Writing the variable from part (a) to the file
✓
MP3
✓
Closing the text file after writing
✓
Example:
✓
OPENFILE "Subjects.txt" FOR WRITE
✓
WRITEFILE "Subjects.txt", PartText
✓
CLOSEFILE "Subjects.txt"
✓
Question
✓
Answer
✓
Marks

Mark scheme 0478_s24_ms_23.pdf →

Show text version of question

Question 7

Part (b)

Part (b)

Write the pseudocode statements to:

  • store the content of the variable you created in part

Part (a)

to a text file named

"Subjects.txt"

  • close the text file at the end of the algorithm.

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

.............................................................................................................................................

[3]

Question 10

Topic relevance

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

Keep practising this topic