← Back to 11. File System Interface

πŸ“ File attributes concepts

πŸ“– From Operating System β€’ 11. File System Interface β€’ 12 questions available

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

πŸ”„ Last updated: 2026-07-26

3
Easy Questions
5
Medium Questions
4
Hard Questions

πŸ“ Sample Questions

Q1. What is a file attribute?

πŸ”Ή A. A property that describes a file's contents
πŸ”Ή B. A property that describes a file's name
πŸ”Ή C. A property that describes a file's metadata
πŸ”Ή D. A property that describes a file's location

πŸ’‘ Difficulty: easy | βœ… Correct: C

Q2. A developer needs to ensure a log file cannot be deleted by normal users but must still be writable by the application. Which attribute combination is most appropriate?

πŸ”Ή A. Read‑only and hidden
πŸ”Ή B. System and archive
πŸ”Ή C. Hidden and archive
πŸ”Ή D. System and read‑only

πŸ’‘ Difficulty: medium | βœ… Correct: D

Q3. A program writes to a file that has the archive attribute cleared. After the write, the attribute becomes set. What purpose does this behavior serve?

πŸ”Ή A. It signals that the file has been modified and needs backup
πŸ”Ή B. It encrypts the newly written data
πŸ”Ή C. It changes the file type to executable
πŸ”Ή D. It hides the file from normal users

πŸ’‘ Difficulty: hard | βœ… Correct: A

⬆️ View all questions in the quiz below

πŸ”— Related Topics

πŸ“ File operations conceptsπŸ“ How many File types in file systemπŸ“ File structure in file systemπŸ“ Internal file structureπŸ“ Sequential file access Method
πŸš€ Start Quiz πŸ“ Practice Mode