Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

sert Page Layout References MailingsReview View sert Format Tools Table Referenc

ID: 3068621 • Letter: S

Question

sert Page Layout References MailingsReview View sert Format Tools Table Reference Mailings Window- Help E. Toolbars Three problems in total related to Chapter 2 of the textbook: 1. Five computer program modules are ranked as M, M2, Ms, Ms, and Ms according to the ascending order of effort required to debug them, among which Mi requires the least amount of Is requires the most amount of effort. A software engineer must randomly select three program modules from the five modules. He (or she) does not know the amount of effort each swer the following questions: a) What is the sample space? b) Let A be the event that one selected module requires the least amount of effort. List the outcomes in A, and calculate the probability of A. c) Let B be the event that the one selected module requires the most effort. List the outcomes in B, and calculate the probability of B. d) List the outcomes in the compound event A n B, and calculate the probability of it e) List the outcomes in the compound event A UB, and calculate the probability of it. f) List the outcomes in the compound event AnB, and calculate the probability of it g) List the outcomes in the compound event A U B, and calculate the probability of it h) Are events A and B mutually exclusive? Explain why

Explanation / Answer

Engineer select three program out of 5

this can be done in C(5,3)=10ways

A)sample space is selecting 3 program out of 5

(M1,M2,M3),(M1,M2,M4)(M1,M2,M5)(M1,M3,M4)(M1,M3,M5),(M1,M4,M5)(M2,M3,M4)(M2,M3,M5)(M2,M4,M5),(M3,M4,M5)

b)

A=least amount of effort MODULE wHICH INCLUDE M1

possible outcomes(M1,M2,M3),(M1,M2,M4)(M1,M2,M5)(M1,M3,M4)(M1,M3,M5),(M1,M4,M5)=6

p(A)=6/10=0.6

.............................

c)B=most effort i.e M5

possible outcomes=(M1,M2,M5)(M1,M3,M5)(M1,M4,M5)(M2,M3,M5)(M2,M4,M5),(M3,M4,M5)=6

P(B)=6/10=0.6

-----------------------------------

d)A intersection B=(M1,M2,M5),(M1,M3,M5),(M1,M4,M5)

P(A intersection B) =3/10=0.3

--------------------------

e)(A union B)=(M1,M2,M3),(M1,M2,M4)(M1,M2,M5)(M1,M3,M4)(M1,M3,M5),(M1,M4,M5)(M2,M3,M5)(M2,M4,M5),(M3,M4,M5)=9

P(A union B)=9/10