2. What is a directory in the context of file management?
· A. A place where files are stored temporarily.
· B. A file that contains a list of commands.
· C. A collection of files or other directories.
· D. A type of file format.
3. Which of the following file allocation methods allows files to be stored in non-
contiguous clusters on the disk?
· A. Contiguous Allocation
· B. Linked Allocation
· C. Indexed Allocation
· D. Both B and C are correct.
4. What is a file descriptor?
· A. A unique identifier for a file that is being accessed.
· B. A special kind of file that contains settings for the operating system.
· C. A part of the file name.
· D. A protocol used to encrypt files.
5. In UNIX, what command is used to create a directory?
· A. ls
· B. mkdir
· C. touch
· D. cd
6. What is the purpose of a file extension?
· A. To indicate the file format or type.
· B. To increase the file size.
· C. To encrypt the file.
· D. To assign a unique identifier to each file
7. Which file system attribute indicates whether a file is hidden or not?
· A. Read-only
· B. System
· C. Archive
· D. Hidden
8. What does the FAT in FAT32 stand for?
· A. File Allocation Table
· B. File Access Time
· C. File Array Type
· D. File Allocation Type
9. In a hierarchical file system, which of the following paths is an absolute path?
· A. ./documents/report.txt
· B. /users/john/documents/report.txt
· C. documents/report.txt
· D. ../../report.txt
10. What is fragmentation in the context of file management?
· A. The process of splitting a file into smaller parts to be stored in different locations on
the disk.
· B. The deletion of files from the system.
· C. The process of creating a file system.
· D. The act of compressing files to save space.
11. Which command in Linux is used to list the contents of a directory?
· A. ls
· B. cd
· C. mkdir
· D. rm
12. What is the main advantage of the NTFS file system over FAT32?
· A. It supports larger files.
· B. It does not support directories.
· C. It uses less disk space.
· D. It is less secure.
13. In file management, what does the term 'inode' refer to?
· A. A network node that contains files.
· B. A data structure on a file system that stores file attributes.
· C. An input/output node for file transfer.
· D. An index node in a database.
14. What mechanism does a journaling file system use to help prevent data
corruption in the event of a power failure?
· A. Encryption
· B. Compression
· C. Logging changes before they are committed to the file system.
· D. Storing multiple copies of data.
15. What is a file in an operating system?
· A. A collection of data or information that has a name, called the filename.
· B. The physical hardware that stores data.
· C. A type of operating system.
· D. A protocol for transferring files over the internet.