Menu

File Management Exam Questions

18 Edexcel GCSE Computer Science (1CP2) exam-style questions on File Management (3.2 Software), 39 marks in all. Answer them on paper or print them, then open the mark schemes and example answers to see how each is marked.

Revise File Management first

Build a paper on 3.2 Software
Print
1Multiple choice1 mark

Identify the operating system function that decides where files are stored on a disk.

[1 mark]
  • AFile management
  • BPeripheral management
  • CProcess management
  • DUser management
Mark scheme
  • A File management (1)
  • The only correct answer is A. The correct answer is file management.
  • B is not correct because peripheral management controls input and output devices
  • C is not correct because process management schedules programs and allocates processor time
  • D is not correct because user management manages user accounts and access rights
Example answers and how they were marked
Full marks1/1

A File management

Why: Correct option (1).

No marks0/1

C Process management

Why: Process management schedules programs; it does not decide where files are stored (0).

No marks0/1

B Peripheral management

Why: Peripheral management controls input and output devices, not file storage (0).

2Multiple choice1 mark

Identify the task that is part of file management.

[1 mark]
  • AAllocating processor time
  • BCopying a file
  • CManaging user accounts
  • DSending data to a printer
Mark scheme
  • B Copying a file (1)
  • The only correct answer is B. The correct answer is Copying a file.
  • A is not correct because allocating processor time is process management
  • C is not correct because managing user accounts is user management
  • D is not correct because sending data to a printer is peripheral management
Example answers and how they were marked
Full marks1/1

B Copying a file

Why: Correct option (1).

No marks0/1

A Allocating processor time

Why: Allocating processor time is process management, not file management (0).

No marks0/1

C Managing user accounts

Why: Managing user accounts is user management, not file management (0).

3Multiple choice1 mark

A file is saved to a hard disk.

Identify the file management task that gives a file its name.

[1 mark]
  • AAllocating files to folders
  • BDeleting a file
  • CMoving a file
  • DNaming a file
Mark scheme
  • D Naming a file (1)
  • The only correct answer is D. The correct answer is Naming a file.
  • A is not correct because allocating files to folders stores them in folders
  • B is not correct because deleting a file removes it from storage
  • C is not correct because moving a file changes its location
Example answers and how they were marked
Full marks1/1

D Naming a file

Why: Correct option (1).

No marks0/1

A Allocating files to folders

Why: This stores files in folders; it does not give a file its name (0).

No marks0/1

B Deleting a file

Why: Deleting removes a file from storage; it does not name it (0).

4Multiple choice1 mark

A user reorganises the files on a computer.

Identify the file management task that changes the location of a file.

[1 mark]
  • ACopying
  • BDeleting
  • CMoving
  • DRenaming
Mark scheme
  • C Moving (1)
  • The only correct answer is C. The correct answer is Moving.
  • A is not correct because copying creates a duplicate file and leaves the original in place, so it does not change the file's location
  • B is not correct because deleting removes a file from storage
  • D is not correct because renaming changes a file's name, not its location
Example answers and how they were marked
Full marks1/1

C Moving

Why: Correct option (1).

No marks0/1

A Copying

Why: Copying creates a duplicate file and leaves the original in place, so it does not change the original file's location (0).

No marks0/1

D Renaming

Why: Confuses a file's name with its location; renaming changes only the name (0).

5Short recall1 mark

File management is one function of an operating system.

Name the file management feature used to group related files together.

[1 mark]
Mark scheme

Award one mark for:

  • Folder (1)

Allow directory/subfolder/subdirectory.

Do not accept file.

Do not accept file system/partition/file tree/directory structure.

Example answers and how they were marked
Full marks1/1

Folder

Why: Names folder, the file management feature used to group related files (1).

No marks0/1

File

Why: Names a file, not the feature used to group files; the mark scheme rejects file.

No marks0/1

File system

Why: Names the overall file system, not the folder/directory feature used to group files; the mark scheme rejects file system.

6Short recall2 marks

An operating system provides file management.

Define the term file management.

[2 marks]
Mark scheme

Award one mark for any of the following up to a maximum of two marks:

  • The part/function of the operating system (1)
  • That manages/organises files (and folders) (1)
  • On a storage device/disk (1)
  • So files can be stored/found/retrieved (1)

