Computer Science - Operating Systems Concepts - Discussion

Discussion Forum : Operating Systems Concepts - Section 5 (Q.No. 11)
11.
Which of the following statements is false?
a process scheduling algorithm is preemptive if the CPU can be forcibly removed from a process
time sharing systems generally use preemptive CPU scheduling
response time are more predictable in preemptive systems than in non preemptive systems
real time systems generally use non-preemptive CPU scheduling
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
2 comments Page 1 of 1.

Pramit Samanta said:   2 years ago
The statement "response time are more predictable in preemptive systems than in non preemptive systems" is false.

In preemptive scheduling, the operating system may interrupt a running process and allocate the CPU to another process with higher priority. This can lead to shorter response times for high-priority processes, but longer response times for low-priority processes that are repeatedly interrupted. Therefore, response times are less predictable in preemptive systems, as they depend on the priority of processes and the frequency of context switches.

In contrast, in non-preemptive scheduling, a running process will continue to execute until it completes, blocks, or voluntarily yields the CPU. This results in more predictable response times for each process but can lead to longer response times for high-priority processes that are waiting for low-priority processes to complete.

Therefore, the statement that "response times are more predictable in preemptive systems than in non-preemptive systems" is false.

Imran Toor said:   1 decade ago
How could be a response time more predictable in in preemptive systems?

Post your comments here:

Your comments will be displayed after verification.