708 views
0 votes
0 votes
If we are using non-preemptive CPU scheduling then can there be process state transition from running to ready state?

3 Answers

2 votes
2 votes
If we are using non preemptive cpu scheduling  then from running state to ready state there will not be any direct way to go but it is possible through the blocked state . If some I/O interruption occur then that particular process will get blocked and then once the required I/O operation is completed then it will be moved to the ready state again.
0 votes
0 votes

In non-preemptive CPU scheduling there is no process state transition from Running State to Ready State.

Because no process can be forcibly made to exit from the CPU until it reaches its completion, Finished State. 

In preemptive CPU scheduling there is a process state transition from Running State to Ready State where a process is forced to exit the CPU and wait in the Ready Queue.

 

Related questions

223
views
1 answers
0 votes
arpit.jha asked Apr 26
223 views
Hi, All I have a question that in Process Scheduling topic most of the time we need to solve the problem using Gantt chart that's a bit time ... there any faster way to get solutions . Please provide any resource if available.Thanks
446
views
1 answers
1 votes
iarnav asked Jan 12, 2022
446 views
Does non preemptive CPU scheduling needs hardware support.kindly explain.
837
views
1 answers
2 votes
srestha asked Mar 11, 2019
837 views
Consider a system having $10$ IO bound jobs and $1$ CPU bound job.. If IO bound job issue an IO request once for every ms of CPU computation and ... scheduling with a time quantum of $10$ ms. , the CPU efficiency is __________________
2.8k
views
1 answers
1 votes
Ram Ahuja asked Feb 13, 2019
2,805 views
In which of the following case CPU utilization will be higher?(a) If all the processes are I/O bound(b) Is all the processes are equally CPU bound and I/O bound(c) If all the processes are CPU bound(d) Both (B) and (C)