Computer Science For First Examination In 2021 9618 · 10

10.3 Files

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

Reset
2025 October-November · Paper 12 · Q8(b)(ii)

Files · 2 marks · official answer ready

(ii) The image files that are displayed on the touchscreen have been corrupted. Identify two examples of utility software that could be used to recover the images. 1 .............…

2025 October-November · Paper 22 · Q6(a)

Files · 6 marks

(a) The algorithm to create the new file is expressed in steps. Complete the following numbered steps: Step 1 : open the file ..................................... in ............…

2025 October-November · Paper 32 · Q3(b)

Files · 4 marks · official answer ready

(b) Describe how files are shared using the BitTorrent protocol. ..................................................................................................................…

2025 May-June · Paper 41 · Q2(a)

Files · 7 marks · official answer ready

(a) The function ReadData(): • prompts the user to enter a filename and reads this filename from the user • opens the file and reads each line of data into a 1D array • returns th…

2025 May-June · Paper 41 · Q2(e)(i)

Files · 3 marks · official answer ready

(i) Write program code for the main program. Save your program. Copy and paste the program code into part 2(e)(i) in the evidence document. [3]

2024 October-November · Paper 11 · Q4(a)(i)

Files · 2 marks · official answer ready

(i) Describe the file management tasks carried out by an OS. ......................................................................................................................…

2024 October-November · Paper 11 · Q4(c)

Files · 3 marks · official answer ready

(c) The student used a program library when writing their program. Explain the benefits to the student of using library files when writing a program. .............................…

2024 October-November · Paper 31 · Q5(a)

Files · 3 marks · official answer ready

5 (a) Explain what is meant by a hashing algorithm in the context of file access. .................................................................................................…

2024 October-November · Paper 33 · Q5(a)

Files · 3 marks · official answer ready

5 (a) Explain what is meant by a hashing algorithm in the context of file access. .................................................................................................…

2024 May-June · Paper 13 · Q7(e)(ii)

Files · 4 marks · official answer ready

(ii) Some program libraries include Dynamic Link Library (DLL) files. Describe the benefits of a programmer using a library with DLL files instead of using a library that does not…

2024 May-June · Paper 23 · Q6(b)(ii)

Files · 1 mark · official answer ready

(ii) State one benefit of increasing the number of steps. .........................................................................................................................…

2024 May-June · Paper 31 · Q4(b)

Files · 3 marks · official answer ready

(b) Explain how the sequential method of file access is applied to files with serial organisation and to files with sequential organisation. ......................................…

2024 May-June · Paper 32 · Q7

Files · 6 marks

7 (a) Outline what is meant by direct access as a method of file access. ..........................................................................................................…

2024 May-June · Paper 33 · Q4(b)

Files · 3 marks · official answer ready

(b) Explain how the sequential method of file access is applied to files with serial organisation and to files with sequential organisation. ......................................…

2024 May-June · Paper 42 · Q1(d)(ii)

Files · 1 mark · official answer ready

(ii) Test your program by inputting these words in the order shown: easy she out no Take a screenshot of the output(s). Save your program. Copy and paste the screenshot into part …

2024 May-June · Paper 42 · Q1(d)(iii)

Files · 1 mark · official answer ready

(iii) Test your program by inputting these words in the order shown: hard fine fined idea no Take a screenshot of the output(s). Save your program. Copy and paste the screenshot i…

2023 October-November · Paper 13 · Q5(b)(ii)

Files · 3 marks · official answer ready

(ii) The program files are stored on a new hard disk after they have been downloaded. Describe the reasons why a hard disk formatter is needed for the new hard disk. .............…

2023 October-November · Paper 21 · Q8(c)(i)

Files · 2 marks · official answer ready

(i) Explain why this is a problem. ........................................................................................................................................... ....…

2023 October-November · Paper 21 · Q8(c)(ii)

Files · 2 marks · official answer ready

(ii) Explain how the message format could be changed to allow a blank line to be sent. ............................................................................................…

2023 October-November · Paper 23 · Q8(a)

Files · 15 marks · official answer ready

(a) Write pseudocode for procedure RandList(). ....................................................................................................................................…