Do not accept managing processes/peripherals/users as the whole definition.

Example answers and how they were marked
Full marks2/2

The function of the operating system that organises files and folders on a disk so they can be found and retrieved.

Why: Names the operating system function (1) and managing/organising files on a disk so they can be retrieved (1).

Some marks1/2

Organising files.

Why: Names managing/organising files (1), but does not name the operating system, storage location or retrieval.

No marks0/2

Managing the CPU and peripherals.

Why: Describes process and peripheral management, not file management.

7Short recall2 marks

A user stores documents on a computer.

Give two tasks that file management allows the user to perform on a file.

[2 marks]
Mark scheme

Award one mark for any of the following up to a maximum of two marks:

  • Creating a file (1)
  • Opening a file (1)
  • Naming/renaming a file (1)
  • Saving a file (1)
  • Copying a file (1)
  • Moving a file (1)
  • Deleting a file (1)

Allow rename for renaming

Allow cut and paste for moving

Allow remove for deleting

Do not accept organising files or managing files on their own, without a named task

Do not accept file management, working with files, process management, user management

Example answers and how they were marked
Full marks2/2

Renaming a file and deleting a file.

Why: Names renaming (1) and deleting (1), two file management tasks.

Some marks1/2

Saving a file.

Why: Names one file management task (1).

No marks0/2

Organising files and managing processes.

Why: Organising files without a named task is not credited, and process management is another operating system function, not a task performed on a file.

8Short recall2 marks

An operating system manages the files stored on a computer.

State two ways the operating system manages where files are stored on the disk.

[2 marks]
Mark scheme

Award one mark for any of the following up to a maximum of two marks:

  • Decides/allocates which part/space on the disk a file is written to (1)
  • Keeps an index/record of the location of each file so that it can be found/retrieved (1)
  • Prevents a file from being overwritten by another file (1)
  • Checks there is enough free space on the disk before a file is saved (1)

Allow 'file allocation table' for keeping an index/record of file locations

Only award one mark for answers that say the operating system decides/allocates where a file is stored or allocates free space on the disk

Do not accept defragmentation

Do not accept 'stores files', 'saves files' or 'backs up files' (these only repeat the stem)

Do not accept 'organises files into folders' on its own

Do not accept scheduling processes or managing peripherals

Example answers and how they were marked
Full marks2/2

It keeps an index of where each file is stored so it can be found again, and it stops a new file overwriting an existing file.

Why: Keeps an index of file locations so files can be retrieved (1) and prevents a file being overwritten (1).

Some marks1/2

It keeps a record of where each file is stored.

Why: Keeps an index/record of file locations (1), but does not give a second way.

No marks0/2

It saves files on the hard disk and organises them into folders.

Why: 'Saves files' only repeats the stem and 'organises files into folders' on its own is not accepted, so no creditworthy point is given.

9Describe2 marks

Describe the purpose of file management in an operating system.

[2 marks]
Mark scheme

Award up to two marks for a linked description such as:

  • Keeps a record/index of where each file is stored on the disk (1) so the file can be found and opened later (1)
  • Allocates space on the disk for each file (1) so files are stored without overwriting each other (1)
  • Provides facilities to name file(s) and organise them into folder(s)/directories (1) so the user can find and manage their files (1)

Do not accept responses about process management, peripheral management or user management.

Do not accept bare statements of storing/saving, e.g. 'it stores files', 'it saves files' or 'it keeps files safe', with no development.

Do not award a mark for responses that repeat the question, e.g. 'it manages files', with no development.

Example answers and how they were marked
Full marks2/2

It keeps a record of where each file is stored on the disk (1) so the file can be found and opened later (1).

Why: Linked point (1) and purpose (1).

Some marks1/2

It organises files into folders.

Why: Creditworthy point (1) but no development of how this helps the user.

No marks0/2

It manages processes and peripherals so the computer runs smoothly.

Why: Describes other operating system functions, not file management; no creditworthy point.

10Describe2 marks

A user saves a new file into a folder that already contains files.

Describe how the operating system prevents a new file overwriting an existing file.

[2 marks]
Mark scheme

