Chapter 1 · Operating Systems: Structure and Services
1.7File System Structure and Management
How the operating system stores and organizes your data using files, folders, metadata and file systems like NTFS and FAT 32.
Written and checked by Muhammad Raheel(opens in a new tab)
Full Stack Developer · AI Engineer · Reviewed 6 Oct 2026 · 2 min read
On this page
An operating system does more than run programs. It also stores and organizes your data. Your computer may hold thousands of files. The OS keeps all of them organized, safe and easy to find. The part of the OS that does this is the file system.
Files
Everything you save on a computer is kept as a file. A file can hold text, a picture, a song, a video or even the instructions of a program.
Folders
Folders group related files together. A folder can also hold other folders inside it. This builds a tree, so you can find things quickly.
Metadata
Metadata is "data about data". It tells you about a file without opening it. When you right-click a file and open its properties, you see its metadata.
Both you and the OS use metadata. It helps to identify and manage files and folders quickly.
File Systems
A file system is the set of rules the OS uses to store files on a drive. It decides where each file goes. It also remembers that location, so the file can be found again later.
Different operating systems use different file systems. The book names these four:
| File system | Where it is used |
|---|---|
| FAT 32 | USB flash drives |
| NTFS | Windows OS |
| APFS / HFS+ | macOS |
| EXT4 | Linux OS |
The file system you choose affects three things: performance (speed), storage capacity and security features.
Practice this topic
Short questions
1.What is the role of a file system?2 marks
Answer
From the book: "A file system is the way an operating system stores and organizes files on a storage device, such as a hard drive, SSD, or USB. It decides where each file will be kept and save its location so it can be access later." It "provides a structured way for users and applications to store, locate, and manage information on storage devices."
2.Define a file.2 marks
Answer
A file is a collection of related data stored on a computer. It may contain text, images, audio, video, or program instructions.
3.Define a folder.2 marks
Answer
A folder (also called a directory) is a container used to organize files and other folders in a logical structure, making it easier to locate and manage information.
4.Define metadata and give three examples of what it includes.3 marks
Answer
Metadata refers to details about a file, folder, such as its name, type, size, date of creation, and date of last modification. This information helps both the operating system and the user identify and manage files/ folders without opening them.
5.List four widely used file systems and the OS they belong to.4 marks
Answer
- FAT 32 - Used in USB flash drives
- NTFS - Used by Windows OS.
- APFS / HFS+ - Used by macOS.
- EXT4 - Commonly used by Linux OS.
6.What does the choice of file system affect?2 marks
Answer
The choice of file system affects performance, storage capacity, and security features.
7.Explain the librarian analogy from the book with one line.2 marks
Answer
If you save a photo on your computer, the file system makes sure it is stored in the right place and knows exactly where to find it when you open it again, just like a librarian placing a book in the right section and knowing where to locate it later.
Long questions
1.Define files, folders, and metadata. Explain how they work together in a file system, and illustrate with the book's librarian analogy.8 marks
Answer
Cover all four parts:
-
File (verbatim): "A file is a collection of related data stored on a computer. It may contain text, images, audio, video, or program instructions."
-
Folder (verbatim): "A folder (also called a directory) is a container used to organize files and other folders in a logical structure, making it easier to locate and manage information."
-
Metadata (verbatim): "Metadata refers to details about a file, folder, such as its name, type, size, date of creation, and date of last modification. This information helps both the operating system and the user identify and manage files/ folders without opening them."
-
Librarian analogy (verbatim): "If you save a photo on your computer, the file system makes sure it is stored in the right place and knows exactly where to find it when you open it again, just like a librarian placing a book in the right section and knowing where to locate it later."
Explain the relationship: files hold the actual data; folders organize files into a logical structure; metadata describes each file/folder so the OS and user can identify them without opening.
Aim for 200-300 words.
-
2.Define a file system. List four widely used file systems along with the operating systems they belong to. State what the choice of file system affects.8 marks
Answer
Cover three parts:
-
Definition (verbatim): "A file system is the way an operating system stores and organizes files on a storage device, such as a hard drive, SSD, or USB. It decides where each file will be kept and save its location so it can be access later."
-
Four widely used file systems (verbatim):
- FAT 32 - Used in USB flash drives
- NTFS - Used by Windows OS.
- APFS / HFS+ - Used by macOS.
- EXT4 - Commonly used by Linux OS.
-
What the choice affects (verbatim): "The choice of file system affects performance, storage capacity, and security features."
Aim for 200-300 words.
-