Placement AptitudeHardTCS NQT · Infosys
Five different books A, B, C, D, E are arranged on a shelf. Book C must be at one of the two ends, and books A and B must not be side by side. How many arrangements are possible?
- A. 48
- B. 36
- C. 24
- D. 12
Correct answer: C. 24
Put C at an end (2 ways). The other four books fill four consecutive places: 4! = 24, of which 2 × 3! = 12 have A and B together. So 2 × 12 = 24.
Practise more Permutations, Combinations and Probability (Placement) questionsPermutations, Combinations and Probability (Placement): notes and key points
More Permutations, Combinations and Probability (Placement) questions
- In how many arrangements of the letters of PROBABILITY are the two I's NOT next to each other?
- A student guesses every answer in a test of 10 true/false questions. What is the probability that at least 8 answers are right?
- Two cards are drawn together from a pack of 52. Given that at least one of them is an ace, what is the probability that both are aces?
- Two cards are drawn together from a pack of 52. Given that one of them is the ace of spades, what is the probability that both are aces?
- A man has 5 keys, exactly one of which opens a lock. He tries them one by one at random, never trying a key twice. What is the expected…
- A set of 5 parallel lines is crossed by another set of 4 parallel lines (not parallel to the first set). How many parallelograms are formed?