Past-paper question · 2019 May-June · Paper 23 · Q2(c)

Question 2(c) 2019 · May-June · Paper 23 · 4 marks

Original past-paper question for 2(C)
Original past-paper question for 2(C)
Reveal official mark-scheme answer Official mark-scheme answer for 2(C)

Official answer for Question 2

Part (c)

✓
Mode: READ

Question 4

✓
Description: Used to read data from a file // input data from a file to the program
✓
// only allows you to read data from the file / can't change the data
✓
Mode: APPEND
✓
Description: Used to add data // write to the end of the text file // output data from
✓
the program to the end of a file (without changing / deleting anything)
✓
One mark for mode; one mark for corresponding description

Mark scheme 9608_s19_ms_23.pdf →

Show text version of question

Question 2

Part (c)

Part (c)

The student is learning about file handling.

She has been told that there are different file modes that can be used when opening a text file. She wants to make sure that the existing contents are not deleted when the file is opened.

Identify two file modes she could use and describe their use.

Mode .........................................

Description ................................................................................................................................

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

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

Mode .........................................

Description ................................................................................................................................

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

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

[4]
Topic relevance

Why this question appears here

71% assigned-topic match · Hardware › Logic gates and logic circuits

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 9608_s19_qp_23.pdf

Keep practising this topic