Operating System MCQs
1K+ questions with answers
To obtain better memory utilization, dynamic loading is used. With dynamic loading, a routine is not loaded until it is called. For implementing dynamic loading ____________
In paged memory systems, if the page size is increased, then the internal fragmentation generally ____________
In segmentation, each address is specified by ____________
In paging the user provides only ________ which is partitioned by the hardware into ________ and ______
Each entry in a segment table has a ____________
The segment base contains the ____________
The segment limit contains the ____________
The offset ādā of the logical address must be ____________
When the entries in the segment tables of two different processes point to the same physical location ____________
The protection bit is 0/1 based on ____________
If there are 32 segments, each of size 1Kb, then the logical address should have ____________
Consider a computer with 8 Mbytes of main memory and a 128K cache. The cache block size is 4 K. It uses a direct mapping scheme for cache management. How many different main memory blocks can map onto a given physical cache block?
A multilevel page table is preferred in comparison to a single level page table for translating virtual address to physical address because ____________
If one or more devices use a common set of wires to communicate with the computer system, the connection is called ______
A ____ a set of wires and a rigidly defined protocol that specifies a set of messages that can be sent on the wires.
When device A has a cable that plugs into device B, and device B has a cable that plugs into device C and device C plugs into a port on the computer, this arrangement is called a _________
The _________ present a uniform device-access interface to the I/O subsystem, much as system calls provide a standard interface between the application and the operating system.
A ________ is a collection of electronics that can operate a port, a bus, or a device.
An I/O port typically consists of four registers status, control, ________ and ________ registers.
The ______ register is written by the host to send output.
The hardware mechanism that allows a device to notify the CPU is called _______
The CPU hardware has a wire called __________ that the CPU senses after executing every instruction.
The _________ determines the cause of the interrupt, performs the necessary processing and executes a return from the interrupt instruction to return the CPU to the execution state prior to the interrupt.
In general the two interrupt request lines are ____________
The _________ are reserved for events such as unrecoverable memory errors.
The ________ can be turned off by the CPU before the execution of critical instruction sequences that must not be interrupted.
The __________ is used by device controllers to request service.
The interrupt vector contains ____________
Division by zero, accessing a protected or non existent memory address, or attempting to execute a privileged instruction from user mode are all categorized as ________
For large data transfers, _________ is used.
A character stream device transfers ____________
What is a dedicated device?
A keyboard is an example of a device that is accessed through a __________ interface.
In polling ____________
A non blocking system call _________________
An asynchronous call ____________
Buffering is done to ____________
Caching is ________ spooling.
Caching ____________
Spooling ____________
The ________ keeps state information about the use of I/O components.
The kernel data structures include ____________
A ________ is a full duplex connection between a device driver and a user level process.
I/O is a _________ in system performance.
If the number of cycles spent busy ā waiting is not excessive, then ____________
In real time operating system ____________
Hard real time operating system has ______________ jitter than a soft real time operating system.
For real time operating systems, interrupt latency should be ____________
In rate monotonic scheduling ____________
In which scheduling certain amount of CPU time is allocated to each process?