CS FundamentalsModerateGATE CS

Which of the following events causes a process to move from RUNNING to READY (not to WAITING)?

  1. A. It issues a read() on a disk file that is not cached
  2. B. It calls wait() on a semaphore whose value is 0
  3. C. It calls sleep(5)
  4. D. A timer interrupt signals the end of its time slice

Correct answer: D. A timer interrupt signals the end of its time slice

Preemption by the timer leaves the process runnable, so it goes back to the ready queue. I/O requests, blocking semaphore waits and sleep all make it wait for an event.

More Operating Systems questions

Exams that ask this topic