Top 150+ Solved Advanced Operating System MCQ Questions Answer
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 these
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 these
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 these
Q. The only state transition that is initiated by the user process itself is :
a. block
b. wakeup
c. dispatch
d. none of these
Q. 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 :
a. blocked state
b. ready state
c. suspended state
d. terminated state
Q. In a multi-programming 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. Suppose that a process is in “Blocked” state waiting for some I/O service. When the service is completed, it goes to the :
a. running state
b. ready state
c. suspended state
d. terminated state
Q. An unrecoverable error is known as _________.
a. hard error
b. tough error
c. soft error
d. none of these
Q. Which of the following need not necessarily be saved on a context switch between processes ? (GATE CS 2000)
a. general purpose registers
b. translation look-aside buffer
c. program counter
d. all of these
Q. Which of the following does not interrupt a running process ? (GATE CS 2001)
a. a device
b. timer
c. scheduler process
d. power failure
Q. the access takes place, is called a(n) ____.
a. shared memory segments
b. entry section
c. race condition
d. process synchronization
Q. Which of the following state transitions is not possible ?
a. blocked to running
b. ready to running
c. blocked to ready
d. running to blocked
Q. Which module gives control of the CPU to the process selected by the short-term scheduler?
a. dispatcher
b. interrupt
c. scheduler
d. none of the mentioned
Q. The processes that are residing in main memory and are ready and waiting to execute are kept on a list called
a. job queue
b. ready queue
c. execution queue
d. process queue