What shall be the average waiting time per process if we know that 10 processes (on average) arrive every second and there are normally 20 processes in the queue?
The question asks us to find the average waiting time for each process based on the rate at which processes arrive and the average number of processes currently waiting in the queue. This is a classic problem that can be solved using principles from queueing theory, specifically Little's Law.
Little's Law is a fundamental theorem in queueing theory that provides a relationship between the average number of items in a stable system ($L$), the average arrival rate ($λ$), and the average time an item spends in the system ($W$). The formula is:
$ L = \lambda \times W $
In the context of this problem:
We can adapt Little's Law to calculate the average waiting time in the queue ($W_q$):
$ L_q = \lambda \times W_q $
$ W_q = \frac{L_q}{\lambda} $
$ W_q = \frac{20 \text{ processes}}{10 \text{ processes/second}} $
$ W_q = 2 \text{ seconds} $
Therefore, the average waiting time per process in the queue is 2 seconds. This means, on average, a process arriving will have to wait for 2 seconds before it starts executing.
The probability of getting a total of 7 on two dice thrown together is:
If moment generating function of continuous random variable X is \(\frac{λ}{λ-t}\) t < λ, then E(X 3) equals to:
If moment generating function of discrete random variable X is (q + pe t) n, then E(X 2) equal to
If A and B are mutually exclusive events such that P(A) P(B) > 0, then which option is correct?
Two random variables X and Y are said to be independent if: