10.3 Files
27 questions in this subtopic. Open a question to solve it and check the official answer.
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 .............…
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 ............…
Files · 4 marks · official answer ready
(b) Describe how files are shared using the BitTorrent protocol. ..................................................................................................................…
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…
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]
Files · 2 marks · official answer ready
(i) Describe the file management tasks carried out by an OS. ......................................................................................................................…
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. .............................…
Files · 3 marks · official answer ready
5 (a) Explain what is meant by a hashing algorithm in the context of file access. .................................................................................................…
Files · 3 marks · official answer ready
5 (a) Explain what is meant by a hashing algorithm in the context of file access. .................................................................................................…
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…
Files · 1 mark · official answer ready
(ii) State one benefit of increasing the number of steps. .........................................................................................................................…
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. ......................................…
Files · 6 marks
7 (a) Outline what is meant by direct access as a method of file access. ..........................................................................................................…
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. ......................................…
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 …
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…
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. .............…
Files · 2 marks · official answer ready
(i) Explain why this is a problem. ........................................................................................................................................... ....…
Files · 2 marks · official answer ready
(ii) Explain how the message format could be changed to allow a blank line to be sent. ............................................................................................…
Files · 15 marks · official answer ready
(a) Write pseudocode for procedure RandList(). ....................................................................................................................................…
