Mathematics (JEE)ModerateGATE CS
How many compositions (ordered sums) of 5 into exactly 2 positive parts are there?
- A. 5
- B. 6
- C. 4
- D. 3
Correct answer: C. 4
The two parts (a, b) with a + b = 5 and a, b ≥ 1 are (1,4), (2,3), (3,2), (4,1): 4 ways. Option 5 forgets that a must be at least 1.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- A set of 5 distinct elements is split into 2 non-empty blocks, each block containing at least 2 elements. How many such splits are there?
- How many surjective functions are there from {1, 2, 3, 4, 5} onto {1, 2}?
- 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?