1.An art teacher has supplies for her kids to use for their next art project. To complete this project each child selects:
one pencil color from a list of 12
one paper color from a list of 7
one glue type from a list of 2
either straight or zig-zag scissors
one fuzzy colored ball from 9 different colors
The art teacher wants to make sure that each child that participates has a different set of supplies. What is the maximum number of children that can participate in this project?
This is a question of combination. In other words it asks how many different combinations are possible to be obtained if one item is selected in each category.
So if there are n items in a category then 1 item can be selected in n ways. Since nC1=n.
Here we have 5 items Viz 12 pencil, 7paper ,2 glue, 2 scissors and 9 fuzzy balls.
So if we select one item from each set then to total different no of combination will be
12*7*2*2*9=3024.
So 3024 students can take part in the project.
1.An art teacher has supplies for her kids to use for their next art project. To...
A school teacher has a list of leftover school supplies from previous semesters. The teacher would like to maintain an ordered list of the supplies. Write a program in C that reads in the data (a list of supplies in random order) from a file, orders the items by name, and writes the ordered list to the output file. Assume the input file has the format of color (one word string), name, followed by quantity (int) with each type of...
Part 1: Tony has been monitoring wildlife around a stream near the Delaware Tech campus for an ongoing Biology project. During his last visit to the stream he noticed that there were rusty-red deposits on a number of the rocks. When he scooped up some of the water he saw that it appeared to be cloudy and had a yellowish tint. He thought it smelled slightly metallic. However, he did not observe any signs that wildlife had been harmed At...