In: Math
Two students take the same test which consists of 5 questions, each one with 5 answers, each one with only 1 correct answer. If the students respond the test randomly
i) What is the probability that both of the students get the same number of correct answers?
ii) Find the probability that both tests are the same (assume that each test is independent from each other)
iii) What is the expected number of correct answers for each student?
iv) What is the probability that both students pass the test if they have to get at least 3 correct answers to pass it?
i)
Let X and Y be the number of correct answers by both students. Then,
X ~ Bin(n = 5, p = 1/5) and Y ~ Bin(n = 5, p = 1/5)
and X and Y are independent that is P(X = x, Y = y) = P(X = x) P(Y = y)
Probability that both of the students get the same number of
correct answers =
P(X = x, Y = x)
= P(X = 0) * P(Y = 0 ) + P(X = 1) * P(Y = 1 ) + P(X = 2) * P(Y = 2 ) + P(X = 3) * P(Y = 3 ) + P(X = 4) * P(Y = 4 ) + P(X = 5) * P(Y = 5 )
= ( 5C0 0.20 * 0.85 )2 + ( 5C1 0.21 * 0.84 )2 + ( 5C2 0.22 * 0.83 )2 + ( 5C3 0.23 * 0.82 )2 + ( 5C4 0.24 * 0.81 )2 + ( 5C5 0.25 * 0.80 )2
= 0.31975188
ii)
Assuming there are only two tests, then the probability that both tests are the same
= Probability that same tests was chosen by both students = (1/2) * (1/2) = 1/4
iii)
Expected number of correct answers for each student = n * p = 5 * 0.2 = 1
iv)
Probability that both students pass the test if they have to get at least 3 correct answers to pass it
= P(X
3) * P(Y
3)
= [P(X = 3) + P(X = 4) + P(X = 5)] * [P(Y = 3) + P(Y = 4) + P(Y = 5)]
= [( 5C3 0.23 * 0.82 ) + ( 5C4 0.24 * 0.81 ) + ( 5C5 0.25 * 0.80 )] * [( 5C3 0.23 * 0.82 ) + ( 5C4 0.24 * 0.81 ) + ( 5C5 0.25 * 0.80 )]
= [( 5C3 0.23 * 0.82 ) + ( 5C4 0.24 * 0.81 ) + ( 5C5 0.25 * 0.80 )] 2
= (0.05120 + 0.00640 + 0.00032)2
= 0.0033547264