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

From 406 to 420 of 659

Q. What is the idea behind thread pools?

a. a number of threads are created at process startup and placed in a pool where they sit and wait for work

b. when a process begins, a pool of threads is chosen from the many existing and each thread is allotted equal amount of work

c. all threads in a pool distribute the task equally among themselves

d. none of the mentioned

  • a. a number of threads are created at process startup and placed in a pool where they sit and wait for work

Q. If the thread pool contains no available thread                          

a. the server runs a new process

b. the server goes to another thread pool

c. the server demands for a new pool creation

d. the server waits until one becomes free

  • d. the server waits until one becomes free

Q. Thread pools help in                          

a. servicing multiple requests using one thread

b. servicing a single request using multiple threads from the pool

c. faster servicing of requests with an existing thread rather than waiting to create a new thread

d. none of the mentioned

  • c. faster servicing of requests with an existing thread rather than waiting to create a new thread

Q. The number of the threads in the pool can be decided on factors such as                          

a. number of cpus in the system

b. amount of physical memory

c. expected number of concurrent client requests

d. all of the mentioned

  • d. all of the mentioned

Q. The swaps processes in and out of the memory.

a. Memory Manager

b. CPU

c. CPU Manager

d. User

  • a. Memory Manager

Q. The address generated by the CPU is referred to as

a. Physical Address

b. Logical Address

c. Neither Physical nor Logical

d. None of the mentioned

  • b. Logical Address

Q. Operating System maintains the page table for

a. each process

b. each thread

c. each instruction

d. each address

  • a. each process

Q. What is operating system?

a. collection of programs that manages hardware

b. system service provider to the

c. link to interface the hardware and

d. all of the mentioned

  • d. all of the mentioned

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 virtual memory, which is not a page replacement algorithm ?

a. FIFO

b. BFS

c. LRU

d. Optimal

  • b. BFS

Q. Thrashing the CPU utilization.

a. increases

b. keep constant

c. decreases

d. None of the mentioned

  • c. decreases

Q. Mutual exclusion can be provided by the                      

a. mutex locks

b. binary semaphores

c. both mutex locks and binary

d. none of the mentioned

  • c. both mutex locks and binary

Q. When the process issues an I/O request                      

a. It is placed in an I/O queue

b. It is placed in a waiting queue

c. It is placed in the ready queue

d. It is placed in the Job queue

  • a. It is placed in an I/O queue
Subscribe Now

Get All Updates & News