A pizzeria lets you choose 3, 4 or 5 different toppings from a list of 8 that includes mushroom, olive, paneer and corn. Mushroom and olive may not both be on the same pizza, and every pizza must have paneer or corn (or both). How many different pizzas can be ordered?
Competency-Based Questions (CBQ) · Question 57 of 80
A pizzeria lets you choose 3, 4 or 5 different toppings from a list of 8 that includes mushroom, olive, paneer and corn.
Question 571 markMCQHard
Select your answer
(A)
(B)
(C)
- Correct answer
(D)
Option (D) is correct.
Explanation: Split the 8 toppings into three groups: {mushroom, olive}, {paneer, corn} and the 4 other toppings. Call the 6 toppings other than mushroom and olive the "free" toppings.
Rule 1 (cases). A pizza has none of mushroom and olive, or exactly one of them (2 ways).
Rule 2 (complement). The number of ways to pick free toppings with paneer or corn (or both) is all picks minus the picks using only the 4 others:
So , , and .
| Toppings | No mushroom or olive | Exactly one of them | Total |
|---|---|---|---|
| 3 | 34 | ||
| 4 | 46 | ||
| 5 | 34 |
Why the other options are wrong
- (A) keeps the mushroom-olive rule but counts only pizzas with exactly one of paneer and corn. "Paneer or corn (or both)" also allows pizzas with both, such as paneer, corn and one other topping.
- (B) ignores both rules.
- (C) applies only the paneer-or-corn rule. It still allows mushroom and olive together.
