Top 150+ Solved Advanced Operating System MCQ Questions Answer

From 31 to 45 of 115

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

  • c. it selects which process to remove from memory by swapping

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

  • b. it selects which process has to be executed next and allocates cpu

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

  • c. the frequency of their execution

Q. The only state transition that is initiated by the user process itself is :

a. block

b. wakeup

c. dispatch

d. none of these

  • a. block

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

  • b. ready 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

  • c. more than one process resides in the memory

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

  • b. ready state

Q. An unrecoverable error is known as _________.

a. hard error

b. tough error

c. soft error

d. none of these

  • a. hard error

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

  • b. translation look-aside buffer

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

  • c. scheduler process

Q. the access takes place, is called a(n) ____.

a. shared memory segments

b. entry section

c. race condition

d. process synchronization

  • c. race condition

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

  • a. blocked to running

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

  • a. dispatcher

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

  • b. ready queue
Subscribe Now

Get All Updates & News