solution - Operating System : File Management (Test 3)

Question : In a layered file system architecture, which layer is responsible for interacting with device drivers and handling physical storage operations?

Solution :
315320260321085127 Correct Answer : Physical file system

Description -

Operating System : File Management (Test 3)

Question : Which of the following statements about file systems is TRUE?

Solution :
354120260321085040 Correct Answer : File systems organize files in a hierarchical structure

Description -

Operating System : File Management (Test 3)

Question : What is the main purpose of mounting in a file system?

Solution :
258320260321084947 Correct Answer : To attach a storage device to the OS and make it accessible

Description -

Operating System : File Management (Test 3)

Question : Which file allocation method allows faster sequential access but suffers from external fragmentation?

Solution :
415220260321084612 Correct Answer : Contiguous allocation

Description -

Operating System : File Management (Test 3)

Question : Which of the following best describes the role of metadata in a file system?

Solution :
243920260321084521 Correct Answer : It provides information like file name, size, permissions, and timestamps

Description -

Operating System : File Management (Test 3)

Question : Which statement is TRUE regarding layered file system design?

Solution :
330220260321084413 Correct Answer : Each layer performs a specific function and passes data between layers

Description -

Operating System : File Management (Test 3)

Question : In file system structure, which component directly interacts with hardware through device drivers?

Solution :
21920260321084331 Correct Answer : I/O Control

Description -

Operating System : File Management (Test 3)

Question : Which of the following correctly describes the role of the Basic File System layer?

Solution :
752520260321084239 Correct Answer : Issues commands to I/O control for block access

Description -

Operating System : File Management (Test 3)

Question : The mapping of logical blocks to physical disk blocks is performed by which component?

Solution :
861820260321084150 Correct Answer : File Organization Module

Description -

Operating System : File Management (Test 3)

Question : Which layer of the file system is responsible for managing metadata and directory structure?

Solution :
854320260321084019 Correct Answer : Logical File System

Description -

Operating System : File Management (Test 3)

Question : Which of the following happens if the MBR gets corrupted?

Solution :
678620260321083614 Correct Answer : System may fail to boot

Description -

Operating System : File Management (Test 3)

Question : Why is MBR considered outdated for modern systems?

Solution :
194220260321083510 Correct Answer : It has a storage limitation of around 2 TB

Description -

Operating System : File Management (Test 3)

Question : What is the maximum number of primary partitions supported by MBR?

Solution :
217620260321083416 Correct Answer : 4

Description -

Operating System : File Management (Test 3)

Question : What is the primary role of the MBR during system boot?

Solution :
498920260321083338 Correct Answer : To load and transfer control to the OS bootloader

Description -

Operating System : File Management (Test 3)

Question : Which of the following correctly describes the structure of an MBR?

Solution :
52020260321083238 Correct Answer : 512 bytes: 446 bytes boot code, 64 bytes partition table, 2 bytes signature

Description -

Operating System : File Management (Test 3)

Question : In NTFS, the information equivalent to File Control Block (FCB) is primarily stored in:

Solution :
576520260321083024 Correct Answer : Master File Table (MFT)

Description -

Operating System : File Management (Test 3)

Question : Which of the following is NOT typically stored in a File Control Block (FCB)?

Solution :
296820260321082921 Correct Answer : Disk free space list

Description -

Operating System : File Management (Test 3)

Question : Which structure maps file names to their corresponding metadata structures (like FCB/inode)?

Solution :
891420260321082834 Correct Answer : Directory Structure

Description -

Operating System : File Management (Test 3)

Question : In UNIX file systems, the Volume Control Block is commonly referred to as:

Solution :
417920260321082744 Correct Answer : Superblock

Description -

Operating System : File Management (Test 3)

Question : Which of the following correctly describes the Boot Control Block?

Solution :
159520260321082659 Correct Answer : Contains information required to boot the OS from a volume

Description -

Operating System : File Management (Test 3)

Question : Which of the following is a key challenge of using in-memory data structures?

Solution :
883420260321082527 Correct Answer : Limited memory capacity (RAM constraints)

Description -

Operating System : File Management (Test 3)

Question : What is the main role of an in-memory queue in OS or system design?

Solution :
192920260321082447 Correct Answer : Temporary storage for fast communication between processes

Description -

Operating System : File Management (Test 3)

Question : In operating systems, Virtual Memory Areas (VMAs) are primarily used to:

Solution :
215020260321082358 Correct Answer : Manage segments of a process’s virtual address space

Description -

Operating System : File Management (Test 3)

Question : Which data structure is specifically optimized for main-memory databases rather than disk-based systems?

Solution :
722520260321082304 Correct Answer : T-tree

Description -

Operating System : File Management (Test 3)

Question : Which of the following best explains why in-memory data structures improve system performance?

Solution :
178920260321082200 Correct Answer : They store data in RAM instead of disk, reducing access time

Description -

Operating System : File Management (Test 3)

Question : Why might a hash table directory implementation still require traversal of a linked list?

Solution :
408120260321081944 Correct Answer : Due to collision handling using chaining

Description -

Operating System : File Management (Test 3)

Question : What problem may arise in hash table directory implementation when multiple file names map to the same index?

Solution :
165920260321081857 Correct Answer : Collision

Description -

Operating System : File Management (Test 3)

Question : Which statement correctly differentiates linear list and hash table directory implementations?

Solution :
865520260321081803 Correct Answer : Hash table reduces search time compared to linear list

Description -

Operating System : File Management (Test 3)

Question : In a hash table directory implementation, what does the key typically represent?

Solution :
957520260321081706 Correct Answer : File name hashed value

Description -

Operating System : File Management (Test 3)

Question : Which of the following is the primary disadvantage of the linear list directory implementation?

Solution :
752520260321081623 Correct Answer : Requires traversal of entire list for operations

Description -

Operating System : File Management (Test 3)