Placement AptitudeHardAmazon OA · CAT
How many binary strings of length 10 contain exactly four 1's, with no two 1's next to each other?
- A. 35
- B. 210
- C. 70
- D. 56
Correct answer: A. 35
Lay down the six 0's; they create 7 gaps (including both ends), and the four 1's must go into 4 different gaps: C(7, 4) = 35. 210 = C(10, 4) ignores the restriction.
Practise more Permutations, Combinations and Probability (Placement) questionsPermutations, Combinations and Probability (Placement): notes and key points
More Permutations, Combinations and Probability (Placement) questions
- Four vertices of a regular 12-sided polygon are chosen. In how many ways can they be chosen so that they form a rectangle?
- Three vertices of a regular 12-sided polygon are chosen to form a triangle. How many of these triangles are right-angled?
- A 5 × 5 array of dots (equally spaced, 4 units across) is drawn. How many squares have all four corners on these dots, counting tilted…
- Three of the eight corners of a cube are chosen at random. What is the probability that they form an equilateral triangle?
- Three different numbers are chosen at random from 1, 2, …, 10. What is the probability that no two of them are consecutive?
- How many integers from 1 to 1000 are divisible by none of 2, 3 and 5?