var questions = new Array();
var choices = new Array();
var answers = new Array();
var response = new Array();

// To add more questions, just follow the format below.

questions[0] = "1. Which Scientist is known as the pioneer of decompression theory?";
choices[0] = new Array();
choices[0][0] = "Sir Robert Boyle";
choices[0][1] = "Albert Bulhman";
choices[0][2] = "John Scott Haldane";
choices[0][3] = "Paul Bert";
answers[0] = choices[0][2];

questions[1] = "2. What does Dalton's Law refer to?";
choices[1] = new Array();
choices[1][0] = "Gas Density";
choices[1][1] = "Buoyancy";
choices[1][2] = "Nitrogen Narcosis";
choices[1][3] = "Partial Pressure";
answers[1] = choices[1][3];

// 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)!";
