Page 178 - Data Science class 11
P. 178
<Student>Parul</Student>
</Students>
</Section>
<Section>
<Name>Class 11-Section B</Name>
<Students>
<Student>Grisha</Student>
<Student>Divya</Student>
<Student>Varun</Student>
<Student>Nishant</Student>
</Students>
</Section>
</Sections>
</Class>
Example 2: Choices for Pizza Toppings
Shown below is a list of choices among people for different types of pizza toppings:
• Pepperoni. • Black olives
• Mushroom • Green pepper.
• Extra cheese. • Fresh garlic
• Sausage • Tomato
• Onion. • Fresh basil
Generally, western pizzas are mild in taste but as Indians, we all like our food being spiced up we have our own
variation in pizzas. The taste of pizzas differ from brand to brand and country to country. We even have different
options for the size of crust.
Let us now consider a poll conducted in the US regarding the pizza toppings preferences among the US adults. In a
poll of more than 6,000 US adults, America’s favorite pizza topping is pepperoni. About two-thirds (64%) of Americans
say they like this topping. Other popular additions among US adults are sausage (56%), mushrooms (54%), extra
cheese (52%), and onions (48%).
64% 56% 54% 52% 48%
Pepperon Sausage Mushrooms Extra cheese Onions
This can be shown in tabular format as below:
Pizza Topping People choice
Pepperoni 64%
Sausage 56%
Mushrooms 54%
Extra cheese 52%
Onions 48%
176 Touchpad Data Science-XI

