Question : Which of the following statements is correct regarding file size attribute?
Solution :
Correct Answer : It represents storage occupied in bytes
Description -
Question : Which combination of attributes is mainly used for tracking file usage and modification history?
Solution :
Correct Answer : Time, Date, and User Identification
Description -
Question : What does the “location” attribute of a file specify?
Solution :
Correct Answer : Path or address of the file in storage
Description -
Question : Which attribute of a file is primarily responsible for controlling access rights like read, write, and execute?
Solution :
Correct Answer : Protection
Description -
Question : Which of the following file attributes is NOT directly visible to users but used internally by the operating system?
Solution :
Correct Answer : Identifier
Description -
Question : Which operation is specifically used to add data at the end of an existing file without overwriting existing content?
Solution :
Correct Answer : Append
Description -
Question : During a write operation, what happens to the file pointer?
Solution :
Correct Answer : It moves to the last byte written
Description -
Question : What is the key difference between delete and truncate operations?
Solution :
Correct Answer : Delete removes file completely, truncate removes only content
Description -
Question : Which of the following operations moves the file pointer to a specific location within a file?
Solution :
Correct Answer : Seek
Description -
Question : Which file operation ensures that all changes made to a file are saved and system resources are released?
Solution :
Correct Answer : Close
Description -
Question : Which statement about indexed sequential access is correct?
Solution :
Correct Answer : It combines sequential and direct access using an index
Description -
Question : Which operation is NOT typically associated with direct access method?
Solution :
Correct Answer : Read next
Description -
Question : What is the main drawback of indexed access method?
Solution :
Correct Answer : Additional storage overhead for maintaining index
Description -
Question : In which scenario is direct access method most appropriate?
Solution :
Correct Answer : Retrieving a specific record from a large database
Description -
Question : Which of the following statements correctly differentiates sequential access from direct access?
Solution :
Correct Answer : Sequential access processes data in linear order, while direct access allows random block access
Description -
Question : Which operation involves scanning directory entries to display file names, sizes, and metadata?
Solution :
Correct Answer : Directory listing
Description -
Question : What is the main disadvantage of a general graph directory structure?
Solution :
Correct Answer : Possibility of infinite loops during traversal
Description -
Question : Which implementation technique improves directory search performance by mapping filenames to directory entries using a function?
Solution :
Correct Answer : Hash table
Description -
Question : In a two-level directory structure, which of the following limitations exists?
Solution :
Correct Answer : Users cannot create subdirectories inside their own directory
Description -
Question : Which of the following directory structures allows multiple paths to access the same file but does NOT allow cycles?
Solution :
Correct Answer : Acyclic graph directory
Description -