Operating system mcqs threads pools

 

 Buy/Download all MCQ Ebook   >>>Click Here<<<

Operating system mcqs threads pools

Click on any option to know the CORRECT ANSWERS

Question 1
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


Question 2
Instead of starting a new thread for every task to execute concurrently, the task can be passed to a .....
A
process
B
thread pool
C
thread queue
D
none of the mentioned


Question 3
Each connection arriving at multi threaded servers via network is generally .....
A
is directly put into the blocking queue
B
is wrapped as a task and passed on to a thread pool
C
is kept in a normal queue and then sent to the blocking queue from where it is dequeued
D
none of the mentioned


Question 4
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


Question 5
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


There are 5 questions to complete.

 

 Buy/Download all MCQ Ebook >>>CLICK HERE<<<