//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 the scientific name for a smaller earthquake that follows a large one?"
choice1[1]=" Continental plate"
choice1[2]=" Aftershock"
choice1[3]=" Afterschool"
choice1[4]=" Earthquake"

question[2]=" About how old is the oldest fossil ever found on Earth?"
choice2[1]=" 3.5 billion years old"
choice2[2]=" 100,000 years old"
choice2[3]=" 90 years old"
choice2[4]=" 4.6 billion years old"

question[3]=" Which of these scientists studies weather?"
choice3[1]=" Volcanologist"
choice3[2]=" Seismologist"
choice3[3]=" Meteorologist"
choice3[4]=" Oceanographer"

question[4]=" Which of these is NOT a major type of rock?"
choice4[1]=" Igneous"
choice4[2]=" Metamorphic"
choice4[3]=" Sedimentary"
choice4[4]=" Atmospheric"

question[5]=" True or false: All of Earth\'s weather occurs in the lowest four to ten miles of the atmosphere."
choice5[1]=" True"
choice5[2]=" False"


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

explanation[1]="An earthquake occurs when giant masses of land called continental plates (which the Earth\'s continents sit on) shift or collide below the Earth's surface. Though a big earthquake might be felt by people above ground, they might also feel smaller earthquakes called \"aftershocks\", which can happen as the plates settle."
explanation[2]="The oldest fossil ever known is from a type of bacteria called \"blue-green algae,\" which was one of the first living things on Earth. Fossils of these bacteria have been found from approximately 3.5 billion years ago!"
explanation[3]="All of these scientists are considered Earth scientists because they study planet Earth. A meteorologist is one type of atmospheric scientist, and studies the weather that happens in Earth\'s atmosphere. A geologist studies Earth\'s crust or land surface (also known as the lithosphere). Some geologists study rocks and dinosaur fossils. Volcanologists are geologists that study volcanoes, while seismologists are geologists that study earthquakes. Oceanographers study Earth\'s oceans."
explanation[4]="There are three major types of rock. Igneous rock is volcanic, formed when liquid magma cools and harden, either above or below the Earth\'s surface. All rocks on Earth originated from igneous rocks. Sedimentary rock is made of layered sediments, particles of sand, silt, or rocks, that have been deposited at the bottom of lakes or rivers. Water carries pieces of sedimentary rocks to the shore, or lake and rivers can expose this rock if they dry up over time. Metamorphic rock forms deep within the Earth, when heat melts it and it cools again or surrounding rock presses it into a new shape."
explanation[5]="Earth\'s atmosphere is divided into layers, like layers in a cake. The layer closest to the surface of the Earth is called the troposphere and is about four to ten miles tall. All the weather we are familiar with, wind, rain, hurricanes and more, happens in the troposphere."


