Operating System MCQs
1K+ questions with answers
The FAT is used much as a _________
A section of disk at the beginning of each partition is set aside to contain the table in _____________
Contiguous allocation has two problems _________ and _________ that linked allocation solves.
Each _______ has its own index block.
The pointer overhead of indexed allocation is generally _________ the pointer overhead of linked allocation.
For any type of access, contiguous allocation requires ______ access to get a disk block.
Consider a disk where blocks 2, 3, 4, 5, 8, 9, 10, 11, 12, 13, 17, 18, 25, 26 and 27 are free and the rest of the blocks are allocated. Then the free space bitmap would be _____________
_______ tend to represent a major bottleneck in system performance.
In UNIX, even an ’empty’ disk has a percentage of its space lost to ______
By preallocating the inodes and spreading them across the volume, we ___________ the system performance.
____________ writes occur in the order in which the disk subsystem receives them, and the writes are not buffered.
In ___________ writes, the data is stored in the cache.
A file being read or written sequentially should not have its pages replaced in LRU order, because _____________
With _______ a requested page and several subsequent pages are read and cached.
Some directory information is kept in main memory or cache to ___________
A systems program such as fsck in ______ is a consistency checker.
A consistency checker __________________ and tries to fix any inconsistencies it finds.
Each set of operations for performing a specific task is a _________
Once the changes are written to the log, they are considered to be ________
When an entire committed transaction is completed, ___________
All the changes that were done from a transaction that did not commit before the system crashed, have to be _________
A machine in Network file system (NFS) can be ________
A _________ directory is mounted over a directory of a _______ file system.
The _________ becomes the name of the root of the newly mounted directory.
___________ mounts, is when a file system can be mounted over another file system, that is remotely mounted, not local.
The mount mechanism ________ a transitive property.
A mount operation includes the _____________
The server maintains a/an ________ that specifies local file systems that it exports for mounting, along with names of machines that are permitted to mount them.
In UNIX, the file handle consists of a __________ and __________
The NFS servers ____________
Every NFS request has a _________ allowing the server to determine if a request is duplicated or if any are missing.
A server crash and recovery will __________ to a client.
The server must write all NFS data ___________
A single NFS write procedure ____________
The NFS protocol __________ concurrency control mechanisms.
For every pair of component and directory vnode after path name translation ____________
When a client has a cascading mount _______ server(s) is/are involved in a path name traversal.
I/O hardware contains ____________
The data-in register of I/O port is ____________
The host sets _____ bit when a command is available for the controller to execute.
When hardware is accessed by reading and writing to the specific memory locations, then it is called ____________
Device drivers are implemented to interface ____________
Which hardware triggers some operation after certain programmed count?
Which buffer holds the output for a device?
Which one of the following connects high-speed high-bandwidth device to memory subsystem and CPU.
A process is moved to wait queue when I/O request is made with ____________
In _______ information is recorded magnetically on platters.
The heads of the magnetic disk are attached to a _____ that moves all the heads as a unit.
The set of tracks that are at one arm position make up a ___________
The time taken to move the disk arm to the desired cylinder is called the ____________