本讲解只是博主个人看法,如果有错误,欢迎指出来哦!勿喷哈
题目
第4题
A student uses a laptop to write a program that is saved as a text file.
(a) The laptop has utility software and an Operating System (OS).
(i) Describe the file management tasks carried out by an OS.
(ii) Explain the need for back-up software.
(b) The student compresses the file before it is emailed to their teacher as an attachment.
(i) Explain the benefits to the teacher of the attachment being a compressed file.
(ii) Describe one lossless method of compressing a text file.
( 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.
(d) The program code is written using an Integrated Development Environment (IDE).
(i) One presentation feature found in a typical IDE is prettyprint.
Identify and describe one other presentation feature found in a typical IDE.
Feature:
Description:
(ii) One debugging feature found in a typical IDE is single stepping.
Identify and describe one other debugging feature found in a typical IDE.
Feature:
Description:
答案:
4(a)(i)
1 mark for each bullet point (max 2)
e.g.
- Secondary storage space is divided into file allocation units
- Space on secondary storage is allocated to particular files
- Maintains/creates directory structures
- Specifies the logical method of file storage e.g. FAT or NTFS
- Provides file naming conventions
- Controls user access // implements access rights // implements password protection // Makes file sharing possible
- Controls access to the file by other software
- Specifies tasks that can be performed on a file e.g. open, close, delete, copy, create, move, etc.
- Allows searching for a file
4(a)(ii) 1 mark for each bullet point (max 2)
- To allow data to be retrieved / restored when lost
- To automatically make a duplicate copy of data…
- … so the user does not have to remember to backup data
- To make regular duplicate copies of data
4(b)(i) 1 mark for each bullet point (max 3) e.g.
- Less of the teacher’s storage space is used
- … so more student work can b