file structure · The manner in which data and other objects are organized within a file. · The manner in which files are organized in a system
Define file structure?
contigues allocation
Which allocation scheme would work best for a file system implemented on a device that can only be accessed sequentially, a tape drive, for instance?
a) they are split into one or more partitions
b) information about files is added to each partition
c) they are made on different storage spaces
d) all of the mentioned
ans: b
This set of Operating System Multiple Choice Questions & Answers (MCQs) focuses on “File System Interface Directory Structure – 1”.
a) symbol table
b) partition
c) swap space
d) cache
Ans: a
The directory can be viewed as a _________ that translates file names into their directory entries.
each user has his/her own user file directory
What will happen in the two level directory structure?
a) system MFD is searched
b) his own UFD is not searched
c) both MFD and UFD are searched
d) every directory is searched
Ans> c
When a user refers to a particular file?
a) it does not solve the name collision problem
b) it solves the name collision problem
c) it does not isolate users from one another
d) it isolates users from one another
Ans:d
What is the disadvantage of the two level directory structure?
a) the tree has the stem directory
b) the tree has the leaf directory
c) the tree has the root directory
d) all of the mentioned
Ans:d
In the tree structured directories _____________
a) of current interest to the user
b) stored currently in the system
c) not used in the system
d) not of current interest to the system
Ans: a
The current directory contains, most of the files that are _____________
a) absolute & relative
b) local & global
c) global & relative
d) relative & local
Ans: a
Which of the following are the types of Path names?
1. ______ is a unique tag, usually a number identifies the file within the file system.
a) File identifier
b) File name
c) File type
d) None of the mentioned
Ans: a
To create a file ____________
a) allocate the space in file system
b) make an entry for new file in directory
c) allocate the space in file system & make an entry for new file in directory
d) none of the mentioned
Ans c
By using the specific system call, we can ____________
a) open the file
b) read the file
c) write into the file
d) all of the mentioned
Ans :d
File type can be represented by ____________
a) file name
b) file extension
c) file identifier
d) none of the mentioned
Ans b
Which file is a sequence of bytes organized into blocks understandable by the system’s linker?
a) object file
b) source file
c) executable file
d) text file
Ans b