Question

1) Suppose an algorithm has 6 types of input given by S = {I_1, I_2, ...,...

1) Suppose an algorithm has 6 types of input given by S = {I_1, I_2, ..., I_6}. Suppose the inputs occur with the following probabilities:   P(I_2) = P(I_3) = P(I_4) = 1/12, P(I_5) = P(I_6) = 1/6, and P(I_1) = 5/12.

Suppose further that each input "I_n" (n = 1,2,3,4,5,6) causes the algorithm to execute "5n" instructions. What is the expected number of instructions executed by the algorithm?

2) When three fair dice are tossed, what is the probability that the sum of the dots is 10?

Homework Answers

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Randomly selected students were given five seconds to estimate the value of a product of numbers...
Randomly selected students were given five seconds to estimate the value of a product of numbers with the results shown below. Estimates from students given 1×2×3×4×5×6×7×81×2×3×4×5×6×7×8: 45000, 1000, 500, 1500, 856, 1000, 1252, 200, 1110, 400045000, 1000, 500, 1500, 856, 1000, 1252, 200, 1110, 4000 Estimates from students given 8×7×6×5×4×3×2×18×7×6×5×4×3×2×1: 2000, 2050, 100000, 40320, 300, 10000, 550, 400, 377, 1000002000, 2050, 100000, 40320, 300, 10000, 550, 400, 377, 100000 Use a 0.050.05 significance level to test the claim that the...
1. Suppose that the supply curve is given by P = 4Q. What is the price...
1. Suppose that the supply curve is given by P = 4Q. What is the price elasticity of supply? A A. 1/4 B 1/2 C 1 D 2 E 4 2. A pecuniary diseconomy occurs when A supply exceeds demand. B an expansion of industry output increases the price of an input. C the actions of one firm harm another. D a firm produces non-marketed pollutants as well as its marketed output. 3. In the long run, for a competitive...
1) At a lumber company, shelves are sold inȱȱ5 types of wood, 4 different widths and...
1) At a lumber company, shelves are sold inȱȱ5 types of wood, 4 different widths and 3 different lengths. How many different types of shelves could be ordered? 2) A shirt company has 5 designs each of which can be made with short or long sleeves. There are 4 different colors available. How many differentȱȱshirts are available from this company? Find the indicated probability. Round your answer to 2 decimal places when necessary. 3) A bag contains 6 red marbles,...
1. In the short-run IS-LM model with income taxation, taxes are given by ?=? +??. Suppose...
1. In the short-run IS-LM model with income taxation, taxes are given by ?=? +??. Suppose that MPC = 0.75 and the marginal tax rate ?=0.2. Then, when ? decreases by 1000, then for any given interest rate, the IS curve shifts: Select one: a. to the left by 1000. b. to the right by 3000. c. to the right by 3750 d. to the right by 1875. 2. Suppose that the adult population in an economy is 28 million,...
Do the following problems. 1. Each of three barrels from a manufacturing line are classified as...
Do the following problems. 1. Each of three barrels from a manufacturing line are classified as either above (a) or below (b) the target weight. Provide the ordered sample space. 2. The heat on each of two soldered parts is measured and labeled as either low (l), medium (m), or high (h). State the number of elements in the ordered sample space. 3. Consider the set of Beatles songs with a primary writer as either Paul McCartney (P) or John...
MATHEMATICS 1. The measure of location which is the most likely to be influenced by extreme...
MATHEMATICS 1. The measure of location which is the most likely to be influenced by extreme values in the data set is the a. range b. median c. mode d. mean 2. If two events are independent, then a. they must be mutually exclusive b. the sum of their probabilities must be equal to one c. their intersection must be zero d. None of these alternatives is correct. any value between 0 to 1 3. Two events, A and B,...