//change 20 to the total number of questions
var total=20
var question=new Array()
for (i=1;i<=total+1;i++){
temp="choice"+i+"=new Array()"
eval(temp)
}
var solution=new Array()

/*Below lists the phrases that will be randomly displayed if the user correctly answers the question. You may extend or shorten this list as desired*/
var compliments=new Array()
compliments[0]="Excellent!"
compliments[1]="Wow, you're really rocking!"
compliments[2]="You must have studied hard. Good job!"
compliments[3]="Right on."
compliments[4]="Correct!"
compliments[5]="Great Job!"
compliments[6]="Good work!"
compliments[7]="Sweeeet!"

/*Below lists the questions, its choices, and finally, the solution to each question. Folow the exact format below when editing the questions. You may have as many questions as needed. Check doc at http://wsabstract.com/script/script2/comboquiz.htm for more info
*/

question[1]="The correct definition of 'species' is a group of organisms that"
choice1[1]="live in the same habitat."
choice1[2]="adapt to environmental changes."
choice1[3]="have both exoskeletons and skeletons."
choice1[4]="are able to interbreed and produce offspring."

question[2]="Which pair of organisms is most closely related?"
choice2[1]="Sciurus carolinensis, Sciurus niger"
choice2[2]="Rattus tamias, Tamias striatus"
choice2[3]="Mus musculus, Tamias striatus"
choice2[4]="Sciurus niger, Mus niger"

question[3]="An example of an element is"
choice3[1]="water"
choice3[2]="gold"
choice3[3]="salt"
choice3[4]="rust"

question[4]="While walking across a frozen lake, the ice begins to crack. You should lay flat on the ice in order to"
choice4[1]="minimize your fall through the ice."
choice4[2]="distribute your weight closer to the ice."
choice4[3]="minimize your force by lowering your weight closer to the ice."
choice4[4]="distribute your weight over an increased area."

question[5]="A farmer wants to rid his crop of an insect pest. An environmentally sound action he could take would be to"
choice5[1]="spray thoroughly with insecticide."
choice5[2]="burn the entire crop."
choice5[3]="purchase ladybugs and release them."
choice5[4]="use a water-soluble insecticide just once."

question[6]="Your neighbour has a swimming pool, which he heats using a solar collector. The energy conversion that takes place is"
choice6[1]="physical to solar"
choice6[2]="chemical to thermal"
choice6[3]="thermal to chemical"
choice6[4]="solar to thermal"

question[7]="Instant coffee which is ground into fine particles will dissolve faster. This is because of an increase in its "
choice7[1]="volume"
choice7[2]="surface area"
choice7[3]="density"
choice7[4]="mass"

question[8]="A substance which would be a good choice to neutralize an acid would be"
choice8[1]="any substance which is a base"
choice8[2]="a thick liquid that's neutral."
choice8[3]="any substance that's a weaker acid."
choice8[4]="a solid neutral salt."

question[9]="A factory releases waste into a river. Downstream, the adult fish population doesn't seem to change, but there are no  baby fish. It is most likely that the factory wastes"
choice9[1]="decreased the death rate of the baby fish."
choice9[2]="had no effect on fish growth."
choice9[3]="lowered the temperature of the river."
choice9[4]="affected the birth rate of the fish."

question[10]="An investigation reveals a possible relationship between liquid industrial wastes and the growth rate of fish. In order to test this hypothesis, you should measure the"
choice10[1]="development of fish embryos at various stages of growth."
choice10[2]="growth of fish under controlled conditions of pollution."
choice10[3]="effects of air pollution on spawning."
choice10[4]="rate of fish growth per gram of food consumed."

question[11]="George thought that playing music while doing homework would help his grades. He experimented, and found that most of his marks dropped. He decided that music has a negative effect on a person's marks. The step in the scientific inquiry process represented by George's belief that music would help is the"
choice11[1]="conclusion"
choice11[2]="hypothesis"
choice11[3]="observation"
choice11[4]="interpretation"

question[12]="An exothermic reaction is one where"
choice12[1]="the products outnumber the reactants."
choice12[2]="heat is given off by the reaction."
choice12[3]="heat is required to maintain the reaction."
choice12[4]="the reactants must be heated in order to begin the chemical reaction."

question[13]="While mixing two liquid glues to repair a plastic ornament, you discover that the glue mixture is getting warm. This is most likely caused by the"
choice13[1]="friction of mixing liquids."
choice13[2]="liquids absorbing heat from the room."
choice13[3]="heat flowing from the ornament into the liquid mixture."
choice13[4]="chemical reaction between the liquids."

question[14]="The mass of a piece of wood is  0.4 kg  and is volume is 800 cubic centimetres. The density of this wood in grams per cubic centimetre is"
choice14[1]="0.5"
choice14[2]="5"
choice14[3]="2"
choice14[4]="0.0005"

question[15]="In which sport is the resistance of fluid to forward movement the least significant problem?"
choice15[1]="bicycling"
choice15[2]="swimming"
choice15[3]="running"
choice15[4]="sailing"

question[16]="You use rocks from the fire to heat water. You take two heated rocks and put each one in a different container, both of which contain 5 L of water at the same initial temperature. The final water temperature will always be the same if the rocks have equal"
choice16[1]="volume and a different initial temperature"
choice16[2]="mass and are the same substance"
choice16[3]="mass and are a different substance"
choice16[4]="volume and are a different substance"

question[17]="When you submerge a 50 gram piece of wood in a container of water, you notice that the water volume went up by 20 cubic centimeters. The density of the wood in grams per cubic centimetre is"
choice17[1]="1000"
choice17[2]="2.5"
choice17[3]="2500"
choice17[4]="0.4"

question[18]="Hydrogen and oxygen can combine to form water, but they can also form hydrogen peroxide. This is evidence that"
choice18[1]="different atoms can produce different compounds."
choice18[2]="atoms of the same element can be dissimilar."
choice18[3]="different combinations of the same atoms can produce different compounds."
choice18[4]="compounds made from different atoms have different properties."

question[19]="Identify the statement that best describes why a balloon that is warmed will expand."
choice19[1]="the molecules of air inside get bigger."
choice19[2]="the molecules of air inside move outwards and fill the balloon. "
choice19[3]="the outside air pressure is now greater, causing a buoyant force."
choice19[4]="the molecules of air inside move faster."

question[20]="The density of an object, in grams per cubic centimetre, that would float in water at room temperature would be"
choice20[1]="0.93"
choice20[2]="1.10"
choice20[3]="9.50"
choice20[4]="95.0"



solution[1]="d"
solution[2]="a"
solution[3]="b"
solution[4]="d"
solution[5]="c"
solution[6]="d"
solution[7]="b"
solution[8]="a"
solution[9]="d"
solution[10]="b"
solution[11]="b"
solution[12]="b"
solution[13]="d"
solution[14]="a"
solution[15]="c"
solution[16]="b"
solution[17]="b"
solution[18]="c"
solution[19]="d"
solution[20]="a"
