Top 550+ Solved Operating System (OS) MCQ Questions Answer

From 31 to 45 of 659

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

  • a. it selects processes which have to be brought into the ready queue

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

  • 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 the mentioned

  • 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 the mentioned

  • c. the frequency of their execution

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

  • c. more than one process resides in the memory

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

  • 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

  • b. translation lookaside buffer

Q. Which of the following does not interrupt a running process?

a. a device

b. timer

c. scheduler process

d. power failure

  • c. scheduler process

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

  • a. cooperating process

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

  • a. mutual exclusion

Q. Which one of the following is a synchronization tool?

a. thread

b. pipe

c. semaphore

d. socket

  • c. semaphore

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

  • a. that can not drop below zero

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

  • c. both mutex locks and binary semaphores
Subscribe Now

Get All Updates & News