A cafeteria offers 5 types of sandwiches. Moreover, for each type of sandwich, a customer can choose one of 4 breads and opt for either small or large sized sandwich. Optionally, the customer may also add up to 2 out of 6 available sauces. The number of different ways in which an order can be placed for a sandwich, is
Solution :
The correct answer is 880.
To determine the total number of ways an order can be placed for a sandwich, we need to calculate the number of choices available for each component of the order and then multiply them together using the fundamental counting principle.
Let's break down the choices step-by-step:
Step 1: Choose the sandwich type
The cafeteria offers 5 different types of sandwiches. So, there are 5 ways to choose the sandwich type.
Step 2: Choose the bread
For each sandwich type, a customer can select from 4 different breads. So, there are 4 ways to choose the bread.
Step 3: Choose the size
A sandwich can be either small or large. This gives us 2 ways to choose the size.
Step 4: Choose the sauces
The customer can optionally add "up to 2" out of 6 available sauces. This means the customer can choose exactly 0 sauces, 1 sauce, or 2 sauces. We use combinations (nCr) to find the number of ways for each scenario:
Choosing 0 sauces: 6C0 = 1 way.
Choosing 1 sauce: 6C1 = 6 ways.
Choosing 2 sauces: 6C2 = (6 × 5) / (2 × 1) = 15 ways.
The total number of ways to choose the sauces is the sum of these possibilities:
So, there are 22 ways to select the sauces.
Step 5: Calculate the total number of ways
Finally, we multiply the number of choices for each component to find the overall number of different orders that can be placed:
Total ways = (Choices for sandwich type) × (Choices for bread) × (Choices for size) × (Choices for sauces)
Therefore, there are 880 different ways to order a sandwich.
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 JEE Advanced 2022 Paper 1 designed to help aspirants understand the examination pattern, difficulty level, and question trends of JEE Advanced. This paper covers important concepts from Physics, Chemistry, and Mathematics, featuring a balanced mix of conceptual, numerical, and advanced application-based questions. It helps students strengthen conceptual understanding, enhance analytical and problem-solving skills, and improve speed and accuracy. Ideal for practice, revision, self-assessment, previous year trend analysis, concept reinforcement, and time management, this paper is a valuable resource for effective JEE Advanced preparation.
A comprehensive JEE Advanced 2022 Paper 2 designed to help aspirants understand the examination pattern, difficulty level, and question trends of JEE Advanced. This paper covers important concepts from Physics, Chemistry, and Mathematics, featuring a balanced mix of conceptual, numerical, and advanced application-based questions. It helps students strengthen conceptual understanding, enhance analytical and problem-solving skills, and improve speed and accuracy. Ideal for practice, revision, self-assessment, previous year trend analysis, concept reinforcement, and time management, this paper is a valuable resource for effective JEE Advanced preparation.
Copyright © 2026 Combe Labs Private Limited. All Rights Reserved.