InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 101. |
When two users keep a subdirectory in their own directories, the structure being referred to is _____________(a) tree structure(b) cyclic graph directory structure(c) two level directory structure(d) acyclic graph directoryI had been asked this question in unit test.I would like to ask this question from File System Interface Directory Structure topic in portion File Systems and their Implementation of Operating System |
|
Answer» Correct answer is (d) acyclic GRAPH directory |
|
| 102. |
In a tree structure, when deleting a directory that is not empty?(a) The contents of the directory are safe(b) The contents of the directory are also deleted(c) contents of the directory are not deleted(d) none of the mentionedI got this question by my college director while I was bunking the class.My question is based upon File System Interface Directory Structure topic in chapter File Systems and their Implementation of Operating System |
|
Answer» Right ANSWER is (B) The contents of the DIRECTORY are also deleted |
|
| 103. |
A relative path name begins at the _____________(a) leaf(b) stem(c) current directory(d) rootI have been asked this question in a job interview.This question is from File System Interface Directory Structure in section File Systems and their Implementation of Operating System |
|
Answer» The CORRECT OPTION is (c) current directory |
|
| 104. |
An absolute path name begins at the _____________(a) leaf(b) stem(c) current directory(d) rootThis question was posed to me by my school principal while I was bunking the class.Question is from File System Interface Directory Structure topic in division File Systems and their Implementation of Operating System |
| Answer» | |
| 105. |
Which of the following are the types of Path names?(a) absolute & relative(b) local & global(c) global & relative(d) relative & localThis question was posed to me in an interview for internship.My enquiry is from File System Interface Directory Structure in section File Systems and their Implementation of Operating System |
|
Answer» RIGHT ANSWER is (a) ABSOLUTE & relative Explanation: NONE. |
|
| 106. |
The current directory contains, most of the files that are _____________(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 systemThis question was addressed to me in semester exam.My question is based upon File System Interface Directory Structure in section File Systems and their Implementation of Operating System |
|
Answer» RIGHT CHOICE is (a) of CURRENT interest to the user Easy explanation - NONE. |
|
| 107. |
In the tree structured directories _____________(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 mentionedThis question was posed to me in homework.My enquiry is from File System Interface Directory Structure in portion File Systems and their Implementation of Operating System |
|
Answer» Right ANSWER is (c) the TREE has the root directory |
|
| 108. |
What is the disadvantage of the two level directory structure?(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 anotherI had been asked this question by my college professor while I was bunking the class.My query is from File System Interface Directory Structure in section File Systems and their Implementation of Operating System |
|
Answer» Correct option is (d) it isolates users from one another |
|
| 109. |
When a user refers to a particular file?(a) system MFD is searched(b) his own UFD is not searched(c) both MFD and UFD are searched(d) every directory is searchedI had been asked this question during a job interview.The doubt is from File System Interface Directory Structure topic in section File Systems and their Implementation of Operating System |
|
Answer» The CORRECT answer is (C) both MFD and UFD are searched |
|
| 110. |
When a user job starts in a two level directory system, or a user logs in _____________(a) the users user file directory is searched(b) the system’s master file directory is not searched(c) the master file directory is indexed by user name or account number, and each entry points to the UFD for that user(d) all of the mentionedI got this question during an interview.My doubt is from File System Interface Directory Structure topic in division File Systems and their Implementation of Operating System |
|
Answer» Right ANSWER is (C) the master file directory is indexed by user name or account NUMBER, and each ENTRY points to the UFD for that user |
|
| 111. |
What will happen in the two level directory structure?(a) each user has his/her own user file directory(b) the system doesn’t its own master file directory(c) all of the mentioned(d) none of the mentionedThe question was posed to me during an interview.My question comes from File System Interface Directory Structure topic in section File Systems and their Implementation of Operating System |
|
Answer» CORRECT OPTION is (a) each USER has his/her own user file directory Best explanation: None. |
|
| 112. |
What will happen in the single level directory?(a) all directories must have unique names(b) all files must have unique names(c) all files must have unique owners(d) all of the mentionedThe question was asked in examination.Question is from File System Interface Directory Structure in section File Systems and their Implementation of Operating System |
|
Answer» Right CHOICE is (B) all FILES must have unique names |
|
| 113. |
What will happen in the single level directory?(a) All files are contained in different directories all at the same level(b) All files are contained in the same directory(c) Depends on the operating system(d) None of the mentionedThe question was posed to me in a national level competition.Query is from File System Interface Directory Structure topic in division File Systems and their Implementation of Operating System |
|
Answer» The CORRECT option is (b) All FILES are contained in the same directory |
|
| 114. |
The directory can be viewed as a _________ that translates file names into their directory entries.(a) symbol table(b) partition(c) swap space(d) cacheThis question was posed to me in class test.This key question is from File System Interface Directory Structure topic in portion File Systems and their Implementation of Operating System |
|
Answer» RIGHT ANSWER is (a) SYMBOL table Explanation: NONE. |
|
| 115. |
To organise file systems on disk _______________(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 mentionedI had been asked this question in exam.This intriguing question originated from File System Interface Directory Structure topic in chapter File Systems and their Implementation of Operating System |
|
Answer» The correct choice is (B) INFORMATION about files is added to each partition |
|
| 116. |
For large files, when the index itself becomes too large to be kept in memory?(a) index is called(b) an index is created for the index file(c) secondary index files are created(d) all of the mentionedI had been asked this question during an internship interview.This interesting question is from File System Interface Access Methods topic in section File Systems and their Implementation of Operating System |
|
Answer» CORRECT ANSWER is (B) an index is created for the index file To explain I WOULD say: None. |
|
| 117. |
A relative block number is an index relative to ____________(a) the beginning of the file(b) the end of the file(c) the last written position in file(d) none of the mentionedThis question was posed to me during an internship interview.My doubt is from File System Interface Access Methods in chapter File Systems and their Implementation of Operating System |
|
Answer» CORRECT choice is (a) the BEGINNING of the file The best I can EXPLAIN: NONE. |
|
| 118. |
The index contains ____________(a) names of all contents of file(b) pointers to each page(c) pointers to the various blocks(d) all of the mentionedI had been asked this question in an international level competition.The origin of the question is File System Interface Access Methods in section File Systems and their Implementation of Operating System |
|
Answer» Right choice is (C) POINTERS to the VARIOUS blocks |
|
| 119. |
For a direct access file ____________(a) there are restrictions on the order of reading and writing(b) there are no restrictions on the order of reading and writing(c) access is restricted permission wise(d) access is not restricted permission wiseThis question was addressed to me in an online quiz.The doubt is from File System Interface Access Methods in division File Systems and their Implementation of Operating System |
|
Answer» Correct OPTION is (B) there are no restrictions on the ORDER of reading and writing |
|
| 120. |
The direct access method is based on a ______ model of a file, as _____ allow random access to any file block.(a) magnetic tape, magnetic tapes(b) tape, tapes(c) disk, disks(d) all of the mentionedI had been asked this question in an international level competition.The doubt is from File System Interface Access Methods topic in division File Systems and their Implementation of Operating System |
|
Answer» RIGHT CHOICE is (c) DISK, disks The best I can explain: None. |
|
| 121. |
Sequential access method ______on random access devices.(a) works well(b) doesnt work well(c) maybe works well and doesnt work well(d) none of the mentionedI had been asked this question in semester exam.This interesting question is from File System Interface Access Methods in chapter File Systems and their Implementation of Operating System |
|
Answer» RIGHT ANSWER is (a) WORKS well Explanation: NONE. |
|
| 122. |
In the sequential access method, information in the file is processed ____________(a) one disk after the other, record access doesnt matter(b) one record after the other(c) one text document after the other(d) none of the mentionedThe question was asked in unit test.This key question is from File System Interface Access Methods in portion File Systems and their Implementation of Operating System |
|
Answer» RIGHT ANSWER is (b) one record after the other Explanation: NONE. |
|
| 123. |
The larger the block size, the ______ the internal fragmentation.(a) greater(b) lesser(c) same(d) none of the mentionedThe question was posed to me in an internship interview.This intriguing question comes from File System Interface Access Methods topic in section File Systems and their Implementation of Operating System |
|
Answer» CORRECT OPTION is (a) greater The EXPLANATION: NONE. |
|
| 124. |
The UNIX sytem uses a/an ________ stored at the beginning of a some files to indicate roughly the type of file.(a) identifier(b) extension(c) virtual number(d) magic numberThis question was addressed to me in quiz.Origin of the question is File System Interface Access Methods topic in section File Systems and their Implementation of Operating System |
|
Answer» The CORRECT choice is (d) MAGIC number |
|
| 125. |
Which of the following are the two parts of the file name?(a) name & identifier(b) identifier & type(c) extension & name(d) type & extensionThis question was posed to me during an interview for a job.Origin of the question is File System Interface Access Methods topic in portion File Systems and their Implementation of Operating System |
|
Answer» The CORRECT CHOICE is (C) extension & name |
|
| 126. |
The open file table has a/an _______ associated with each file.(a) file content(b) file permission(c) open count(d) close countThe question was posed to me during an internship interview.My question is taken from File System Interface Access Methods in chapter File Systems and their Implementation of Operating System |
|
Answer» Right choice is (C) open COUNT |
|
| 127. |
System wide table in UNIX contains process independent information such as ____________(a) location of file on disk(b) access dates(c) file size(d) all of the mentionedThis question was posed to me in exam.I'm obligated to ask this question of File System Interface Access Methods in portion File Systems and their Implementation of Operating System |
|
Answer» CORRECT OPTION is (d) all of the mentioned Explanation: NONE. |
|
| 128. |
In UNIX, what will the open system call return?(a) pointer to the entry in the open file table(b) pointer to the entry in the system wide table(c) a file to the process calling it(d) none of the mentionedI have been asked this question at a job interview.This interesting question is from File System Interface Access Methods in portion File Systems and their Implementation of Operating System |
|
Answer» CORRECT ANSWER is (a) pointer to the ENTRY in the open file table Best explanation: NONE. |
|
| 129. |
The operating system keeps a small table containing information about all open files called ____________(a) system table(b) open-file table(c) file table(d) directory tableI had been asked this question in an internship interview.This is a very interesting question from File System Interface Access Methods in division File Systems and their Implementation of Operating System |
|
Answer» The CORRECT CHOICE is (B) open-file table |
|
| 130. |
A file is a/an _______ data type.(a) abstract(b) primitive(c) public(d) privateThis question was posed to me in examination.The query is from File System Interface Access Methods in section File Systems and their Implementation of Operating System |
|
Answer» RIGHT CHOICE is (a) abstract Explanation: NONE. |
|
| 131. |
The information about all files is kept in ____________(a) swap space(b) operating system(c) seperate directory structure(d) none of the mentionedI got this question in a national level competition.This question is from File System Interface Access Methods in section File Systems and their Implementation of Operating System |
|
Answer» The CORRECT CHOICE is (C) seperate directory structure |
|
| 132. |
File attributes consist of ____________(a) name(b) type(c) identifier(d) all of the mentionedThe question was posed to me in an online interview.This key question is from File System Interface Access Methods in division File Systems and their Implementation of Operating System |
|
Answer» RIGHT ANSWER is (d) all of the mentioned For EXPLANATION: NONE. |
|
| 133. |
Data cannot be written to secondary storage unless written within a ______(a) file(b) swap space(c) directory(d) text formatThis question was posed to me by my college professor while I was bunking the class.My enquiry is from File System Interface Access Methods in portion File Systems and their Implementation of Operating System |
|
Answer» RIGHT ANSWER is (a) file Explanation: NONE. |
|
| 134. |
Which protocol establishes the initial logical connection between a server and a client?(a) transmission control protocol(b) user datagram protocol(c) mount protocol(d) datagram congestion control protocolI have been asked this question by my college director while I was bunking the class.I'd like to ask this question from File System Implementation topic in division File Systems and their Implementation of Operating System |
|
Answer» Right CHOICE is (c) mount protocol |
|
| 135. |
If the block of free-space list is free then bit will ____________(a) 1(b) 0(c) any of 0 or 1(d) none of the mentionedI got this question during an interview.My question is taken from File System Implementation in portion File Systems and their Implementation of Operating System |
|
Answer» RIGHT CHOICE is (a) 1 Best EXPLANATION: NONE. |
|
| 136. |
In which type of allocation method each file occupy a set of contiguous block on the disk?(a) contiguous allocation(b) dynamic-storage allocation(c) linked allocation(d) indexed allocationThe question was posed to me in an online interview.This interesting question is from File System Implementation topic in section File Systems and their Implementation of Operating System |
|
Answer» RIGHT CHOICE is (a) CONTIGUOUS allocation For EXPLANATION: NONE. |
|
| 137. |
The data structure used for file directory is called ____________(a) mount table(b) hash table(c) file table(d) process tableThe question was posed to me during an online interview.This is a very interesting question from File System Implementation topic in portion File Systems and their Implementation of Operating System |
| Answer» | |
| 138. |
What is raw disk?(a) disk without file system(b) empty disk(c) disk lacking logical file system(d) disk having file systemThe question was posed to me in an interview.Origin of the question is File System Implementation topic in division File Systems and their Implementation of Operating System |
|
Answer» RIGHT CHOICE is (a) disk WITHOUT file system Easiest explanation - NONE. |
|
| 139. |
What will happens when a process closes the file?(a) per-process table entry is not removed(b) system wide entry’s open count is decremented(c) all of the mentioned(d) none of the mentionedI have been asked this question in an internship interview.This is a very interesting question from File System Implementation in portion File Systems and their Implementation of Operating System |
|
Answer» Correct ANSWER is (B) system WIDE ENTRY’s open COUNT is decremented |
|
| 140. |
To create a new file application program calls ____________(a) basic file system(b) logical file system(c) file-organisation module(d) none of the mentionedI got this question during an interview.I would like to ask this question from File System Implementation topic in division File Systems and their Implementation of Operating System |
| Answer» | |
| 141. |
Which table contains the information about each mounted volume?(a) mount table(b) system-wide open-file table(c) per-process open-file table(d) all of the mentionedThe question was posed to me in class test.The above asked question is from File System Implementation topic in portion File Systems and their Implementation of Operating System |
|
Answer» CORRECT CHOICE is (d) all of the mentioned Best EXPLANATION: NONE. |
|
| 142. |
A file control block contains the information about ____________(a) file ownership(b) file permissions(c) location of file contents(d) all of the mentionedI had been asked this question in my homework.My question is from File System Implementation topic in division File Systems and their Implementation of Operating System |
|
Answer» The CORRECT ANSWER is (d) all of the mentioned |
|
| 143. |
Management of metadata information is done by ____________(a) file-organisation module(b) logical file system(c) basic file system(d) application programsThis question was addressed to me in a job interview.My query is from File System Implementation topic in portion File Systems and their Implementation of Operating System |
|
Answer» CORRECT ANSWER is (b) LOGICAL FILE system For explanation: NONE. |
|
| 144. |
When will file system fragmentation occur?(a) unused space or single file are not contiguous(b) used space is not contiguous(c) unused space is non-contiguous(d) multiple files are non-contiguousI got this question during an interview for a job.I would like to ask this question from File System Concepts topic in division File Systems and their Implementation of Operating System |
|
Answer» The correct answer is (a) UNUSED space or single FILE are not contiguous |
|
| 145. |
Which one of the following explains the sequential file access method?(a) random access according to the given byte number(b) read bytes one at a time, in order(c) read/write sequentially by record(d) read/write randomly by recordThis question was addressed to me in semester exam.Enquiry is from File System Concepts in section File Systems and their Implementation of Operating System |
|
Answer» The correct option is (B) read BYTES one at a TIME, in order |
|
| 146. |
Mapping of network file system protocol to local file system is done by ____________(a) network file system(b) local file system(c) volume manager(d) remote mirrorThe question was posed to me in quiz.Asked question is from File System Concepts topic in chapter File Systems and their Implementation of Operating System |
|
Answer» The CORRECT OPTION is (a) NETWORK FILE system |
|
| 147. |
Mapping of file is managed by ____________(a) file metadata(b) page table(c) virtual memory(d) file systemThis question was posed to me in a national level competition.My question is from File System Concepts topic in chapter File Systems and their Implementation of Operating System |
|
Answer» The CORRECT OPTION is (a) FILE metadata |
|
| 148. |
What is the mounting of file system?(a) crating of a filesystem(b) deleting a filesystem(c) attaching portion of the file system into a directory structure(d) removing the portion of the file system into a directory structureThe question was asked during an online interview.The question is from File System Concepts in division File Systems and their Implementation of Operating System |
|
Answer» The correct choice is (c) ATTACHING PORTION of the file SYSTEM into a directory structure |
|
| 149. |
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 fileThe question was asked by my school teacher while I was bunking the class.Origin of the question is File System Concepts in section File Systems and their Implementation of Operating System |
|
Answer» RIGHT OPTION is (a) OBJECT file Best EXPLANATION: NONE. |
|
| 150. |
File type can be represented by ____________(a) file name(b) file extension(c) file identifier(d) none of the mentionedThis question was addressed to me in an interview for job.The doubt is from File System Concepts topic in chapter File Systems and their Implementation of Operating System |
| Answer» | |