Question

A computer program is tested by 5 independent tests. If there is an error, these tests...

A computer program is tested by 5 independent tests. If there is an error, these tests will discover it with probabilities 0.1, 0.2, 0.3, 0.4, and 0.5respectively. Suppose that the program contains an error. What is the probability that it will be found 3. by at least one test? (Hint: this event is the complement of the event where the error is not found) 4. by all five tests?

Homework Answers

Answer #1

ANSWER;

A computer program is tested by 5 independent tests. If there is an error, these tests will discover it with probabilities 0.1, 0.2, 0.3, 0.4, and 0.5respectively. Suppose that the program contains an error. What is the probability that it will be found 3. by at least one test? (Hint: this event is the complement of the event where the error is not found) 4. by all five tests.

a) THE PROBABILITY IS

P(found by 1st test) + P(1)*P(2nd) +  P(1)*P(2nd)*P(3rd) +  P(1)*P(2nd)*P(3rd)* P(4th) +  P(1)*P(2nd)*P(3rd)* P(4th) *P(5th)

.1 + (.1*.2) + (.1*.2*.3) + (.1*.2*.3*.4) + (.1*.2*.3*.4*.5)

.1296

b)AT LEAST ONE TEST

P(found by at least 1 test) - P(1st)

.1296 - .1 = .1196

c)BY ALL FIVE TESTS

P(1)*P(2nd)*P(3rd)* P(4th) *P(5th) = (.1*.2*.3*.4*.5) = 0.0012

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
A computer program is tested by 3 independent tests. when there is error , these test...
A computer program is tested by 3 independent tests. when there is error , these test will discover it will 0.1,0.5,0.4, respectively. Suppose that the program contains error . what is the probability that it will be found by at least one of the three tests.
Three independent diagnostic tests T1, T2, T3 are run on the same patient. The probabilities that...
Three independent diagnostic tests T1, T2, T3 are run on the same patient. The probabilities that these tests will give correct results are respectively: 90%, 85%, 80%. What is the probability that at least one test will result in error? Please explain :)
Suppose you will do five independent tests of the form H0: μ = 17 vs Ha...
Suppose you will do five independent tests of the form H0: μ = 17 vs Ha : μ ≠ 17 all at the 5% α level. What is the probability of committing a Type 1 error and incorrectly rejecting a true null hypothesis with at least one of the five tests? a. 0.01 b. 0.049 c. 0.05 d. 0.226 e. 0.7737
Suppose that there is a loop in a computer program and that the test to exit...
Suppose that there is a loop in a computer program and that the test to exit the loop depends on the value of a random variable X. The program exits the loop whenever X ∈ A, and this occurs with probability 1/3. If the loop is executed at least once, what is the probability that the loop is executed five times before exiting?
Events A, B, and C are independent. P(A) = 0.15 P(B) = 0.3 P(C) = 0.4...
Events A, B, and C are independent. P(A) = 0.15 P(B) = 0.3 P(C) = 0.4 a) probability that all events occur b) Probability that at least one occurs c) Probability that none occurs d) Probability that exactly one event occurs
3. Programs submitted by programs in a computer science course are examined for syntax errors and...
3. Programs submitted by programs in a computer science course are examined for syntax errors and logic errors. Suppose 44% of all programs have syntax errors, 59% have logic errors, and 78% have at least one of those two error types. (a) What is the probability a program contains both error types? (b) What is the probability a program contains neither error type? (c) What is the probability a program has logic errors, but not syntax errors? (d) What is...
Find the probability of a Type I error. A) 1/5 B) 0.4 C) 0.5​ D) 0.6...
Find the probability of a Type I error. A) 1/5 B) 0.4 C) 0.5​ D) 0.6 E) 0.7. There are 5 black, 3 white, and 4 yellow balls in a box (see picture below). Four balls are randomly selected with replacement. Let M be the number of black balls selected. Find P[M =2]. A) Less than 10% B) Between 10% and 30% C) Between 30% and 43% D) Between 43% and 60% E) Bigger than 60%. Use the following information...
The table below shows the total number of COVID-19 tests conducted in Australia and in selected...
The table below shows the total number of COVID-19 tests conducted in Australia and in selected state and territory, since 22 January 2020. This figure represents the percent of all tests that have returned a positive result for COVID-19. The number of total tests conducted is updated daily but the rate of positive tests has been found to be invariant. Suppose that people independently conducted their tests following a binomial distribution and the percent of positive tests reported in each...
1. You are performing 5 independent Bernoulli trials with p = 0.3 and q = 0.7....
1. You are performing 5 independent Bernoulli trials with p = 0.3 and q = 0.7. Calculate the probability of the stated outcome. Check your answer using technology. (Round your answer to four decimal places.) Two successes P(X = 2) = 2. You are performing 5 independent Bernoulli trials with p = 0.4 and q = 0.6. Calculate the probability of the stated outcome. Check your answer using technology. (Round your answer to four decimal places.) Three successes P(X =...
You must decide which of two discrete distributions a random variable X has. We will call...
You must decide which of two discrete distributions a random variable X has. We will call the distributions p0 and p1. Here are the probabilities they assign to the values x of X: x 0 1 2 3 4 5 6 p0 0.1 0.1 0.2 0.3 0.1 0.1 0.1 p1 0.1 0.3 0.2 0.1 0.1 0.1 0.1 You have a single observation on X and wish to test H0: p0 is correct Ha: p1 is correct One possible decision procedure...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT