Questions from Operating Systems


Q: The birthday paradox is a famous problem in probability that can be

The birthday paradox is a famous problem in probability that can be stated as follows: What is the minimum value of K such that the probability is greater than 0.5 that at least two people in a group...

See Answer

Q: A pair of fair dice (the probability of each outcome is

A pair of fair dice (the probability of each outcome is 1/6) is thrown. Let X be the maximum of the two numbers that comes up. a. Find the distribution of X. b. Find the expectation E[X], the variance...

See Answer

Q: A player tosses a fair die. If a prime number greater

A player tosses a fair die. If a prime number greater than 1 appears, he wins that number of dollars, but if a nonprime number appears, he loses that number of dollars. a. Denote the player’s gain or...

See Answer

Q: In the carnival game known as chuck-a-luck,

In the carnival game known as chuck-a-luck, a player pays an amount E as an entrance fee, selects a number between one and six, and then rolls three dice. If all three dice show the number selected, t...

See Answer

Q: The mean and variance of X are 50 and 4, respectively

The mean and variance of X are 50 and 4, respectively. Evaluate the following: a. The mean of X2 b. The variance and standard deviation of 2X+3 c. The variance and standard deviation of - X

See Answer

Q: The continuous random variable R has a uniform density between 900 and

The continuous random variable R has a uniform density between 900 and 1,100, and 0 elsewhere. Find the probability that R is between 950 and 1,050.

See Answer

Q: Section 21.3 provided an intuitive argument to justify Little’s formula

Section 21.3 provided an intuitive argument to justify Little’s formula. Develop a similar argument to justify the relationship r=λTr.

See Answer

Q: Figure 21.3 shows the number of items in a system as a function of time.

Figure 21.3 shows the number of items in a system as a function of time. This can be viewed as the difference between an arrival process and a departure process, of the form a. On one graph, show t...

See Answer

Q: Consider the following fragment of code on a Linux system.

Consider the following fragment of code on a Linux system. Where / is a reader–writer lock . What is the effect of this code?

See Answer

Q: The owner of a shop observes that on average 18 customers per

The owner of a shop observes that on average 18 customers per hour arrive and there are typically 8 customers in the shop. What is the average length of time each customer spends in the shop?

See Answer