var questions = new Array();
var choices = new Array();
var answers = new Array();
var response = new Array();

questions[0] = "1) What does methanol or methoxide do if you gently pour it into oil?";
choices[0] = new Array();
choices[0][0] = "It dissolves immediately";
choices[0][1] = "It floats to the top and will not mix";
choices[0][2] = "It sinks to the bottom and will not mix";
choices[0][3] = "It creates an emulsion";
answers[0] = choices[0][1];

questions[1] = "2) Which type of breathing filter is good for methanol fumes?";
choices[1] = new Array();
choices[1][0] = "carbon cannister";
choices[1][1] = "Organic solvent cannister";
choices[1][2] = "Inorganic solvent cannister";
choices[1][3] = "There is no effective breathing filter for methanol fumes";
answers[1] = choices[1][3];

questions[2] = "3) Under-reacted biodiesel usually ...";
choices[2] = new Array();
choices[2][0] = "is much more viscous than well reacted biodiesel";
choices[2][1] = "is much more volatile than petro-diesel";
choices[2][2] = "has a  lower cetane number than petro-diesel";
choices[2][3] = "has a  lower gel temperature than petro-diesel";
answers[2] = choices[2][0];

questions[3] = "4) If you run a 5kW 220V heater at 110V, what heating power will it give you?";
choices[3] = new Array();
choices[3][0] = "1.25kW";
choices[3][1] = "2.5kW";
choices[3][2] = "5kW";
choices[3][3] = "10kW";
answers[3] = choices[3][0];

questions[4] = "5) A good way to test how good used oil is, is to...";
choices[4] = new Array();
choices[4][0] = "See how dark it is";
choices[4][1] = "See how viscous it is";
choices[4][2] = "See what its acid number is (titrate)";
choices[4][3] = "See how smelly it is";
answers[4] = choices[4][2];

questions[5] = "6) What does the lye do in a WVO to biodiesel transesterification reaction?";
choices[5] = new Array();
choices[5][0] = "Neutralises FFAs and removes soap";
choices[5][1] = "Removes soaps and acts as a catalyst";
choices[5][2] = "Neutralises FFAs and acts as a catalyst";
choices[5][3] = "Neutralises FFAs and converts glycerol to esters";
answers[5] = choices[5][2];

questions[6] = "7) When you do a titration of oil, what must you dissolve your 1ml oil sample into?";
choices[6] = new Array();
choices[6][0] = "Methanol and phenolphthalein";
choices[6][1] = "0.1% lye solution";
choices[6][2] = "water";
choices[6][3] = "Isopropanol";
answers[6] = choices[6][3];

questions[7] = "8) Why would you avoid running the reaction process at 65C or more if your processor is vented to the atmosphere?";
choices[7] = new Array();
choices[7][0] = "because the glycerol will evaporate";
choices[7][1] = "because the methanol will start to boil off above 65C";
choices[7][2] = "because water will be given off";
choices[7][3] = "because the reaction gets slower as the temperature rises";
answers[7] = choices[7][1];

questions[8] = "9) What are the 3 main ingredients in making biodiesel?";
choices[8] = new Array();
choices[8][0] = "glycerides, alcohol and catalyst";
choices[8][1] = "mineral oil, methanol and lye";
choices[8][2] = "Vegetable oil, methanol and glycerol";
choices[8][3] = "Vegetable oil, kerosene and gasoline";
answers[8] = choices[8][0];

questions[9] = "10) Which of these is the most important in a biodiesel reaction?";
choices[9] = new Array();
choices[9][0] = "good mixing";
choices[9][1] = "high temperature";
choices[9][2] = "high pressure";
choices[9][3] = "good filtration of WVO";
answers[9] = choices[9][0];


// 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)!";

