• reopened by
2,817 views
1 1 vote

Consider the following statements:


S1  : Multiprogramming is used to increase CPU utilization, while time-sharing is used to increase CPU responsiveness in interacting with user.


S2  : If a user-level thread is blocked for I/O operation, then kernel of operating system will perform context switching to run another user-thread which is not blocked.


S3  : Many-to-One is the most efficient model of multi-threading because it allows several userlevel threads to be assigned to different processors in a multi-processor computer system.


Which of the following is true?

1 Answer

0 0 votes
s2 is false because kernel never know how many threads in user level so if one thread of user level blocked then all threads are blocked as kernel assume there is only one process in userlevel space so it can't schedule to another thread
Position:
Show:

Related questions

1 1 vote
3 3 answers
1.1k
1.1k views
0 0 votes
1 1 answer
2.8k
2.8k views
balraj_allam asked Dec 9, 2018
2,821 views
Consider the following statements:S1: Multiprogramming is used to increase CPU utilization, while time-sharing is used to increase CPU responsiveness in interacting with ...
1 1 vote
1 1 answer
1.2k
1.2k views
thor asked Jan 10, 2017
1,176 views
Consider the following statements.1. A thread running in critical section never get context switched.2. Hardware access to devices is usually available in user mode.3. Mo...
0 0 votes
2 2 answers
3.0k
3.0k views
roopkathaaa asked Sep 2, 2023
3,001 views
A system has 5 process and 3 resources (A, B, C). The maximum count of resources are (10, 5, 7). Consider the following table of resource allocation. MAX(A B C)Alloc...