Challenge Problems( Week 50 Practice) 1. There are 5 colors for all my crayons. All my crayons are green except 18. All my crayons are either gray or red except 11. All my crayons are either blue or yellow except 13. How many crayons do I have? 2. Curtis sells shoes to make a living. One day, a customer came to buy a pair of shoes with a $100 bill. The cost of a pair of shoes was $61, and and the price was $70. Curtis had no change at the time, so he exchanged the $100 bill for 100 one-dollar bills with Morgan. The customer took the shoes and $30 of change. Later, Morgan found that the $100 bill Curtis exchanged with her is a counterfeit bill, so Curtis had to pay back the money to Morgan. How much (in dollars) did Curtis lose in the sale? 3. Bubble sort is a simple sorting algorithm that works by repeatedly stepping through the list to be sorted, comparing each pair of adjacent items and swapping them if they are in the wrong order. The pass through the list is repeated until no swaps are needed, which indicates that the list is sorted. The algorithm gets its name from the way smaller elements "bubble" to the top of the list.The sequence of the following numbers [9, 6, 3, 2, 5] if sorted by bubble sort into the order from smallest to biggest. How many swaps will happen during the sorting? 4. The weight of a glass bowl half filled with water is 61 ounces. If the bowl is full, the total weight of the bowl and water is 91 ounces. What is the weight of the bowl (in ounces)? 5. There are a total of 38 bicycles and tricycles with a total of 97 wheels. How many tricycles are there? |