solution - Operating System : File Management (Test 2)

Question : Which of the following problems is NOT directly associated with single-level directories?

Solution :
638520260321080553 Correct Answer : Path traversal complexity

Description -

Operating System : File Management (Test 2)

Question : Which scenario best justifies the use of a single-level directory?

Solution :
389820260321080453 Correct Answer : Small system with limited number of files

Description -

Operating System : File Management (Test 2)

Question : Why does file searching become inefficient in a single-level directory when the number of files increases?

Solution :
313320260321080357 Correct Answer : All files are stored in one directory without categorization

Description -

Operating System : File Management (Test 2)

Question : Which of the following is the major limitation of a single-level directory in a multi-user system?

Solution :
261920260321080306 Correct Answer : Naming conflicts among users

Description -

Operating System : File Management (Test 2)

Question : In a single-level directory structure, which of the following is a mandatory constraint?

Solution :
58520260321080215 Correct Answer : Each file must have a unique name

Description -

Operating System : File Management (Test 2)

Question : Why is searching faster in a two-level directory compared to a single-level directory?

Solution :
815620260321080100 Correct Answer : Only one user’s directory needs to be searched

Description -

Operating System : File Management (Test 2)

Question : Which of the following is a major disadvantage of a two-level directory?

Solution :
402220260321080021 Correct Answer : Lack of file sharing between users

Description -

Operating System : File Management (Test 2)

Question : In a two-level directory system, the pathname of a file is typically:

Solution :
124420260321075925 Correct Answer : /user-name/file-name

Description -

Operating System : File Management (Test 2)

Question : Which of the following is NOT a feature of a two-level directory system?

Solution :
772420260321075828 Correct Answer : Ability to create subdirectories inside UFD

Description -

Operating System : File Management (Test 2)

Question : In a two-level directory structure, the Master File Directory (MFD) primarily stores:

Solution :
84220260321075741 Correct Answer : Entries of user directories

Description -

Operating System : File Management (Test 2)

Question : Which of the following correctly describes access control in a tree-structured directory?

Solution :
482220260321075542 Correct Answer : Permissions like read, write, execute are assigned to users

Description -

Operating System : File Management (Test 2)

Question : In a tree-structured directory, the current working directory (CWD) is used to:

Solution :
107820260321075440 Correct Answer : Define relative paths

Description -

Operating System : File Management (Test 2)

Question : Which limitation still exists in a tree-structured directory system?

Solution :
307120260321075358 Correct Answer : Difficulty in sharing files across directories

Description -

Operating System : File Management (Test 2)

Question : Which feature of tree-structured directories improves search efficiency?

Solution :
712120260321075248 Correct Answer : Hierarchical grouping of files

Description -

Operating System : File Management (Test 2)

Question : In a tree-structured directory, which of the following best describes an absolute path?

Solution :
828120260321075200 Correct Answer : Path starting from root directory

Description -

Operating System : File Management (Test 2)

Question : Which statement best differentiates acyclic graph directories from tree-structured directories?

Solution :
220720260321075000 Correct Answer : Acyclic allows multiple paths to same file, tree does not

Description -

Operating System : File Management (Test 2)

Question : Which of the following problems is associated with acyclic-graph directory structures?

Solution :
786520260321074908 Correct Answer : Multiple path names (aliasing problem)

Description -

Operating System : File Management (Test 2)

Question : In case of a hard link in an acyclic graph directory, when is the actual file deleted?

Solution :
319920260321074819 Correct Answer : When all references (links) are removed

Description -

Operating System : File Management (Test 2)

Question : What is the primary reason for restricting cycles in an acyclic-graph directory?

Solution :
241620260321074719 Correct Answer : To prevent infinite traversal loops

Description -

Operating System : File Management (Test 2)

Question : In an acyclic-graph directory structure, which of the following statements is correct?

Solution :
407320260321074623 Correct Answer : A file can have multiple parent directories through links

Description -

Operating System : File Management (Test 2)