Award up to two marks for a linked description such as:

  • Checks/compares the new file (name)/filename against the names of files already in the folder/directory (1) to see if the name is already in use (1)
  • Refuses to save/allow the new file when the (file) name already exists (1) so the existing file is not replaced/overwritten (1)
  • Prompts/asks the user to choose/enter a different (file) name (1) so both files can be saved without one replacing the other (1)

A point without a linked development can earn one mark.

For both marks, the development must follow/associate with the point.

Do not accept responses about defragmentation.

Do not accept the operating system making a backup copy, or warning the user that a file may be overwritten, without saying that the (file) name is checked or the new file is not saved.

Do not accept responses about process management or saving files to RAM.

Do not award a second mark for repeating the question, e.g. 'it stops the new file overwriting the existing file'.

Example answers and how they were marked
Full marks2/2

It checks the new file name against the names of files already in the folder (1) to see whether the name is already in use (1).

Why: Linked point (1) and development (1).

Some marks1/2

It checks the file name against the names already in the folder.

Why: Creditworthy point (1) on its own; no linked development, so one mark.

No marks0/2

It defragments the disk so there is room for the new file.

Why: Defragmentation is not accepted by the mark scheme.

11Describe2 marks

File management is one function of an operating system.

Describe what the operating system does to the folder structure when a file is moved to a different folder.

[2 marks]
Mark scheme

Award up to two marks for a linked description such as:

  • Updates/changes the location/path stored for the file (1) so the file can be found in its new folder/location (1)
  • Removes the file's entry/reference from the old folder (1) so the file no longer appears/is listed there (1)
  • Adds/creates an entry/reference for the file in the new folder (1) so the file appears/is listed in its new location (1)
  • Updates the folder/directory listing/structure (1) to show the file's new location/path (1)

Do not accept descriptions of copying the file or leaving a duplicate in the old folder.

Do not accept deleting and recreating the file, or moving the file's data to a different physical location on the disk; the marks are for updating the folder/directory structure.

Example answers and how they were marked
Full marks2/2

It updates the location stored for the file so the file can be found in its new folder.

Why: Linked point (1) and development/outcome (1).

Some marks1/2

It removes the file's entry from the old folder.

Why: Creditworthy point (1) but no linked development.

No marks0/2

It deletes the file from the old folder and saves it again in the new folder.

Why: Describes deleting and recreating the file, which the mark scheme does not accept.

12Describe2 marks

A user deletes an unwanted file from their computer.

Describe what happens when the file is deleted.

[2 marks]
Mark scheme

Award up to two marks for a linked description such as:

  • The file's entry is removed from the folder/directory (1) so the file no longer appears in the list of files/is no longer listed (1)
  • The (disk) space used by the file is marked as free/available/unused (1) so another file can be saved/stored in that space (1)
  • The file's data/contents are not erased/removed (1) so the file may still be recovered until the space is overwritten (1)

A point stated without development, e.g. 'the file is removed from the folder', earns one mark only.

For the first mark, accept that the file's entry is removed from the folder/directory; the second mark must state that the file no longer appears/is listed.

Do not accept 'stays on disk' alone for the third point; accept 'data is not erased' or 'contents remain'.

Do not accept 'the file is wiped from the disk straight away' or 'the data is destroyed and can never be recovered'.

Do not accept 'the file is moved to the recycle bin/bin' or 'the file is deleted from the hard drive' on its own, as this does not describe what happens to the file or the disk space.

Do not accept responses about moving the file to another folder.

Example answers and how they were marked
Full marks2/2

The space the file used is marked as free so another file can be saved in that space.

Why: Linked point (1) and development (1): space marked free and another file can be saved.

Some marks1/2

The file is removed from the folder.

Why: Point (1) only; no development about the file no longer being listed.

No marks0/2

The data is wiped from the disk straight away so it can never be recovered.

Why: Common misconception; 'wiped straight away' is not accepted, so no mark.

13Explain2 marks

An operating system manages the storage of files on a disk.

Explain one reason why the operating system keeps a record of where each file is stored.

[2 marks]
Mark scheme

Award up to two marks for a linked explanation such as:

  • The file can be found/opened later (1) because the operating system uses the stored location/address to access it (1)
  • The file can be updated/saved again (1) because the operating system knows where to write the new data on the disk (1)
  • A new file does not overwrite an existing file (1) because the operating system knows which parts of the disk already hold data (1)

