solution - Operating System : File Management (Test 1)

Question : Which of the following statements is correct regarding file size attribute?

Solution :
268520260321073820 Correct Answer : It represents storage occupied in bytes

Description -

Operating System : File Management (Test 1)

Question : Which combination of attributes is mainly used for tracking file usage and modification history?

Solution :
25820260321073723 Correct Answer : Time, Date, and User Identification

Description -

Operating System : File Management (Test 1)

Question : What does the “location” attribute of a file specify?

Solution :
283320260321073613 Correct Answer : Path or address of the file in storage

Description -

Operating System : File Management (Test 1)

Question : Which attribute of a file is primarily responsible for controlling access rights like read, write, and execute?

Solution :
692920260321073514 Correct Answer : Protection

Description -

Operating System : File Management (Test 1)

Question : Which of the following file attributes is NOT directly visible to users but used internally by the operating system?

Solution :
510220260321073421 Correct Answer : Identifier

Description -

Operating System : File Management (Test 1)

Question : Which operation is specifically used to add data at the end of an existing file without overwriting existing content?

Solution :
520720260321073228 Correct Answer : Append

Description -

Operating System : File Management (Test 1)

Question : During a write operation, what happens to the file pointer?

Solution :
805020260321073137 Correct Answer : It moves to the last byte written

Description -

Operating System : File Management (Test 1)

Question : What is the key difference between delete and truncate operations?

Solution :
410920260321072958 Correct Answer : Delete removes file completely, truncate removes only content

Description -

Operating System : File Management (Test 1)

Question : Which of the following operations moves the file pointer to a specific location within a file?

Solution :
434720260321072858 Correct Answer : Seek

Description -

Operating System : File Management (Test 1)

Question : Which file operation ensures that all changes made to a file are saved and system resources are released?

Solution :
877320260321072806 Correct Answer : Close

Description -

Operating System : File Management (Test 1)

Question : Which statement about indexed sequential access is correct?

Solution :
407220260321072617 Correct Answer : It combines sequential and direct access using an index

Description -

Operating System : File Management (Test 1)

Question : Which operation is NOT typically associated with direct access method?

Solution :
730620260321072536 Correct Answer : Read next

Description -

Operating System : File Management (Test 1)

Question : What is the main drawback of indexed access method?

Solution :
893620260321072439 Correct Answer : Additional storage overhead for maintaining index

Description -

Operating System : File Management (Test 1)

Question : In which scenario is direct access method most appropriate?

Solution :
734420260321072340 Correct Answer : Retrieving a specific record from a large database

Description -

Operating System : File Management (Test 1)

Question : Which of the following statements correctly differentiates sequential access from direct access?

Solution :
416320260321072243 Correct Answer : Sequential access processes data in linear order, while direct access allows random block access

Description -

Operating System : File Management (Test 1)

Question : Which operation involves scanning directory entries to display file names, sizes, and metadata?

Solution :
132420260321072057 Correct Answer : Directory listing

Description -

Operating System : File Management (Test 1)

Question : What is the main disadvantage of a general graph directory structure?

Solution :
435420260321072003 Correct Answer : Possibility of infinite loops during traversal

Description -

Operating System : File Management (Test 1)

Question : Which implementation technique improves directory search performance by mapping filenames to directory entries using a function?

Solution :
96720260321071906 Correct Answer : Hash table

Description -

Operating System : File Management (Test 1)

Question : In a two-level directory structure, which of the following limitations exists?

Solution :
91320260321071805 Correct Answer : Users cannot create subdirectories inside their own directory

Description -

Operating System : File Management (Test 1)

Question : Which of the following directory structures allows multiple paths to access the same file but does NOT allow cycles?

Solution :
374220260321071514 Correct Answer : Acyclic graph directory

Description -

Operating System : File Management (Test 1)