Practice mode Operating Systems

Which process state transition is caused by a timer interrupt in a preemptive system?

Correct answer D. Running to ready

Explanation

When the time slice expires, the timer interrupt lets the scheduler preempt the running process; it is still able to run, so it goes back to the ready queue. Running to waiting happens when a process requests I/O or waits for an event. Waiting to ready happens when that event completes. A ready process never moves directly to waiting because it is not executing.

Report a problem

Answer checked How we write and check questions

Tip: press A, B, C or D to answer, and N for the next question.

Advertisement

Have a question about this answer?

Your email address will not be published. Required fields are marked *

Links and website addresses are not allowed in comments.