This set of JUnit Problems focuses on “File System Interface Directory Structure – 2”.
1. An absolute path name begins at the _____________
a) leaf
b) stem
c) current directory
d) root
View Answer
Explanation: None.
2. A relative path name begins at the _____________
a) leaf
b) stem
c) current directory
d) root
View Answer
Explanation: None.
3. 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 mentioned
View Answer
Explanation: None.
4. 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 directory
View Answer
Explanation: None.
5. A tree structure ______ the sharing of files and directories.
a) allows
b) may restrict
c) restricts
d) none of the mentioned
View Answer
Explanation: None.
6. With a shared file _____________
a) actual file exists
b) there are two copies of the file
c) the changes made by one person are not reflected to the other
d) the changes made by one person are reflected to the other
View Answer
Explanation: None.
7. In UNIX, what is a link?
a) a directory entry
b) a pointer to another file or subdirectory
c) implemented as an absolute or relative path name
d) all of the mentioned
View Answer
Explanation: None.
8. The operating system _______ the links when traversing directory trees, to preserve the acyclic structure of the system.
a) considers
b) ignores
c) deletes
d) none of the mentioned
View Answer
Explanation: None.
9. The deletion of a link ________ the original file.
a) deletes
b) affects
c) does not affect
d) none of the mentioned
View Answer
Explanation: None.
10. When keeping a list of all the links/references to a file, and the list is empty, implies that _____________
a) the file has no copies
b) the file is deleted
c) the file is hidden
d) none of the mentioned
View Answer
Explanation: None.
11. When a cycle exists, the reference count maybe non zero, even when it is no longer possible to refer to a directory or file, due to _______
a) the possibility of one hidden reference
b) the possibility of two hidden references
c) the possibility of self referencing
d) none of the mentioned
View Answer
Explanation: None.
Sanfoundry Global Education & Learning Series – Operating System.
To practice all areas of Operating System Problems, here is complete set on 1000+ Multiple Choice Questions and Answers on Operating System.
- Practice BCA MCQs
- Practice Computer Science MCQs
- Check Operating System Books
- Apply for Computer Science Internship
- Check Computer Science Books