← Back to 11. File System Interface

📝 File Directory overview

📖 From Operating System • 11. File System Interface • 15 questions available

Practice MCQs for File Directory overview. Test your knowledge with carefully crafted questions across easy, medium, and hard difficulty levels.

🔄 Last updated: 2026-07-26

2
Easy Questions
7
Medium Questions
6
Hard Questions

📝 Sample Questions

Q1. Which extension represents a shell script on Unix-like systems?

🔹 A. .bat
🔹 B. .sh
🔹 C. .exe
🔹 D. .py

💡 Difficulty: easy | ✅ Correct: B

Q2. Why do operating systems rely on file extensions to determine file type?

🔹 A. To enforce security policies
🔹 B. To provide hints for applications
🔹 C. To compress files automatically
🔹 D. To encrypt data

💡 Difficulty: medium | ✅ Correct: B

Q3. Why are compound extensions like .tar.gz used, and how does the OS process them?

🔹 A. They indicate a file is both an archive and compressed; the OS first decompresses then extracts
🔹 B. They are decorative and have no functional impact
🔹 C. They tell the OS to encrypt the file
🔹 D. They cause the OS to ignore the file

💡 Difficulty: hard | ✅ Correct: A

⬆️ View all questions in the quiz below

🔗 Related Topics

📝 File attributes concepts📝 File operations concepts📝 How many File types in file system📝 File structure in file system📝 Internal file structure
🚀 Start Quiz 📝 Practice Mode