Operating System Multiple Choice Questions – File System Interface Access Methods

This set of Operating System Multiple Choice Questions & Answers (MCQs) focuses on “File System Interface Access Methods”.

1. Data cannot be written to secondary storage unless written within a ______
a) file
b) swap space
c) directory
d) text format
View Answer

Answer: a
Explanation: None.

2. File attributes consist of ____________
a) name
b) type
c) identifier
d) all of the mentioned
View Answer

Answer: d
Explanation: None.

3. The information about all files is kept in ____________
a) swap space
b) operating system
c) seperate directory structure
d) none of the mentioned
View Answer

Answer: c
Explanation: None.
advertisement
advertisement

4. A file is a/an _______ data type.
a) abstract
b) primitive
c) public
d) private
View Answer

Answer: a
Explanation: None.

5. 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 table
View Answer

Answer: b
Explanation: None.
Sanfoundry Certification Contest of the Month is Live. 100+ Subjects. Participate Now!

6. 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 mentioned
View Answer

Answer: a
Explanation: None.

7. 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 mentioned
View Answer

Answer: d
Explanation: None.
advertisement

8. The open file table has a/an _______ associated with each file.
a) file content
b) file permission
c) open count
d) close count
View Answer

Answer: c
Explanation: open count indicates the number of processes that have the file open.

9. Which of the following are the two parts of the file name?
a) name & identifier
b) identifier & type
c) extension & name
d) type & extension
View Answer

Answer: c
Explanation: None.
advertisement

More MCQs on Interface Access Methods:

Sanfoundry Global Education & Learning Series – Operating System.

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.