Placement AptitudeHardTCS NQT · Infosys
Six interns, including Tom, Riya and Sam, are to sit in a row of 6 desks. Tom insists on an end desk, and Riya and Sam refuse to sit at adjacent desks. In how many ways can the six be seated?
- A. 144
- B. 240
- C. 192
- D. 72
Correct answer: A. 144
Tom has 2 end desks; the other 5 occupy a block of 5 consecutive desks, where Riya and Sam are adjacent in 2 × 4! = 48 of the 5! = 120 orders, leaving 72. Total = 2 × 72 = 144. 192 subtracts only one order of the adjacent pair; 72 forgets Tom's two choices.
Practise more Permutations, Combinations and Probability (Placement) questionsPermutations, Combinations and Probability (Placement): notes and key points
More Permutations, Combinations and Probability (Placement) questions
- Five married couples attend a reunion. Each person shakes hands once with every other person except his or her own spouse. How many…
- At the end of a workshop, the 20 participants' ID badges are handed back in a completely random order, one badge per person. What is the…
- A staircase has 8 steps. Kavya climbs it taking 1, 2 or 3 steps at a time, in any order. In how many different ways can she reach the top?
- A 4-member committee is to be formed from 5 married couples so that it contains exactly one married couple. In how many ways can this be…
- Two cards are drawn together from a well-shuffled pack of 52. What is the probability that they are of the same suit or of the same rank?
- Two fair dice are thrown and the product of the numbers is found to be even. What is the probability that their sum is also even?