Machine-translated by Google. Questions are authored in English.
Top

Discussion

A task moves from running to blocked when it

  • A.waits for a resource or a timeout
  • B.is displaced by a higher priority task becoming ready
  • C.exceeds its allotted share of processor time
  • D.has its priority lowered by another task

Answer: A

Correct answer: waits for a resource or a timeout

Blocking means the task cannot proceed until something happens, so the scheduler stops considering it. Being displaced by a higher priority task is different: that task returns to ready, since it could run if the processor were free, and it is scheduled again as soon as it is.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.