For both marks, the expansion must follow/associate with the statement.

Do not accept 'so the file is saved' on its own without a reason linked to finding/using the file later.

Do not accept 'to organise files' without expansion as to how the record helps the operating system find a file.

Do not accept 'so the operating system knows where the file is' without saying that this record is used to find/access/update the file.

Example answers and how they were marked
Full marks2/2

The operating system can find the file again when the user wants to open it (1) because it knows the location on the disk where the file is stored (1).

Why: Linked point (1) and reason (1).

Some marks1/2

So the file can be opened later (1).

Why: Point only; no linked reason about the stored location being used.

No marks0/2

So the file is saved in the right place (0) because the operating system saves all files.

Why: Repeats the action of saving and gives no reason linked to finding the file later.

14Explain2 marks

An operating system stops a new file from replacing an existing file with the same name in the same folder.

Explain one reason why the operating system does this.

[2 marks]
Mark scheme

Award up to two marks for a linked explanation such as:

  • Existing data would be lost (1) because the new file would overwrite/replace its contents (1)
  • The original file could not be recovered (1) because its contents would be destroyed/replaced (1)
  • A program that uses the existing file would fail (1) because the file's data would have been changed/removed (1)
  • The user could lose important work (1) because the old file is replaced by the new one (1)

For both marks, the expansion must follow/associate with the statement.

Do not accept 'so files do not have the same name' without a reason linked to loss of data.

Do not accept 'to keep files tidy' or 'so the computer does not crash' without a reason linked to the existing file's contents being lost.

Example answers and how they were marked
Full marks2/2

The user would lose the existing file (1) because the new file would overwrite its contents (1).

Why: Linked point (1) and reason (1).

Some marks1/2

The old file would be lost (1).

Why: Point only; no linked reason stating that the new file would overwrite its contents.

No marks0/2

So two files do not have the same name (0) because each file needs a different name.

Why: Repeats the rule about names and does not explain the loss of existing data.

15Explain2 marks

An operating system stores a name for each file and displays the names in a file manager.

Explain one benefit to a user of giving a file a name that describes its contents.

[2 marks]
Mark scheme

Award up to two marks for a linked explanation such as:

  • The user can identify what is in a file without opening it (1) because the name describes the contents (1)
  • The user can search for a file using words from its name (1) because the file manager/search matches those words to the stored file name (1)
  • The user can choose the correct file from several similar files (1) because the descriptive name distinguishes it from the other files (1)
  • The user can sort/group related files together (1) because files with similar contents can share a word/phrase in their names (1)

For both marks, the expansion must follow/associate with the statement.

A correct point on its own can award 1 mark.

Do not accept 'it is easier to find' on its own without a linked reason that says the search/file manager uses words/terms in the file name to match the search.

Do not accept 'it is organised better' unless it is linked to how the name helps, e.g. sorting/grouping files by a shared word in their names.

Do not accept 'it is more secure' or 'the file opens faster' or 'it saves storage space' because a descriptive name does not make a file more secure, open faster or take less storage.

Do not award a second mark for repeating the same benefit, e.g. saying time is saved after saying the contents can be identified without opening the file.

Example answers and how they were marked
Full marks2/2

The user can tell what a file contains without opening it (1) because the name describes the contents (1).

Why: Linked point (1) and reason (1).

Some marks1/2

The user can search for a file using words from its name (1).

Why: Search point (1); no linked reason about the file manager/search matching those words to the stored file name.

No marks0/2

The file will open faster (0) because the name tells the computer what type of file it is.

Why: Misconception: a descriptive name does not make a file open faster, and no creditworthy point or reason is given.

16Explain2 marks

An operating system marks the storage space used by a deleted file as free.

Explain one reason why the operating system does this.

[2 marks]
Mark scheme

Award up to two marks for a linked explanation such as:

  • The space can be reused (1) because the operating system can store/write another file in that location (1)
  • The disk does not fill up (1) because deleted files no longer take up storage space (1)
  • The operating system keeps an accurate record of used/free space (1) so it knows where a new file can be written (1)

For both marks, the expansion must follow/associate with the statement.

