7,532 views
7 7 votes

Which is the correct definition of a valid process transition in an operating system?

  1. Wake up: ready $\rightarrow$ running
  2. Dispatch: ready $\rightarrow$ running
  3. Block: ready $\rightarrow$ running
  4. Timer runout: $\rightarrow$ ready $\rightarrow$ running

3 Answers

Best answer
13 13 votes
Answer is [B]

a) WakeUp : waiting->ready

b) Dispatch : Ready-> Running

c) Block : Waiting/Blocked ->Ready

d) Timerout : Running->Blocked
selected by
0 0 votes
1. wake up means hey your i/0 request approved and again go for the executing so we put from blocked to ready
2.dispatch:scheduler dispatch from ready to running state
3.block: from running u have an i/o request so lead to block(=waiting) state
4.timer runout:it an preemtive state from running state to go back to ready state
0 0 votes

Answer: Dispatch: ready → running

A process transition defines how a process changes its state in an operating system.

  • Dispatch is the operation performed by the CPU scheduler when it selects a process from the ready queue and assigns the CPU to it.

  • This causes the process state to change from Ready → Running.

Explanation of other options:

  • Wake up: transitions from Blocked → Ready (not Ready → Running).

  • Block: transitions from Running → Blocked (when waiting for I/O).

  • Timer runout: transitions from Running → Ready (when time slice expires).

Correct transition:
Dispatch: Ready → Running

Answer:
Position:
Show:

Related questions

4 4 votes
3 answers 3 answers
3.9k
3.9k views
go_editor asked Jun 15, 2016
3,891 views
Process isA program in high level language kept on diskContents of main memoryA program in executionA job in secondary memory
5 5 votes
2 2 answers
6.9k
6.9k views
Kanimozhi asked Jun 1, 2016
6,939 views
Special software to create a job queue is called aDriverSpoolerInterpreterLinkage editor
32 32 votes
3 answers 3 answers
15.2k
15.2k views
gatecse asked Sep 21, 2014
15,211 views
Let $f(x)$ be the continuous probability density function of a random variable $x$, the probability that $a < x \leq b$, is :$f(b-a)$$f(b) - f(a)$$\int\limits_a^b f(x) dx...
7 7 votes
2 answers 2 answers
17.7k
17.7k views
go_editor asked Jun 14, 2016
17,738 views
Consider a set of 5 processes whose arrival time, CPU time needed and the priority are given below:Process PriorityArrival Time (in ms)CPU Time NeededPriorityP10105P2052P...