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?
Solution :
The correct option is 81.
Let us break down the solution step-by-step:
Step 1: Understand the grid layout
The problem states that 9 cups are arranged in an equal number of rows and columns. Since the total number of cups is 9, they must be arranged in a 3 × 3 grid, consisting of 3 rows and 3 columns. We have:
- Total cups = 9
- Cups containing coffee (C) = 6
- Cups containing tea (T) = 3
Step 2: Find the total number of unrestricted arrangements
The total number of ways to arrange 6 identical coffee cups and 3 identical tea cups in the 9 grid positions is given by the combination formula:
Step 3: Identify the invalid arrangements
We want to find the number of ways where each row contains at least one cup of coffee. The complement (invalid case) of this condition is that at least one row contains no coffee cups at all. Since each row has exactly 3 positions, a row with no coffee must be filled entirely with 3 tea cups.
Because there are only 3 tea cups in total, at most one row can consist entirely of tea. Thus, the invalid arrangements are those where exactly one of the rows contains all 3 tea cups. We can choose which row contains all tea cups in:
Once a row is chosen to be filled with 3 tea cups, the remaining 6 positions in the other two rows must be filled with the 6 coffee cups, which can only be done in 1 way.
Therefore, there are exactly 3 invalid arrangements (where either Row 1, Row 2, or Row 3 contains only tea).
Step 4: Calculate the valid arrangements
Subtract the invalid arrangements from the total arrangements to get the number of ways each row has at least one cup of coffee:
Completely free for students. Educators & coaching institutes get 2 months free Pro trial to create tests.
Access unlimited practice questions, detailed step-by-step solutions, and exam study materials — completely free for students.
Create and conduct professional online assessments with AI question generation, tab proctoring, and comprehensive batch management.
A comprehensive SSC MTS 2026 Mock Test 4 designed to help aspirants strengthen their preparation and improve their performance for the Staff Selection Commission Multi-Tasking Staff examination. This mock test covers all major sections including Numerical and Mathematical Ability, Reasoning Ability and Problem Solving, General Awareness, and English Language and Comprehension. It includes a balanced combination of conceptual, analytical, and exam-oriented multiple-choice questions aligned with the latest SSC MTS syllabus and exam pattern. Ideal for practice, revision, self-evaluation, accuracy improvement, speed enhancement, and effective time management, this mock test helps candidates assess their exam readiness, identify improvement areas, and build confidence for the SSC MTS 2026 examination
A comprehensive SSC MTS 2026 Mock Test 3 designed to help aspirants prepare thoroughly for the Staff Selection Commission Multi-Tasking Staff examination. This mock test covers all important sections including Numerical and Mathematical Ability, Reasoning Ability and Problem Solving, General Awareness, and English Language and Comprehension. It features a carefully curated set of multiple-choice questions that test conceptual understanding, logical reasoning, problem-solving skills, speed, and accuracy in accordance with the latest SSC MTS exam pattern. Ideal for practice, revision, self-assessment, performance evaluation, and time management improvement, this mock test enables candidates to identify strengths and weaknesses while building confidence for the SSC MTS 2026 examination.
Copyright © 2026 Combe Labs Private Limited. All Rights Reserved.