GCSE · Computer Science · OCR · Spec J277

Operating system: file management

You typed for an hour, closed the laptop, and now you can't find the file. Who decided where it went? The operating system.

Computing · Operating systems

Follow a file from the storage device down to its name

Level 1 of 5: Secondary storage

Predict first

There could be thousands of files on the storage. How does the OS keep them easy to organise and find?

  • Frames are not drawn to scale.
  1. Files live on secondary storage, and the operating system controls how they are stored there. A computer can hold a huge number of files, so they need organising or nothing could be found.

    • File management is the OS function that controls how files are stored.

Computing · File names

What do you think a file name does?

Maya has a picture called holiday.jpg in her Photos folder.

Which of these is closest to what you think?
How sure are you?

Exam line: The name identifies the file; the extension shows its type and which application opens it.

Computing · File operations

What does each file operation actually do?

Tick every effect that each operation has, then check.

Rename
Move
Copy
Open
Delete

Exam line: Move changes where the file is and leaves one copy. Copy leaves the original and adds another.

Saving

?

Reason it through

Why does saving stop your work from vanishing when the power goes off?

Link 1 of 4

First link · your turn

While you are typing, where is your work being held?

2
Locked — reveal the link above first
3
Locked — reveal the link above first
4
Locked — reveal the link above first

Computing · OS functions

Which OS function is doing the work?

Sort each situation into the OS function that handles it.

Still to sort

File management (0)

Controlling how files are stored

Where the line is: It organises and stores files. It does not decide which user may open them.

Security (user) management (0)

Different users, different access rights

Where the line is: It decides what each user profile may reach, including which files.

User interface (0)

How you give the computer instructions and see results

Memory management and multitasking (0)

Sharing memory between programs running together

Peripheral management and drivers (0)

Working with connected devices

8 of 8 still to sort.

Exam line: Say which function is at work: file management controls how files are stored; deciding who may open them is security (user) management.

Computing · Your turn

Describe it in your own words

Describe the file management function of an operating system. Give two features and say what the OS does for each. [5 marks]

0 words · your answer stays on this page and is not sent anywhere.

Exam line: Name the feature, then say what the OS does for it.

WHAT YOU'VE LEARNED

A quick recap of today's lesson.

How the operating system keeps track of every file you save, and why you can find it again

What you need to know

  • An operating system (OS) is the main software that manages the computer's hardware and lets other software run.
  • File management is one of the OS's jobs: it controls how files are stored.
  • Naming: a file gets a name so it can be identified and found again, and two files in the same folder can't share one.
  • Have a goZane swears he has two files called maths.docx sitting in the same folder. His laptop is not impressed. What's the problem?

    Two files in the same folder can't share a name, so the second one can't be stored there under that name.

    A name is how the file is identified and found again, so within one folder each name is used once.

  • A file name usually ends in an extension, such as .docx or .jpg, which shows the file type and which application opens it.
  • Folders (directories) can hold subfolders, which gives a hierarchical (tree) structure. A file's path is its route through those folders.
  • Have a goA file's path is School / Art / Posters / cover.png. Which folder holds the file directly?

    Posters

    A path lists the folders from the outside in, so the last folder before the file is the one that holds it directly.

  • Moving a file changes where it is stored and copying adds another one. Either way the contents stay the same.
  • Saving writes data from RAM to secondary storage, and the OS records where each file is stored so it can be opened again.
  • Have a goAisha has typed 800 words but hasn't pressed save when the power cuts out. Where was her work being held, and why is it at risk?

    In RAM. Saving is what writes it to secondary storage, where it is kept when the power is off.

    Only the save writes the data from RAM to secondary storage, so work that was never saved has nowhere safe to be.

  • Opening, editing, copying and deleting are file operations the OS provides too.
  • Security management is a separate function: it gives different users different access rights and file storage.

The big picture

File management is the operating system function that controls how files are stored. It gives each file a name, places files in a tree of folders so the path to a file shows where it is, moves and copies files, and saves them from RAM to secondary storage while recording where they went.

Key points

1File management is the OS function that controls how files are stored.
2Its key features include naming, allocating files to folders, moving files and saving.
3A file name has an extension that shows the file type and which application opens it; names are unique within a folder.
4Folders and subfolders form a hierarchy, and a file's path is its location through the folders.
5Moving changes where a file is stored; copying leaves the original and adds another copy.
6Saving writes data from RAM to secondary storage and the OS records where the file is stored.
7Access rights for different users belong to security (user) management.

Worked example

Problem

Priya has a file maths-notes.docx in the folder Documents / Maths. She wants it in a new folder, Documents / Revision, with nothing left behind in Maths. She also wants a backup of it in Documents / Backup. Describe what the OS does and where the file ends up.

⚠ Watch out

Saying file management is 'what the hard drive does' or 'what the application does'. The storage device only holds data. The OS controls how files are stored: naming, folders, moving, saving and recording where each file is.

🧠

Memory hook

Name it, file it, find it, save it. The OS does all four so that 'where did I put that?' always has an answer.

✓

Check yourself

Without looking back: name two features of file management and say what the OS does for each one.

Flashcards

(12)
What is an operating system?
The main software that manages the computer's hardware and lets other software run. It is system software and acts as the bridge between the hardware and the software.
What does the file management function do?
It controls how files are stored. Its features include naming, allocating files to folders, moving files and saving.
Why does the OS give a file a name?
So the file can be identified and found again. The name can be changed (renamed).
What does a file extension such as .docx or .jpg show?
The file type, and which application opens the file.
Can two files in the same folder have the same name?
No. Names must be unique within a folder.
What is a subfolder?
A folder inside another folder. Folders and subfolders form a hierarchical (tree) structure.
What is a file's path?
Its route through the folders to the file, such as School / Computing / report.docx. It identifies the file's location.
Moving or copying a file: what is the difference?
Moving changes where the file is stored, so it is in the new place and not the old one. Copying leaves the original and makes another. Contents are kept either way.
What happens in the OS when you save a file?
It writes the data from main memory (RAM) to secondary storage, and records where the file is stored so it can be found and opened later.
Why is unsaved work lost in a power cut?
It is only in RAM, and it has not been written to secondary storage, which keeps data when the power is off.
Name three other file operations the OS provides.
Any three of: opening, editing, copying, deleting.
Which OS function lets some users be blocked from some files?
Security (user) management: different users get different access rights and file storage, set up on their user profile.

Tap any card to flip it, or use Study as deck to go through them one at a time. In the full lesson these run as a spaced-repetition deck — you rate each card Hard, Good or Easy and the tricky ones keep coming back until they stick.

Learning with Lightbulb is opening soon

You can use this lesson now. Join the waitlist and we'll let you know when the full Lightbulb experience is ready.

Keep me posted

More OCR GCSE Computer Science topics

See the full OCR Computer Science curriculum →

How this lesson was checked. This OCR GCSE Computer Science (specification J277)lesson was published through Lightbulb Learning's human-designed editorial process — the educational standards, accuracy rules and publication checks it must pass were authored and approved by Philip Halpin. It passed subject-specific assessment, automated educational checks and technical publication verification before going live (publication checks completed 24 November 2026). Published pages are monitored, human spot-checking is ongoing across the lesson library, and anything found wrong is corrected or withdrawn. How our lessons are made and checked. Spotted a mistake? Email hello@lightbulblearning.co and we'll review it.