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

Discussion

Put the states a task passes through in order, from creation to first execution.

1. Running   2. Created   3. Ready   4. Selected by the scheduler

  • A.2, 4, 3, 1
  • B.3, 2, 4, 1
  • C.2, 3, 1, 4
  • D.2, 3, 4, 1

Answer: D

Creation builds the control block and the stack, the task then becomes ready, the scheduler picks it when it is the highest priority ready task, and it runs. Every later transition is a cycle among the last three states.

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

Post your comment

Please log in or register to post a comment.