Advanced Operating System - File and Directory I/O

File and Directory I/O - Buffer headers, reading and writing disk blocks, inodes, structure of regular file, reading directories: Link1

File and Directory I/O MCQ & Answers

       Are you worried about the answers to File and Directory I/O - Buffer headers, reading and writing disk blocks, inodes, structure of regular file, reading directories questions? We have arranged the Show Answer button under the each question. Candidates can click on it to know the right option among the given alternatives. Furthermore, the applicants can check our web portal @ www.totalmcq.com to take part in more MCQ on various subject. Wish, the given information about the File and Directory I/O MCQ will helpful to the advance and can learn the various types of questions and answers.


Q.1. The kernel caches data in the buffer pool according to a ---------.

A. least recently used algorithm
B. First In First Out algorithm
C. Optimal Page replacement algorithm
D. None of the above

Q.2.The kernel must write the -------buffer to the disk and allocate another buffer.

A. write                                                                B. post write
C. delayed write                                                          D. delayed read

Q.3. The kernel involves algorithm -------- when a process has no more need for buffer.

A. bread
B. Brelse
C. bwrite
D. iget

Q.4. The -------- may read data from the disk to the buffer and manipulate it or write data to the buffer and possibly to the disk.

A. Disk controller
B. Scheduler
C. Controller
D. Kernel

Q.5. Buffer cache helps to ---------.

A. Allocate memory                                                      B. store data
C. improved read /write performance                                                       D. None of the above

Q.6. A buffer memory used to accommodate a speed differential called ---------.

A. stack pointer
B. cache
C. disk buffer
D. accumulator

Q.7. The kernel maintains a free list of buffers is a -------- of buffers with a dummy buffer header that marks its beginning and end.

A. doubly linked list                                                           B. doubly linked circular list
C. singly linked circular list                                                           D. singly linked list

Q.8. he algorithms for reading and writing disk blocks use the algorithm --------- to allocate buffers from the pool.

A. getblk
B. least recently used
C. FIFO
D. None of the above

Q.9. The algorithm -------- for writing contents of a buffer to a disk block.

A. bread
B. breada
C. bwrite
D. write

Q.10. Algorithm ------ means block read and read ahead.

A. breada
B. bread
C. bwrite
D. read