﻿var questions = new Array();
var choices = new Array();
var answers = new Array();
var response = new Array();

questions[0] = "1. When riding the school bus, it's a good idea to:";
choices[0] = new Array();
choices[0][0] = "Keep the aisles clear at all times";
choices[0][1] = "Remain quiet and face forward in your seat";
choices[0][2] = "Keep your head and arms in the bus at all times";
choices[0][3] = "All of the above";
answers[0] = choices[0][3];

questions[1] = "2. How soon before the bus arrives should you arrive at your bus stop?";
choices[1] = new Array();
choices[1][0] = "10 minutes before";
choices[1][1] = "15 minutes before";
choices[1][2] = "5 minutes before";
choices[1][3] = "20 minutes before";
answers[1] = choices[1][2];

questions[2] = "3. The riskiest time relating to school buses is:";
choices[2] = new Array();
choices[2][0] = "During the bus ride";
choices[2][1] = "Before you get on the bus";
choices[2][2] = "After you get off the bus";
choices[2][3] = "Before and after riding the bus";
answers[2] = choices[2][3];

questions[3] = "4. The Danger Zone is ___ feet wide on all sides of the school bus.";
choices[3] = new Array();
choices[3][0] = "5 feet";
choices[3][1] = "10 feet";
choices[3][2] = "15 feet";
choices[3][3] = "20 feet";
answers[3] = choices[3][1];

questions[4] = "5. True or False. Nationally, more than 450,000 school buses take children to and from school each day.";
choices[4] = new Array();
choices[4][0] = "True";
choices[4][1] = "False";
answers[4] = choices[4][0];

questions[5] = "6. True or False. A bus should come to a complete stop before you try to get on.";
choices[5] = new Array();
choices[5][0] = "True";
choices[5][1] = "False";
answers[5] = choices[5][0];

questions[6] = "7. True or False. You should run off the bus in an emergency.";
choices[6] = new Array();
choices[6][0] = "True";
choices[6][1] = "False";
answers[6] = choices[6][1];

questions[7] = "8. True or False. When being picked up, don’t move towards the bus until the driver opens the door.";
choices[7] = new Array();
choices[7][0] = "True";
choices[7][1] = "False";
answers[7] = choices[7][0];

questions[8] = "9. True or False. If you drop something near a school bus, you should pick it up right away.";
choices[8] = new Array();
choices[8][0] = "True";
choices[8][1] = "False";
answers[8] = choices[8][1];

questions[9] = "10. True or False. Children should cross the street behind a school bus.";
choices[9] = new Array();
choices[9][0] = "True";
choices[9][1] = "False";
answers[9] = choices[9][1];


// response for getting 100%
response[0] = "Excellent, top marks!";
// response for getting 90% or more
response[1] = "Excellent, try again to get 100%!"
// response for getting 70% or more
response[2] = "Well done, that is a good score, can you do better?";
// response for getting over 50%
response[3] = "Nice one, you got more than half of the questions right, can you do better?";
// response for getting 40% or more
response[4] = "You got some questions right, you can do better!";
// response for getting 20% or more
response[5] = "You didn't do too well, why not try again!?";
// response for getting 10% or more
response[6] = "That was pretty poor!  Try again to improve!";
// response for getting 9% or less
response[7] = "Oh dear, I think you need to go back to school (or try again)!";