Engstat PS2

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 2

ENGSTAT QUIZ#2 PROBLEM SET (1) The two most common types of errors made by programmers are syntax

errors and errors in logic. For a simple language such as BASIC, the number of such errors is usually small. Let X denote the number of syntax errors and Y, the number of errors in logic made on the first run of a BASIC program. Assume that the joint distribution for (X,Y) is shown in the table below: X\Y 0 1 2 3 0 0.4 0.1 0.02 0.005 1 0.3 0.04 0.01 0.004 2 0.04 0.01 0.009 0.003 3 0.009 0.008 0.007 0.003 4 0.008 0.007 0.005 0.002 5 0.005 0.002 0.002 0.001 (a) Find the probability that a randomly selected program will have neither of these types of errors. (b) Find the probability that a randomly selected program will contain at least three syntax errors and at most one error in logic. (c) Find the marginal distributions of X and Y. (d) What is the probability that if there are 4 errors in syntax, there will be at least 2 errors in logic?

(2) Given the joint density function 6 x y f ( x, y ) = 8 0 (a) Find P(1<x<2, 3<Y<4) (b) Find P(1<Y<3 | X=2)

0 < x < 2,2 < y < 4 elsewhere

(3) A nationwide survey of seniors by the University of Michigan reveals that almost 70% disapprove of daily pot smoking according to a report in Parade. If 12 seniors are selected at random and asked their opinion, find the probability that the number who disapprove of smoking pot daily is (a) anywhere from 7 to 9; (b) at most 5; (c) not less than 8. (4) A firm has established that the number of typing errors found in any page of a report made by a certain typist is a Poisson random variable. The typist claims that no errors can be found in a given page of any of the reports that he types 90% of the time. (a) What is the probability that a one-page report made by the typist contains exactly 3 errors? (b) If an inspector obtains 20 ten-page reports as samples of the typists work, what is the probability that ten of these reports contain exactly two errors each?

(5) The time it takes for a new 3/8-in chain to break under 20,000 lbs of pressure is uniformly distributed from 30 minutes to 1 hour. What is the probability that the chain will break between 40 to 50 minutes after being subjected to pressure? (6) A group of applicants were given achievement tests which yielded the following results: Mean Score = 65.5% Variance = 24.2% The scores are normally distributed. The personnel manager decided that the lower 25% of the applicants be taken in as trainees, the middle 65% will start as office clerks and the upper 10% will be given supervisory jobs. (a) What is the minimum score for exemption from training? (b) What is the minimum score for one to qualify for supervisory work? (7) A box-office clerk studied the arrivals of moviegoers of a much talked-about movie. Analysis of data revealed that the inter-arrival time t is exponentially distributed with a mean of 5 minutes. (a) What is the probability that the box-office clerk can sneak inside to see parts of the film for at most 3 minutes without missing any incoming ticket buyers? (b) Find the standard deviation of the inter-arrival time. (8) The life in years of a certain type of electrical switch has an exponential distribution with an average life of =2. If 100 of these switches are installed in different systems, what is the probability that at most 30 fail during the first year? (9) Calculate the reliability of the system diagrams below:

r1=0.95

r2=0.99

r3=0.98

r2=0.90 r1=0.99 r3=0.99 r5=0.92 r4=0.95

You might also like