A correct point without a linked reason earns one mark only.

Do not accept 'so the space is free' or 'so the file is deleted/removed from the folder' because these repeat the question.

Do not accept 'so the data is erased/removed from the disk' because this restates deletion and not the reuse of the space.

Do not accept answers about securely erasing/overwriting the data, because marking the space as free does not remove the data.

Do not accept 'to free up RAM' or 'to make the computer faster' unless linked to freeing space on the disk for reuse.

Example answers and how they were marked
Full marks2/2

The free space can be used to store another file (1) because the operating system can write new data to that location (1).

Why: Linked point (1) and reason (1).

Some marks1/2

The space can be reused (1).

Why: Point only (1); no linked reason about storing or writing another file in that location.

No marks0/2

It frees up RAM (0) so the computer runs faster.

Why: Misconception: deleting a file frees disk storage, not RAM.

17Discuss6 marks

A small business has one computer with a single hard disk. Two employees save documents and photographs to it every day. The operating system manages the disk.

Discuss why the operating system needs to manage where files are stored on the disk.

Your answer should include:

  • how the operating system allocates disk space when a file is saved
  • how the operating system keeps track of each file
  • what could happen if the operating system did not manage files
[6 marks]
Mark scheme

Indicative content

Allocating space

  • The operating system checks that there is enough free space before a file is saved, so a large photograph does not make the save fail.
  • The operating system finds free space on the disk and allocates it to the new file, so the file's data has somewhere to be written.
  • Disk space is allocated so that a file is not written on top of data that already belongs to another file.
  • When a file is deleted, the operating system marks its space as free so it can be used again by the next document that is saved.

Keeping track

  • The operating system keeps a record of the name, size and location of every file, so it knows where each file is stored.
  • The record is updated whenever a file is saved, renamed or deleted, so it still matches what is on the disk.
  • The operating system uses this record to find a file again, so an employee can open a document or photograph that was saved earlier.
  • The record lets the operating system tell the two employees' documents and photographs apart, even though they are all on the same disk.

Without this management

  • Two files could be given the same space, so one document would overwrite another and the work would be lost.
  • The operating system would not know where a file is stored, so a saved document could not be found and opened again.
  • Space used by deleted files might never be freed, so the disk would fill up and new files could not be saved.

Levels

  • Level 0 (0 marks): No rewardable content.
  • Level 1 (1–2 marks): Basic, independent points are made, showing elements of understanding of key concepts/principles of computer science. (AO1) The discussion will contain basic information with little linkage between points made or application to the context. (AO2)
  • Level 2 (3–4 marks): Demonstrates adequate understanding of key concepts/principles of computer science. (AO1) The discussion shows some linkages and lines of reasoning with some structure and application to the context. (AO2)
  • Level 3 (5–6 marks): Demonstrates comprehensive understanding of key concepts/principles of computer science to support the discussion being presented. (AO1) The discussion is well developed, with sustained lines of reasoning that are coherent and logically structured, and which clearly apply to the context. (AO2)

Level 3 responses must cover both the allocation of space and the tracking of files, with at least one consequence of no management linked to its cause. Reference to a file being split across blocks that are not next to each other, or to the record holding the location of each block, is Level 3 detail and is not required.

Basic, unlinked points with no application to the business's documents or photographs, and a consequence such as 'files would be lost' with no cause given, are limited to Level 1; to reach Level 2 a point must be linked to a reason (for example, the record is kept so a document can be found again) and be applied to the context. Do not accept defragmentation, process scheduling, user management, peripheral management, or backup and antivirus scanning, as file management.

Example answers and how they were marked
Full marks6/6

Before a document is saved, the operating system checks that there is enough free space on the single disk, so a large photograph cannot make the save fail. It then finds free space and allocates it to the new file, making sure it does not write over data that already belongs to another file. The operating system keeps a record of the name, size and location of every file and updates it whenever a file is saved or deleted. It uses this record to find a file again, so an employee can open a document that was saved earlier. Without this, the two employees could be given the same space, so one document would overwrite the other, or the operating system would not know where a file is stored and the business could not find its work again.

