recategorized by
436 views

1 Answer

0 votes
0 votes

​​​​​​1. Ready → Run  : Scheduler dispatch

2. Run → Ready : Interrupt/Preemption 

​​​​​​​3. Blocked → Ready : I/O or Event completion

​​​​​​​4. Ready →  Blocked : N/A

​​​​​​​5. Run → Blocked : Waiting for completion of an event or I/O 

​​​​​​​6. Blocked → Run : N/A  (Once unblocked thread/process will return to the pool of ready threads/processes and CPU will be assigned as per scheduling i.e will be moved to Run state as per scheduling)

Related questions

572
views
1 answers
1 votes
admin asked Dec 15, 2022
572 views
$1020$ bytes long packet must be routed through an interface with $\text{MTU}$ of $256$ bytes. Asssuming the smallest possible $\text{IPv4}$ header size, ... decimal), and Total Length field (in decimal) of $\text{IPv4}$ header.
390
views
0 answers
1 votes
admin asked Dec 15, 2022
390 views
Let $T$ be a subset of $\{1,2, \ldots, n\}$ of size $\frac{n}{2}$, sampled uniformly at random from all subsets of size $\frac{n}{2}$ ... of size $\frac{n}{2}$. What is the probability that $|S \cap T|=\frac{n}{4}$.
516
views
1 answers
1 votes
admin asked Dec 15, 2022
516 views
What is the generating function corresponding to Fibonacci series.\[F_{n}=F_{n-1}+F_{n-2} .\]Note that $F_{0}=F_{1}=1$.
260
views
0 answers
1 votes
admin asked Dec 15, 2022
260 views
For two flip-flops $F_{1}$ and $F_{2}$ and input $\mathrm{X}$, the next state and output is given as\[\begin{array}{c}F_{1}(t+1)=\sum(1,2,5,6) ... X\right)=\sum(4,6)\end{array}\]Write functions for the next state and output of the circuit.