CSCA67H3 Study Guide - Midterm Guide: Pseudocode, Global Variable, Sample Space

137 views10 pages
whitewalnut0803 and 38507 others unlocked
CSCA67H3 Full Course Notes
6
CSCA67H3 Full Course Notes
Verified Note
6 documents

Document Summary

Midterm exercise: homer"s pizza is advertising the following deal: 3 pizzas, up to 4 toppings each, 10 toppings to choose from. 3 soft drinks, 5 varieties to choose from total cost . 99. The pizza toppings must be unique double, triple, or quadruple toppings are not allowed. The order of the toppings is not relevant, and 3 of the same pizza and/or 3 of the same soft drink is allowed. Homer"s pizza is setting up an advertising campaign and would like to brag about the total number of combinations to choose from. Show all of your work intermediate formulae and final answer. To calculate the total combinations, i must calculate the number of combinations for 1 pizza. The order of the topping on the pizza does not matter so i will also have to divide it by the number of times i am over counting the combinations. 3 toppings (10 * 9 * 8)/3!

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers

Related Documents