Mathematics (JEE)ModerateJEE Main
The number of onto functions from {1, 2, 3, 4} to {a, b} is:
- A. 16
- B. 8
- C. 12
- D. 14
Correct answer: D. 14
Of the 2⁴ = 16 functions, only the two constant functions miss a value. So 16 − 2 = 14 are onto.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- The number of ways of choosing two squares of an 8 × 8 chessboard that share a common side is:
- A positive divisor of 360 is chosen at random. The probability that it is a perfect square is:
- A and B are independent events with P(A ∩ B) = 1/6 and P(A′ ∩ B′) = 1/3, where P(A) > P(B). Then P(A) equals:
- The number of permutations of 1, 2, 3, 4, 5, 6 that leave exactly two of the numbers in their original positions is:
- A box has three coins: one with heads on both sides, one fair, and one that shows heads with probability 1/3. A coin is picked at random…
- A person climbs a staircase of 10 steps, taking either one or two steps at a time. The number of different ways of reaching the top is: