Computing 9691 · 10

10.3 Files

31 questions in this subtopic. Open a question to solve it and check the official answer.

Reset
2016 May-June · Paper 22 · Q3(e)

Files · 5 marks · official answer ready

(e) Zara wants to save the contents of the data structure Puzzle to a sequential file Puzzle.TXT Write program code for the procedure SavePuzzleToFile(Puzzle). Programming languag…

2015 October-November · Paper 21 · Q1(d)(ii)

Files · 6 marks · official answer ready

(ii) Write pseudocode to read the data from the file CourseData.DAT into the array Course. ........................................................................................…

2015 October-November · Paper 23 · Q1(d)(ii)

Files · 6 marks · official answer ready

(ii) Write pseudocode to read the data from the file CourseData.DAT into the array Course. ........................................................................................…

2015 May-June · Paper 12 · Q6(a)

Files · 5 marks · official answer ready

(a) The table below shows five applications. For each application, choose the most appropriate storage medium from the list. Application Storage medium A programming text book pro…

2015 May-June · Paper 23 · Q2(e)

Files · 5 marks · official answer ready

(e) Ali intends to save his board design to a text file. In a high-level programming language write the procedure SaveBoardDesign to save to the file Design.txt: • the contents of…

2013 October-November · Paper 22 · Q2(c)

Files · 3 marks

(c) At present when the program terminates all the ebook data are lost. How can these data be stored and made available every time the program is run? [3] 7

2012 October-November · Paper 11 · Q4

Files · 6 marks · official answer ready

4 A teacher is responsible for the maintenance of the school network. For Examiner's Use Describe the following examples of utility software and state how they would be used by th…

2012 October-November · Paper 12 · Q7(b)(ii)

Files · 4 marks · official answer ready

(ii) The student file in a school administration system is implemented as a sequential file. If a new student begins at the school during the school year, describe how their recor…

2012 May-June · Paper 13 · Q1(a)(ii)

Files · 1 mark · official answer ready

(ii) State why user files currently being used are stored in RAM. [1]

2012 May-June · Paper 21 · Q1(f)

Files · 0 marks · official answer ready

(f) The records will be held in a serial file. Give three statements from a high-level language that may be used for the file handling and explain what each does. Language 1

2012 May-June · Paper 22 · Q1(f)

Files · 0 marks · official answer ready

(f) The records will be held in a serial file. Give three statements from a high-level language that may be used for the file handling and explain what each does. Language 1

2012 May-June · Paper 23 · Q1(f)

Files · 0 marks · official answer ready

(f) The records will be held in a direct access file. For Give four statements from a high-level programming language that may be used for Examiner's Use the file handling and exp…

2011 October-November · Paper 12 · Q6

Files · 4 marks · official answer ready

6 State an example of each of the following types of storage medium and give a use for each. For Examiner's Use (i) Magnetic Example Use [2] (ii) Solid state Example Use [2] 7

2011 October-November · Paper 31 · Q1(a)

Files · 3 marks · official answer ready

(a) File allocation table (FAT) [3]

2010 October-November · Paper 13 · Q1(d)

Files · 2 marks · official answer ready

(d) file handling [2]

2010 May-June · Paper 13 · Q7

Files · 5 marks · official answer ready

7 Backup files and archive files are taken from the STUDENT file. Explain the difference between backing up and archiving a file, making reference to the requirements of this appl…

2010 May-June · Paper 13 · Q8(a)(ii)

Files · 5 marks · official answer ready

(ii) Information about students which is stored in the STUDENT file is sensitive and needs to be protected. State a piece of information that would be sensitive and describe steps…

2010 May-June · Paper 33 · Q2(a)(i)

Files · 1 mark · official answer ready

(i) State why it is necessary to create the transaction files in serial form. [1]

2010 May-June · Paper 33 · Q2(a)(ii)

Files · 1 mark · official answer ready

(ii) State why it is necessary to turn the transaction files into a sequential file. [1]

2009 October-November · Paper 32 · Q3(a)

Files · 3 marks · official answer ready

(a) By using file A to illustrate your answer, describe how an insertion sort can be used to sort data into alphabetical order. [3]