//change 5 to the total number of questions
var total=5
var question=new Array()
for (i=1;i<=total+1;i++){
temp="choice"+i+"=new Array()"
eval(temp)
}
var solution=new Array()
var explanation=new Array()

/*Below lists the questions, its choices,the solution,  and finally the explanation to each question. Follow the exact format below when editing the questions. You may have as many questions as needed.*/
question[1]=" What is ocean circulation?"
choice1[1]=" The movement of freshwater from rivers to oceans"
choice1[2]=" High tide at the beach"
choice1[3]=" A storm that spins over the ocean"
choice1[4]=" The movement of water throughout the world's oceans"

question[2]=" What type of weather causes ocean currents?"
choice2[1]=" Wind"
choice2[2]=" Rain"
choice2[3]=" Blizzards"
choice2[4]=" None of the Above"

question[3]=" What tools do scientists use to measure ocean circulation?"
choice3[1]=" Buoys"
choice3[2]=" Satellites"
choice3[3]=" Rulers"
choice3[4]=" a and b"

question[4]=" How many times per day \(24 hours\) does low tide happen at the beach?"
choice4[1]=" Two"
choice4[2]=" One"
choice4[3]=" Five"
choice4[4]=" Three"

question[5]=" True or False: There is a large patch of plastics and other garbage floating in the Pacific Ocean."
choice5[1]=" True"
choice5[2]=" False"
choice5[3]=" "
choice5[4]=" "

solution[1]="d"
solution[2]="a"
solution[3]="d"
solution[4]="a"
solution[5]="a"

explanation[1]="The oceans are always in motion! Ocean circulation describes the movement of water throughout oceans. Currents at the surface and deep underwater carry warm water from the equator to the poles, where it cools, sinks, and travels back toward the equator."
explanation[2]="Winds blowing over the surface of the ocean move seawater, causing currents. Because the Earth rotates, surface currents change direction away from the wind, curving to the right in the Northern Hemisphere and to the left in the Southern Hemisphere. The only place on Earth where this effect, called the Coriolis effect, does not happen is at the equator."
explanation[3]="Scientists use floating instruments like buoys and drifters, as well as satellites to measure the color, height, temperature, salinity \(saltiness\) of the ocean and wind speed to learn more about ocean currents. All of these measurements are like puzzle pieces. When scientists put the puzzle together, they get a picture of the global ocean and how it interacts with the atmosphere."
explanation[4]="Earth rotates 180 degrees about every 12 hours. Low tide and high tide each happen twice every 24 to 25 hours. Tides are caused by the moon\'s gravitational pull on the Earth. If you are standing on the beach and the moon is directly above you, it pulls the Earth slightly toward it, causing the ocean to bulge at that location, leading to high tide. High tide also happens at your location when the moon is on the exact opposite side of the Earth. \(From http://science.howstuffworks.com/tide-cause.htm\)"
explanation[5]="Actually, there is more than one. The biggest is the \"Great Pacific Garbage Patch,\" a concentrated area of plastic pollution between Hawaii and California estimated to be three times the size of the continental United States! Most of the garbage comes from land. Litter from cities and towns washes into rivers when it rains, where it is carried into the ocean. There, it floats on ocean currents and spirals into a big patch with other garbage. Visit the Tips and Tools page to find out what you can do to help stop plastic pollution from entering oceans."


