Everything a computer stores, from a letter to a song to a program, is kept as a file. A file is a named collection of related data saved on a storage device. Each file has a name, a size (measured in bytes, kilobytes, megabytes and so on), a type and a date when it was created or last changed. The computer itself only sees a long sequence of 0s and 1s; the name and type help people and programs make sense of it.
Key terms
- File
- a named collection of data stored on a device
- Folder (directory)
- a container for files and other folders
- Subfolder
- a folder inside another folder
- File extension
- the letters after the dot that show the file type
- Path
- the full address of a file, from the drive through its folders
- Byte
- the basic unit of file size
Summary
- A file is a named collection of data; a folder organises files.
- File names have a base name and an extension that shows the type.
- A path gives the exact location from drive to file.
In everyday life: A school record office that keeps student files in labelled drawers by grade and section is doing on paper what folders do on a computer.
Check yourself
- What is the difference between a file and a folder?
- Name four file extensions and the type of file each shows.
- Write a path for a file named budget.xlsx inside a folder Home on drive C:.
Practice questions
1. Which of these is a container used to group related files together?
- A. A file extension
- B. A folder
- C. A byte
- D. A shortcut key
Show answer
Answer: A folder
A folder (directory) holds files and other folders so related items can be kept together and found easily.
2. In the path C:\School\Grade9\notes.docx, what is 'Grade9'?
- A. The drive
- B. The file name
- C. A subfolder inside School
- D. The file extension
Show answer
Answer: A subfolder inside School
A path lists the drive, then each folder from the outside in, then the file. Grade9 sits inside School, so it is a subfolder.
On WeLearn
The full lesson: reading notes, worked examples, class activities and the Unit 1 quiz
Study Basics of Files and Folders on WeLearnTeach Basics of Files and Folders with WeLearn
We will bring a demo to your school: a lesson on your interactive TV, a virtual lab and a classroom game, with your own teachers.
