Operating System MCQs

1019 MCQs  (Page 72 of 102)

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
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
Thread pools limit the number of threads that exist at any one point, hence ____________
A. Not letting the system resources like cpu time and memory exhaust
B. Helping a limited number of processes at a time
C. Not serving all requests and ignoring many
D. None of the mentioned
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
The model in which one kernel thread is mapped to many user-level threads is called ___________
A. Many to one model
B. One to many model
C. Many to many model
D. One to one model
In the Many to One model, if a thread makes a blocking system call ___________
A. The entire process will be blocked
B. A part of the process will stay blocked, with the rest running
C. The entire process will run
D. None of the mentioned
In the Many to One model, multiple threads are unable to run in parallel on multiprocessors because of ___________
A. Only one thread can access the kernel at a time
B. Many user threads have access to just one kernel thread
C. There is only one kernel thread
D. None of the mentioned
The One to One model allows ___________
A. Increased concurrency
B. Decreased concurrency
C. Increased or decreased concurrency
D. Concurrency equivalent to other models
In the One to One model when a thread makes a blocking system call ___________
A. Other threads are strictly prohibited from running
B. Other threads are allowed to run
C. Other threads only from other processes are allowed to run
D. None of the mentioned