Operating System MCQs
1K+ questions with answers
What is an operating system?
To access the services of operating system, the interface is provided by the ___________
Which one of the following is not true?
Which one of the following error will be handle by the operating system?
What is the main function of the command interpreter?
In Operating Systems, which of the following is/are CPU scheduling algorithms?
Which facility dynamically adds probes to a running system, both in user processes and in the kernel?
Which one of the following is not a real time operating system?
The OS X has ____________
The systems which allow only one process execution at a time, are called __________
In operating system, each process has its own __________
In Unix, Which system call creates the new process?
A process can be terminated due to __________
What is the ready state of a process?
A set of processes is deadlock if __________
A process stack does not contain __________
Which system call can be used by a parent process to determine the termination of child process?
The address of the next instruction to be executed by the current process is provided by the __________
A Process Control Block(PCB) does not contain which of the following?
The number of processes completed per unit time is known as __________
The state of a process is defined by __________
Which of the following is not the state of a process?
What is a Process Control Block?
What is the degree of multiprogramming?
A single thread of control allows the process to perform __________
What is the objective of multiprogramming?
Which of the following do not belong to queues for processes?
When the process issues an I/O request __________
What will happen when a process terminates?
What is a long-term scheduler?
If all processes I/O bound, the ready queue will almost always be ______ and the Short term Scheduler will have a ______ to do.
What is a short-term scheduler?
The primary distinction between the short term scheduler and the long term scheduler is __________
The only state transition that is initiated by the user process itself is __________
In a time-sharing operating system, when the time slot given to a process is completed, the process goes from the running state to the __________
In a multiprogramming environment __________
The context of a process in the PCB of a process does not contain __________
Which of the following need not necessarily be saved on a context switch between processes?
Which of the following does not interrupt a running process?
Which process can be affected by other processes executing in the system?
When several processes access the same data concurrently and the outcome of the execution depends on the particular order in which the access takes place is called ________
If a process is executing in its critical section, then no other processes can be executing in their critical section. What is this condition called?
Which one of the following is a synchronization tool?
A semaphore is a shared integer variable __________
When high priority task is indirectly preempted by medium priority task effectively inverting the relative priority of the two tasks, the scenario is called __________
Process synchronization can be done on __________
A monitor is a module that encapsulates __________
To enable a process to wait within the monitor __________
Restricting the child process to a subset of the parentβs resources prevents any process from __________
A parent process calling _____ system call will be suspended until children processes terminate.