Why do computer files have extensions?
Show answer & explanation
Answer: Tell OS how to open files
Tell OS how to open files ✓ — Correct! File extensions (.pdf,.jpg,.exe,.txt) tell the operating system what type of file it is and which application should open it..docx = Word document,.mp4 = video,.py = Python code. Extensions are associated with programs—double-clicking a.pdf opens your PDF reader. Some systems hide extensions but still use them internally!
Make filenames longer — Wrong. Extensions don't exist to lengthen names. They indicate file type, telling the operating system which application should open the file.
Track file creation dates — Wrong. Extensions indicate file type/format, not dates. Metadata stores creation/modification times separately from the filename.
More Technology questions
- Why can a satellite redness index flag rusting Arctic rivers but not identify chemically hazardous streams?
- A service publishes a fresh random number every minute, plus a public log in which each entry carries a fingerprint of the entry before it. What does that chaining add?
- Why can a wall of lava lamps used as a camera feed improve encryption even though the cryptographic software that consumes it is deterministic?
- Why can an attacker who learns a pseudorandom generator's seed and algorithm reconstruct later outputs?
- Why is a physical noise source secure against an attacker who knows the code, unlike a phone game shuffle?
- Why do quiet EVs need alert sounds at parking-lot speeds before tire noise becomes audible?