UPSC PYQPrelims 2022

Civil Services Examination · Question 77

There are 9 cups placed on a table arranged in equal number of rows and columns out of which 6 cups contain coffee and 3 cups contain tea. In how many ways can they be arranged so that each row should contain at least one cup of coffee?

  1. 18

  2. 27

  3. 54

  4. 81

Show answer & explanationShow explanation

Answer: (D) 81

Explanation

Given: 9 cups are arranged in a 3 × 3 grid (3 rows, 3 columns), with 6 identical coffee cups and 3 identical tea cups. Total Unconstrained Ways: Total ways to choose 3 positions out of 9 for the 3 tea cups = ⁹C₃ = (9 × 8 × 7) ÷ (3 × 2 × 1) = 84. Subtract Invalid Cases: A row fails to have at least one coffee cup only if all 3 tea cups are placed in that single row. Since there are 3 rows, there are exactly 3 such invalid arrangements. Result: Valid arrangements = 84 − 3 = 81. Correct Answer: (d) 81

Diagram explaining the answer