Top 550+ Solved Operating System (OS) MCQ Questions Answer
Q. What is a long-term scheduler?
a. it selects processes which have to be brought into the ready queue
b. it selects processes which have to be executed next and allocates cpu
c. it selects processes which heave to remove from memory by swapping
d. none of the mentioned
Q. If all processes I/O bound, the ready queue will almost always be and the Short term Scheduler will have a to do.
a. full, little
b. full, lot
c. empty, little
d. empty, lot
Q. What is a medium-term scheduler?
a. it selects which process has to be brought into the ready queue
b. it selects which process has to be executed next and allocates cpu
c. it selects which process to remove from memory by swapping
d. none of the mentioned
Q. What is a short-term scheduler?
a. it selects which process has to be brought into the ready queue
b. it selects which process has to be executed next and allocates cpu
c. it selects which process to remove from memory by swapping
d. none of the mentioned
Q. The primary distinction between the short term scheduler and the long term scheduler is
a. the length of their queues
b. the type of processes they schedule
c. the frequency of their execution
d. none of the mentioned
Q. In a multiprogramming environment
a. the processor executes more than one process at a time
b. the programs are developed by more than one person
c. more than one process resides in the memory
d. a single user can execute many programs at the same time
Q. The context of a process in the PCB of a process does not contain
a. the value of the cpu registers
b. the process state
c. memory-management information
d. context switch time
Q. Which of the following need not necessarily be saved on a context switch between processes?
a. general purpose registers
b. translation lookaside buffer
c. program counter
d. all of the mentioned
Q. Which of the following does not interrupt a running process?
a. a device
b. timer
c. scheduler process
d. power failure
Q. Which process can be affected by other processes executing in the system?
a. cooperating process
b. child process
c. parent process
d. init process
Q. 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?
a. dynamic condition
b. race condition
c. essential condition
d. critical condition
Q. If a process is executing in its critical section, then no other processes can be executing in their critical section. This condition is called?
a. mutual exclusion
b. critical exclusion
c. synchronous exclusion
d. asynchronous exclusion
Q. A semaphore is a shared integer variable
a. that can not drop below zero
b. that can not be more than zero
c. that can not drop below one
d. that can not be more than one
Q. Mutual exclusion can be provided by the
a. mutex locks
b. binary semaphores
c. both mutex locks and binary semaphores
d. none of the mentioned