Placement AptitudeHardCognizant · Capgemini pattern

7 distinct books are returned at random to 7 students, each of whom had borrowed exactly one book. In how many ways can exactly 5 students receive their own book back?

  1. A. 42
  2. B. 7
  3. C. 21
  4. D. 105

Correct answer: C. 21

Choose the 5 students who get their own book: C(7,5)=21. The other 2 books must be swapped between the remaining 2 students: D2=1. Total 21x1=21.

More Permutations, Combinations and Probability (Placement) questions

Exams that ask this topic