Write a program that will find the class average of fifteen (15) test scores for five (5) different tests. The class average must be stored into an integer array. You are to have three separate arrays: Note: _jd represents the initials of the programmer. Your array and function names should be named by replace the initials jd with your first and last initials Arrays Student Names Scores Averages Name of array students_jd scores_jd averages_jd Size of array [15][10] [15][5] .[5] Data for array Initialized in code Read from data file Calculated and stored Excluding the main function, your program should have three additional functions that will get the scores, calculate the averages and display your output. Functions Read Input File Calculate Average Output Results Name of function get_jd calc_jd prt_jd Properties of function Called from main Called from main Called from main Definition of Function Should pass scores array and add data to array Should pass average array and add averages to array Should pass students, scores and average array and print data Data file should be named da
In: Computer Science
An amateur meteorologist wants to keep track of weather conditions during the past year's three -month summer season and has designated each day as either rainy ('R'), cloudy ('C'), or sunny ('S'). Write a modu lar program that stores this information in a 3 x 30 array of characters, where the row indicates the month (0 = June, 1 = July, 2 = August) and the column indicates the day of the month. Note that data is not being collected for the 31st of any month . The program should begin by calling a function to read the weather data in from a file. Then it should create a report that displays for each month and for the whole three-month period, how many days were rainy, how many were cloudy, and how many were sunny. To help it do this, it should use a value -returning function that is passed the array, the number of the month to examine, and the character to look for ('R', 'C', or 'S') . This function shou ld return the number of days the indicated month had the requested weather. Data for the program can be found in the Rai nOrShi ne. da t file located in the Chapter 8 programs folder on this book's companion website. please do this program in c++ and please add comments.
In: Computer Science
QUESTION 1
There are several mechanisms in common between photosynthesis and respiration. One of these similarities is:
|
a. Chlorophyll is used to move electrons |
||
|
b. Acetyl-CoA is an intermediate |
||
|
c. A proton gradient is used to drive ATP synthesis |
||
|
d. Copper sulfate is an electron carrier |
2 points
QUESTION 2
When cancer cells are grown in the lab and used for research (like the HeLa cells) we call them:
|
a. Immortal cell lines |
||
|
b. Zombie cells |
||
|
c. Mutants |
||
|
d. Bacterial cell cultures |
2 points
QUESTION 3
A solution of laundry detergent has a pH of 12. This solution is
|
a. Acidic |
||
|
b. Basic |
||
|
c. Neutral |
||
|
d. None of these |
2 points
QUESTION 4
Two atoms share electrons to fill the valence electron shells of each. This is called a/an:
|
a. Covalent bond |
||
|
b. Ionic bond |
||
|
c. Hydrogen bond |
||
|
d. Organic bond |
2 points
QUESTION 5
During the “light reactions” of photosynthesis, chlorophyll molecules use the energy from light to strip away electrons from water and bounce them up to a higher energy level. What is produced as a by-product of the light reactions?
|
a. Oxygen (O2) |
||
|
b. Carbon dioxide (CO2) |
||
|
c. Nitrogen (N2) |
||
|
d. Sugars (C6H12O6) |
2 points
QUESTION 6
In the coding region of a gene, how many DNA bases code for one amino acid?
|
a. One |
||
|
b. Two |
||
|
c. Three |
||
|
d. Four |
2 points
QUESTION 7
Which best describes the function of ALL enzymes:
|
a. Enzymes make biochemical reactions go faster |
||
|
b. Enzymes stabilize biochemicals |
||
|
c. Enzymes help us digest food |
||
|
d. Temporarily store energy in its phosphate bonds |
2 points
QUESTION 8
During Meiosis, “crossing-over” occurs. “Crossing-over” is when:
|
a. Chromosomes line up randomly during metaphase |
||
|
b. One oocyte gets all the cytoplasm |
||
|
c. Homologous chromosomes exchange parts of their DNA |
||
|
d. Jumping genes move |
2 points
QUESTION 9
What kinds of molecules pass through a cell membrane most easily?
|
a. No molecules pass easily |
||
|
b. small and hydrophobic |
||
|
c. hydrophilic |
||
|
d. ions and sugars |
2 points
QUESTION 10
What happens during Telophase of mitosis?
|
a. The sister chromatids split apart |
||
|
b. The cytoplasm and cell membranes separate |
||
|
c. The chromosomes condense and shorten |
||
|
d. Two nuclear membranes reform around the chromosomes |
2 points
QUESTION 11
The definition of DNA mutation is:
|
a. A change to a gene |
||
|
b. A change to the protein product of a gene |
||
|
c. A break in the chromosome |
||
|
d. Any change to the sequence of DNA nucleotides |
2 points
QUESTION 12
An enzyme is inhibited when cAMP binds to the enzyme. cAMP does not bind to the active site, it binds elsewhere and changes the shape of the active site, making the enzyme unable to function. We call this type of inhibition:
|
a. Non-competitive |
||
|
b. Competitive |
||
|
c. Alternate |
||
|
d. Hibernation |
2 points
QUESTION 13
The theory of the endosymbiont origin of mitochondria says that:
|
a. Mitochondria were once free-living bacteria |
||
|
b. Mitochondria evolved from simpler structures |
||
|
c. Mitochondria are actually viruses |
||
|
d. Photosynthesis occurs in the mitochondria |
2 points
QUESTION 14
Carbon has the atomic number of 6. A particular atom of carbon has 6 protons, 6 neutrons and 6 electrons. This atom loses an electron. Now it is:
|
a. Boron, which is atomic number 5 |
||
|
b. An isotope |
||
|
c. An ion |
||
|
d. Carbolic acid |
2 points
QUESTION 15
During the second division of meiosis (meiosis II):
|
a. Homologous chromosomes separate |
||
|
b. Sister chromatids separate |
||
|
c. There is DNA synthesis |
||
|
d. Synapsis occurs |
2 points
QUESTION 16
Viruses have no:
|
a. Metabolism |
||
|
b. Heredity |
||
|
c. Ability to evolve |
||
|
d. Genes |
2 points
QUESTION 17
If a genetic disease is caused by a mutation in a mitochondrial gene, then what sort of inheritance pattern will we see?
|
a. It will be recessive |
||
|
b. Unaffected parents can have an affected child |
||
|
c. It will be a sex-linked trait, seen mostly in boys |
||
|
d. It will be passed from an affected mother to 100% of her children |
2 points
QUESTION 18
The atmosphere of the Earth before life arose was different than today. One difference was that the early atmosphere:
|
a. Contained no oxygen gas |
||
|
b. Contained no carbon dioxide |
||
|
c. Was very dense, like the planet Jupiter |
||
|
d. Was very thin, like Mars |
2 points
QUESTION 19
Which is NOT a component of the cytoskeleton?
|
a. Microtubules |
||
|
b. Actin Filaments |
||
|
c. Intermediate Filaments |
||
|
d. Endoplasmic Reticulum |
In: Biology
Which of these is the best description of DNA in bacteria?
2. Which of these is NOT one of the shapes of bacteria?
3. When bacteria do Conjugation, they are:
4. The cell walls of bacteria are made of:
5. Decomposing bacteria are:
In: Biology
QUESTION #1:
Carbon monoxide and chlorine gas react to form phosgene:
CO(g)+Cl2(g)⇌COCl2(g) Kp = 3.10 at 700 K
If a reaction mixture initially contains 321 torr of CO and 157 torr of Cl2, what is the mole fraction of COCl2 when equilibrium is reached?
QUESTION #2:
Calculate the concentration of all species in a 0.150 M solution of H2CO3
[H2CO3], [HCO−3], [CO2−3], [H3O+], [OH−] = _____?_____
QUESTION #3:
Write the formula for the conjugate base of each of the following acids expressing the answer as a chemical formula: HNO2, H3PO4, HCHO2, HF
In: Chemistry
Titration (Acid-Base Reactions)
If a 18.0 mL sample of 1.5 M solution of each of the following acids is reacted with 0.85 M NaOH, how many milliliters of the NaOH are required for the titration? What is the total volume (in mL) of solution at the equivalence point?
(a) 18.0 mL of HCl titrated with 0.85 M NaOH
-volume of NaOH? mL
-total volume? mL
(b) 18.0 mL of HC2H3O2 titrated with 0.85 M NaOH
-volume of NaOH? mL
-total volume? mL
(c) 18.0 mL of H2SO4 titrated with 0.85 M NaOH
-volume of NaOH? mL
-total volume? mL
In: Chemistry
Titration (Acid-Base Reactions)
If a 17.5 mL sample of 1.3 M solution of each of the following acids is reacted with 0.90 M NaOH, how many milliliters of the NaOH are required for the titration? What is the total volume (in mL) of solution at the equivalence point?
(a) 17.5 mL of H2SO4 titrated with 0.90 M NaOH
-volume of NaOH? mL
-total volume? mL
(b) 17.5 mL of HBr titrated with 0.90 M NaOH
-volume of NaOH? mL
total volume? mL
(c) 17.5 mL of HF titrated with 0.90 M NaOH
-volume of NaOH? mL
-total volume? mL
In: Chemistry
The chief compound in marble is CaCO3. Marble has been widely used for statues and ornamental work on buildings, including such structures as the Taj Mahal (Figure 1) . However, marble is readily attacked by acids via the following reaction. CaCO3(s)+H+(aq)⇌Ca2+(aq)+HCO3−(aq) Equilibrium constants at 25 ∘C are listed in the table below.
CaCO3 Ksp =4.5×10−9
H2CO3 Ka1 =4.3×10−7
H2CO3 Ka2 =5.6×10−11
Part A What is the molar solubility of marble (i.e., [Ca2+] in a saturated solution) in normal rainwater, for which pH=5.60?
In: Chemistry
A mutation in yeast makes it unable to do electron transport. How will this mutation affect these yeast cells? Select all answer options below that are correct. Note--more than one answer option might be correct.
A. The mutant yeast cells will be unable to grow anaerobically.
B. The mutant yeast cells will be unable to grow with fatty acids as carbon source
C. The mutant yeast cells will not be able to survive in the presence of oxygen.
D. The mutant yeast cells will be able to grow with glucose as carbon source.
E. The mutant yeast cells will not be able to regenerate NAD+ so will die.
In: Biology
The chief compound in marble is CaCO3. Marble has been widely used for statues and ornamental work on buildings, including such structures as the Taj Mahal. However, marble is readily attacked by acids via the following reaction.
CaCO3(s)+H+(aq)⇌Ca2+(aq)+HCO3−(aq)
Equilibrium constants at 25 ∘C are listed in the table below.
| Substance | Kc | Value of Kc |
| CaCO3 | Ksp | 4.5×10−9 |
| H2CO3 | Ka1 | 4.3×10−7 |
| Ka2 | 5.6×10−11 |
What is the molar solubility of marble (i.e., [Ca2+] in a saturated solution) in normal rainwater, for which pH=4.20?
In: Chemistry