حل اسئلة احصاء واحتمالية قسم الحاسوب الجامعة المستنصرية نموذج رقم 1
Q1: A: How many "numbers" of three digit and more than "400" can be formed from the digits
{1,2,3,4,5,6}.
Sol//
to find the number of three-digit numbers that can be formed using the digits {1, 2, 3, 4, 5, 6} and greater than 400, we need to consider the possible combinations based on the conditions given.
Since the number needs to be greater than 400, the first digit must be 4 or greater. For the second and third digits, we have all six digits to choose from.
Let's break it down:
Second digit: Any of the six digits {1, 2, 3, 4, 5, 6} (6 possibilities).
Third digit: Any of the six digits {1, 2, 3, 4, 5, 6} (6 possibilities).
Using the multiplication principle, the total number of three-digit numbers greater than 400 that can be formed is:
So, there are 108 three-digit numbers that can be formed from the digits {1, 2, 3, 4, 5, 6} and are greater than 400.
B: For the experiment of rolling 2 dices, what the probability of at least one of the two dices is
3?
Sol//
To find the probability of at least one of the two dice showing a 3 when rolled, we can use the principle of complementary probability.
First, let's find the probability of the complement event, which is the probability of neither die showing a 3.
Each die has 6 possible outcomes, so there are total outcomes when rolling two dice.
The number of outcomes where neither die shows a 3 is the number of outcomes when both dice show a number other than 3. Since each die has 5 outcomes other than 3, the number of outcomes where neither die shows a 3 is .
Now, the probability of neither die showing a 3 is:
Since this is the complement event, the probability of at least one die showing a 3 is:
So, the probability of at least one of the two dice showing a 3 is .
O2:A: Suppose that S={a1,a2,a3,a4}, then find P(a1) if you know P(a2)= 1/3 , P(a3)= 1/6,
P(a4)= 1/9.
Sol//
Given:
We know that the sum of probabilities of all outcomes in a sample space is 1. Therefore,
We substitute the known probabilities:
So, .
B: The production of 3 machines A;B and C are 0:50; 0:30 and 0:20, respectively. The rate of
bad production are 0:03; 0:04 and 0:05, respectively. If we choose one material of the
production randomly, what is the probability of this material to be bad?
Sol//
Given:
Substituting the values:
Therefore, the probability of selecting a defective product randomly is or .
Q3: A: Prove or disprove the following statement: If A, B and C are pairwise independence events, then P(A∩B∩C)= P(A)*P(B)*P(C).
Sol//
The statement "If , , and are pairwise independent events, then " is not necessarily true.
Pairwise independence means that any pair of events is independent, but it does not imply independence among all three events simultaneously.
To disprove the statement, we can provide a counterexample:
Let's consider three events , , and such that:
- (each event has probability )
- (each pair of events is mutually exclusive)
Now, let's calculate :
However,
Therefore, the statement is disproved. Pairwise independence does not guarantee independence among all three events simultaneously.
B: For the experiment of tossing a coin 3 times, let A is the event when the first tossing is H, B
is the event when the second tossing is H and C is the event when we get exactly two
consecutive H. Show that A, B and C are pairwise independent or not.
Sol//
To determine if events , , and are pairwise independent, we need to check if any two of these events are independent of each other.
Two events and are independent if and only if:
Let's evaluate the pairwise independence of events , , and :
- Pairwise independence of and :
Since , events and are independent.
- Pairwise independence of and :
Since , events and are not independent.
- Pairwise independence of and :
Since , events and are not independent.
Q4: A: The sample space for the experiment of tossing a dice once is S={H,T} , find the sigma Field.
Sol//
Therefore, the sigma field for the sample space is:
B: How many words of 3 distinct letters can be formed from the letters of the word
“MAST”?
Sol//
In the word "MAST", there are 4 distinct letters, so . We want to form words of 3 distinct letters, so .
Substituting these values into the permutation formula:
Therefore, there are words of 3 distinct letters that can be formed from the letters of the word "MAST".
Q5: Answer only (two) of the following:
A: Prove that P(A∪B)≤P(A)⋅P(B) .
sol//
The statement is generally false. In fact, is usually greater than due to the presence of common transitions between events A and B.
Let's provide a simple example:
- Suppose we have a sample set S containing 100 elements.
- Assume we have events A and B, where:
- , meaning 60% of the elements in S belong to A.
- , meaning 70% of the elements in S belong to B.
- Let's assume we have common transitions between A and B of 0.3 (meaning 30%).
- In this case:
- (since the result cannot exceed 1).
- (as common transitions here are considered an increase in transitions, not a deduction).
Thus, in this example, we find that is greater than .
Therefore, the statement is generally false.
B: What is the probability of getting the number 5 for the experiment of rolling a dice once?
Sol//
In a standard six-sided die, each face has an equal probability of occurring. Since there is only one face with the number 5, the probability of rolling a 5 on a single roll of a six-sided die is:
So, the probability of getting the number 5 for the experiment of rolling a dice once is .
C: In how many ways can the letters of English alphabet be arrange so that there are exactly
10 letters between A and Z.
Sol//
Since there are 26 letters in the English alphabet, and we are fixing 12 positions (1 for A, 10 in between, and 1 for Z), we are left with remaining letters to arrange in the remaining positions.
The number of ways to arrange 14 distinct objects in the remaining positions is given by the factorial of 14, denoted as .