1. The fundamental purpose of file management is:
Correct Answer: b) Organizing data on storage devices
Explanation: File management systems provide structured organization, naming, storage, retrieval, and protection of data on persistent storage devices.
2. A file extension typically indicates:
Correct Answer: b) File type
Explanation: File extensions (like .txt, .jpg) help identify the file format and what programs can open it, though they don't guarantee the actual content type.
3. Which is NOT a file attribute?
Correct Answer: c) Priority
Explanation: Standard file attributes include name, size, type, location, protection, time/date (creation, modification), but not priority which is a process attribute.
4. Random access is supported by:
Correct Answer: b) Hard disk
Explanation: Hard disks support direct access to any block, while tapes are sequential-access devices requiring linear traversal to reach specific data.
5. Sequential access is most suitable for:
Correct Answer: b) Log files
Explanation: Log files are typically written and read sequentially (append-only), making sequential access ideal. Databases require random access for efficient queries.
6. Indexed allocation uses:
Correct Answer: c) Index blocks
Explanation: Indexed allocation stores pointers to all file blocks in a dedicated index block, allowing both sequential and direct access without external fragmentation.
7. A single-level directory has:
Correct Answer: a) No subdirectories
Explanation: Single-level directory systems have all files in one directory with no hierarchy, leading to naming conflicts and poor organization as files increase.
8. Absolute pathnames specify:
Correct Answer: b) Full path from root
Explanation: Absolute paths (like /home/user/file.txt) start from the root directory, while relative paths are specified from the current working directory.
9. Acyclic graph directories allow:
Correct Answer: b) File sharing
Explanation: Acyclic graph structures permit multiple directory entries (links) to reference the same file, enabling sharing while preventing infinite loops.
10. Mounting makes a file system:
Correct Answer: b) Available at a directory
Explanation: Mounting attaches a file system to the directory tree at a specified mount point, making its contents accessible through that directory path.
11. NFS enables:
Correct Answer: b) Network file sharing
Explanation: The Network File System (NFS) protocol allows remote file systems to be accessed over a network as if they were local.