Mathematics (JEE)HardGATE CS
How many binary strings of length 7 have exactly three 1s, and no two 1s adjacent?
- A. 35
- B. 20
- C. 10
- D. 15
Correct answer: C. 10
Place the three 1s among the 4 zeros' gaps: the 4 zeros create 5 gaps, and each 1 goes into a distinct gap: C(5,3) = 10.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- How many rectangles have all four vertices among the 10 vertices of a regular decagon?
- How many sequences of six +1s and six −1s have every partial sum non-negative?
- How many lattice paths from (0, 0) to (4, 4) with unit East and North steps touch the diagonal y = x only at their two endpoints?
- How many integers from 1 to 1000 are divisible by 7 but divisible by none of 2, 3 and 5?
- How many arrangements of 3 identical red, 2 identical blue and 4 identical green balls in a row have no two green balls adjacent?
- In how many ways can 4 married couples be seated in a row of 8 chairs so that no couple sits next to each other?