Jordan University College Second Semester 2024/2025
Department of Information Science Statistics and Probability (BCS211)
BSc. Computer Science II Date: 9 June 2025
PROBABILITY AND STATISTICS
TUTORIAL#1
SOLUTION
Every student should attempt:
1. Find the probability of getting a numbered card when a card is drawn from the pack of 52
cards.
Solution:
Total Cards = 52. Numbered Cards = (2, 3, 4, 5, 6, 7, 8, 9, 10) 9 from each suit 4 × 9 = 36
P (E) = 36/52 = 9/13
2. There are 5 green 7 red balls. Two balls are selected one by one without replacement. Find the
probability that first is green and second is red.
Solution: P (G) × P (R) = (5/12) x (7/11) = 35/132
3. In how many ways can 7 people be seated at a round table if (a) they can sit anywhere, (b) 2
particular people must not sit next to each other?
Solution
4. What is the probability of getting a sum of 7 when two dice are thrown?
Solution:
Probability math - Total number of ways = 6 × 6 = 36 ways. Favorable cases = (1, 6) (6, 1) (2,
5) (5, 2) (3, 4) (4, 3) --- 6 ways. P (A) = 6/36 = 1/6
5. A coin is thrown 3 times .what is the probability that atleast one head is obtained?
Solution:
Sample space = [HHH, HHT, HTH, THH, TTH, THT, HTT, TTT]
Total number of ways = 2 × 2 × 2 = 8. Fav. Cases = 7
P (A) = 7/8
OR
P (of getting at least one head) = 1 – P (no head) ⇒ 1 – (1/8) = 7/8
6. Two cards are drawn from the pack of 52 cards. Find the probability that both are diamonds or
both are kings.
__
Jordan University College Second Semester 2024/2025
Department of Information Science Statistics and Probability (BCS211)
BSc. Computer Science II Date: 9 June 2025
Sol: Total no. of ways = 52C2
Case I: Both are diamonds = 13C2
Case II: Both are kings = 4C2
P (both are diamonds or both are kings) = (13C2 + 4C2 ) / 52C2
7. Find the probability of getting two heads when five coins are tossed.
Sol: Number of ways of getting two heads = 5C2 = 10. Total Number of ways = 25 = 32
P (two heads) = 10/32 = 5/16
8. Fifteen people sit around a circular table. What are odds against two particular people sitting
together?
Sol: 15 persons can be seated in 14! Ways. No. of ways in which two particular people sit
together is 13! × 2!
The probability of two particular persons sitting together 13!2! / 14! = 1/7
Odds against the event = 6 : 1
9. A card is drawn at random from an ordinary deck of 52 playing cards. Find the probability that
it is (a) an ace, (b) a jack of hearts, (c) a three of clubs or a six of diamonds, (d) a heart, (e) any
suit except hearts, (f) a ten or a spade, (g) neither a four nor a club.
Solution
__
Jordan University College Second Semester 2024/2025
Department of Information Science Statistics and Probability (BCS211)
BSc. Computer Science II Date: 9 June 2025
10. Find the probability of a 4 turning up at least once in two tosses of a fair die
Solution
11. Four different mathematics books, six different physics books, and two different chemistry
books are to be arranged on a shelf. How many different arrangements are possible if (a) the
books in each particular subject must all stand together, (b) only the mathematics books must
stand together?
Solution
12. In the game of poker 5 cards are drawn from a pack of 52 well-shuffled cards. Find the
probability that (a) 4 are aces, (b) 4 are aces and 1 is a king, (c) 3 are tens and 2 are jacks, (d)
a nine, ten, jack, queen, king are obtained in any order.
Solution
__
Jordan University College Second Semester 2024/2025
Department of Information Science Statistics and Probability (BCS211)
BSc. Computer Science II Date: 9 June 2025
__