Why: Covers both allocation (free space check, free space given to the file, no overwriting) and tracking (record of name, size and location, updated on save, used to find the file), applies it to the business's single disk and its two employees' documents and photographs, and links the consequences of no management to their causes: Level 3.

Some marks2/6

The operating system decides where on the disk a file is saved. It also keeps a record of where each file is stored. Without this, files would be lost.

Why: Two basic points are made: space is allocated when a file is saved, and a record of where each file is stored is kept. Neither is linked to a reason, there is no application to the business's documents and photographs, and 'files would be lost' is given with no cause: Level 1, top of the level.

Some marks1/6

The operating system puts files in the right place so the disk does not get full. It also defragments the disk to make the files smaller.

Why: One basic point about the operating system placing files on the disk so it does not fill up (Level 1). Defragmentation is not file management and does not make files smaller, so it is not credited: Level 1.

18Discuss6 marks

A student keeps school work and photographs on a laptop. The laptop's storage is almost full. The student uses the operating system's file management.

Discuss the file management tasks the operating system provides that the student can use to manage these files.

Your answer should include:

  • saving files
  • deleting files
  • copying files
[6 marks]
Mark scheme

Indicative content

Saving files

  • When saving, the operating system lets the student choose the folder and the file name, so new work goes into the correct subject folder instead of the root.
  • The operating system warns the student before a file with the same name is overwritten, so an earlier version of an essay is not lost by accident.
  • The operating system writes the file into free space on the laptop and records where it is, so the student can open it again later.

Deleting files

  • The operating system lets the student delete files that are no longer needed, which frees space so new photographs can be saved.
  • Deleted files are usually moved to the recycle bin first, so a file removed by mistake can be restored.
  • Emptying the recycle bin removes the data permanently and releases the space for other files.

Copying files

  • The operating system lets the student copy files to a USB flash drive, so there is a second copy if the laptop is lost or damaged.
  • Copying leaves the original file in place, so the student can carry on working on the laptop's copy.
  • A whole folder can be copied in one action, including its subfolders, which is quicker than copying each file separately.

Levels

  • Level 0 (0 marks): No rewardable content.
  • Level 1 (1–2 marks): Basic, independent points are made, showing elements of understanding of key concepts/principles of computer science. (AO1) The discussion will contain basic information with little linkage between points made or application to the context. (AO2)
  • Level 2 (3–4 marks): Demonstrates adequate understanding of key concepts/principles of computer science. (AO1) The discussion shows some linkages and lines of reasoning with some structure and application to the context. (AO2)
  • Level 3 (5–6 marks): Demonstrates comprehensive understanding of key concepts/principles of computer science to support the discussion being presented. (AO1) The discussion is well developed, with sustained lines of reasoning that are coherent and logically structured, and which clearly apply to the context. (AO2)

Level 3 responses must cover saving, deleting and copying.

Do not accept answers about the processor or defragmentation as file management tasks.

Example answers and how they were marked
Full marks6/6

When the student saves a file, the operating system lets them pick the folder and name, and it warns before a file with the same name is overwritten, so an earlier essay is not lost. Because the laptop is nearly full, the student can delete photographs they no longer need; these go to the recycle bin at first, so a file removed by mistake can be restored, and emptying the bin releases the space for good. The student can also copy their school work to a USB flash drive, which leaves the original on the laptop and gives a backup if the laptop is damaged.

Why: Saving (choice of folder and name, overwrite warning), deleting (recycle bin, restoring, releasing space) and copying (backup on a USB drive, original kept) are all explained and tied to the student's full laptop.

Some marks3/6

The student can save files into folders so they know where they are. They can delete files they do not need to free up space. They can copy files onto a memory stick.

Why: Three tasks are named with a reason for deleting, but saving and copying are not developed and there is little linkage between the points, so Level 2.

No marks0/6

The operating system saves files automatically and deletes old files when the RAM is full. The processor copies the files to the hard disk.

Why: No creditworthy point: files are not saved automatically, RAM filling does not trigger file deletion, and copying is not done by the processor. Typical confusion between file management and memory or processor management.

Keep practising File Management

More exam questions on 3.2 Software

Teachers: print these as a worksheet with the mark schemes at the end, and sign your school up to set your classes activities on File Management.

Fetch Decode Explain isn't affiliated with or endorsed by Pearson Edexcel.