Mathematics (JEE)ModerateCAT · MBA placement
How many surjective functions are there from {1, 2, 3, 4, 5} onto {1, 2}?
- A. 30
- B. 32
- C. 10
- D. 20
Correct answer: A. 30
Surjections onto a 2-element set: 2⁵ − 2 = 30. Option 32 is 2⁵, which allows functions missing an element.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- Two fair dice are rolled. Given that the first die shows an odd number, what is the probability that the sum is 7?
- A 4-digit PIN is chosen with each digit independently and uniformly from 0 to 9. What is the probability that every digit of the PIN is…
- Cards are dealt one at a time from a well-shuffled 52-card pack. What is the probability that the first ace is not the first card?
- A fair coin is tossed 4 times. Given that the first toss is tails, what is the probability of exactly two heads in total?
- A 3-letter word is chosen uniformly at random from the 8 words over {a, b}. What is the probability that the word contains the substring ab?
- A fair coin is tossed 3 times. Given that at least one head appears, what is the expected number of heads?