Question
There are 3 red socks, 4 green socks and 3 blue socks. You choose 2 socks. The probability that they are of the same colour is
Official answer and solution
- Official answer
- D
- From
- Official GATE 2017 answer key
Solution
Calculate the total number of ways to choose 2 socks out of 10 and the number of ways to choose 2 socks of identical colour.
Total number of socks is socks.
The total number of ways to pick any 2 socks without replacement is:
Count the favorable outcomes where both selected socks have the same colour:
- Both red:
- Both green:
- Both blue:
Total favorable outcomes:
Therefore, the probability is:
This matches option D.
D
Computing probability with replacement () instead of without replacement.
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2017 Computer Science and Information Technology (CS) Session 2
- Question
- 60 of 65, printed as GA Q.5
- Section
- General Aptitude
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.