var questions = new Array();
var choices = new Array();
var answers = new Array();
var response = new Array();

questions[0] = "1) Conduction happens in ...";
choices[0] = new Array();
choices[0][0] = "Liquids";
choices[0][1] = "Solids";
choices[0][2] = "Gases";

answers[0] = choices[0][1];

questions[1] = "2) Convection happens in ...";
choices[1] = new Array();
choices[1][0] = "Liquids and gases";
choices[1][1] = "Solids and gases";
choices[1][2] = "Solids and liquids";

answers[1] = choices[1][0];

questions[2] = "3) When water changes into vapour, its temperature ...";
choices[2] = new Array();
choices[2][0] = "increases";
choices[2][1] = "decreases";
choices[2][2] = "stays the same";

answers[2] = choices[2][2];

questions[3] = "4) ... surfaces are good absorbers of heat. ";
choices[3] = new Array();
choices[3][0] = "Shiny";
choices[3][1] = "Dull black";
choices[3][2] = "Shiny and dull black";

answers[3] = choices[3][1];

questions[4] = "5) Trapped air in cavity wall insulation reduces heat loss by ...";
choices[4] = new Array();
choices[4][0] = "conduction";
choices[4][1] = "convection";
choices[4][2] = "conduction and convection";

answers[4] = choices[4][1];

questions[5] = "6) Payback time = ...";
choices[5] = new Array();
choices[5][0] = "Cost  of insulation - Annual saving ";
choices[5][1] = "Annual saving / cost of insulation";
choices[5][2] = "Cost of insulation / Annual saving";

answers[5] = choices[5][2];

questions[6] = "7) Energy transferred = ... x Specific latent heat";
choices[6] = new Array();
choices[6][0] = "mass";
choices[6][1] = "volume";
choices[6][2] = "temperature";

answers[6] = choices[6][0];

questions[7] = "8) Energy transferred = mass x ... x temperature ";
choices[7] = new Array();
choices[7][0] = "Specific latent heat";
choices[7][1] = "Specific heat capacity";
choices[7][2] = "volume";

answers[7] = choices[7][1];

questions[8] = "9) Efficiency is ...";
choices[8] = new Array();
choices[8][0] = "Wasteful energy output per total energy input";
choices[8][1] = "Total energy input per useful energy output";
choices[8][2] = "Useful energy output per total energy input";

answers[8] = choices[8][2];

questions[9] = "10) The main energies wasted in a car engine are ...";
choices[9] = new Array();
choices[9][0] = "Sound and kinetic";
choices[9][1] = "Heat and kinetic";
choices[9][2] = "Heat and sound";

answers[9] = choices[9][2];

questions[10] = "11) 100 J of chemical energy was transferred by a torch into 5 J light and 95 J heat. The efficiency of the torch is ...";
choices[10] = new Array();
choices[10][0] = "95 %";
choices[10][1] = "100 %";
choices[10][2] = "5 %";

answers[10] = choices[10][2];


//response for getting 100%
response[0] = "Excellent, top marks!";
response[1] = "Revise Thermal Conduction";
response[2] = "Revise Thermal Convection";
response[3] = "Revise Heat & Temperature";
response[4] = "Revise Thermal Radiation";
response[5] = "Revise Thermal Convection";
response[6] = "Revise Efficient use of energy";
response[7] = "Revise Heat & Temperature";
response[8] = "Revise Heat & Temperature";
response[9] = "Revise Efficiency";
response[10] = "Revise Energy flow diagrams";
response[11] = "Revise Efficiency";
