100%(1)1 out of 1 people found this document helpful
This preview shows page 1 - 8 out of 53 pages.
Structures and Unions
Growth of Bacteria Problem•Depending on the growth requirements of the bacteria and the information that the scientist hopes to gain, various types of growth media are available for culturing bacteria. Culturing means cultivating bacteria in a microbiology laboratory environment•Basic concept for the MPN (Most Probable Number) method is to dilute the sample to such a degree that inocula in the tubes will sometimes (but not always) contain viable organisms. By replicates, and dilution series, this will result in a fairly accurate estimate of the most probable number of cells in the sample
Growth of Bacteria ProblemThree sets of five tubes are taken. First set of five tubes of nutrient medium receives 10 ml of the sample. Second set of five tubes receives 1 ml of sample per tube, and in each of a third set of five tubes, only 0.1 ml of sample is placed. Each tube in which bacterial growth is observed is recorded as a positive. Numbers for the three groups are combined to create a triplet such as 5-2-1.
Growth of Bacteria Problem5-2-1 means that all five tubes receiving 10 ml of sample show bacterial growth, only two tubes in the 1-ml group show growth, and only one of the 0.1-ml group is positive. A microbiologist would use this combination-of-positives triplet as an index to a table like the table below to determine that the most probable number of bacteria per 100 ml.
Growth of Bacteria ProblemFor the combination of positives of 5-2-1, most probable number of bacteria per 100 ml of the sample is 70 and 95 percent of the samples yielding this triplet contain between 30 and 210 bacteria per 100 ml. Given the table and a combination-of-positives triplet, develop an algorithm and write a C program to return the index of combination-of-positives that component matches the target or -1 if not found.
Algorithm for Bacteria Growth Problem•Read the number of entries in the table•For each entry in the table read Combination of