A file name extension is the group of characters after the last dot in a file name, such as .docx in 'essay.docx'. It tells the operating system and the user what kind of data the file contains and which program should open it. The link between an extension and a program is called a file association; you can change it with 'Open with' or in the default apps settings.
Key terms
- File name extension
- characters after the last dot showing the file type
- File association
- the link between an extension and a program
- Executable file
- a file that runs as a program (.exe, .apk)
- Double extension
- a trick such as file.jpg.exe
- Plain text (.txt)
- text with no formatting
- CSV
- comma-separated values, a simple table format
Summary
- Extensions show file type and the program that opens it.
- Show extensions to spot disguised malware like .pdf.exe.
- Renaming an extension does not convert the file.
In everyday life: Many Android users in Ethiopia install .apk files shared on Telegram, which can carry malware if they do not come from the official Play Store.
Check yourself
- What is a file association?
- Name two audio, two video and two image extensions.
- Why is 'report.docx.exe' suspicious?
Practice questions
1. Which file name extension usually belongs to a spreadsheet file?
- A. .mp3
- B. .xlsx
- C. .jpg
- D. .exe
Show answer
Answer: .xlsx
The extension tells the OS which program opens a file: .xlsx is an Excel workbook, .mp3 audio, .jpg image, .exe a program.
On WeLearn
The full lesson: reading notes, worked examples, class activities and the Unit 1 quiz
Study File Name Extensions on WeLearnTeach File Name Extensions 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.
