var questions = new Array();
var choices = new Array();
var answers = new Array();
var response = new Array();
questions[0] = "1) What is the fault current at the terminals of a 75KVA single phase transformer that is 14400/240 volts with a % Z = 1.5.";
choices[0] = new Array();
choices[0][0] = "248,445 Amp";
choices[0][1] = "14,881 Amp";
choices[0][2] = "8,592 Amp";
choices[0][3] = "20,833 Amp";
answers[0] = choices[0][3];

questions[1] = "2) What is the turns ratio of a transformer rated 480-240/120V, 3-phase (with respect to line)?";
choices[1] = new Array();
choices[1][0] = "4 : 1";
choices[1][1] = "1 : 2";
choices[1][2] = "2 : 1";
choices[1][3] = "1 : 4";
answers[1] = choices[1][2];

questions[2] = "3) A single-phase transformer (with line-to-neutral loads) has one phase that draws 70 amps and the other phase that draws 100 amps. What will the current in the neutral be?";
choices[2] = new Array();
choices[2][0] = "170 A";
choices[2][1] = "30 A";
choices[2][2] = "100 A";
choices[2][3] = "70 A";
answers[2] = choices[2][1];

questions[3] = "4) What size capacitor is needed to correct the power factor from 75% to 95% for a load that draws 80 amp at 480 volts 3 phase?";
choices[3] = new Array();
choices[3][0] = "15.93 kVAR";
choices[3][1] = "47.80 kVAR";
choices[3][2] = "21.24 kVAR";
choices[3][3] = "27.60 kVAR";
answers[3] = choices[3][3];

questions[4] = "5) What is the amp draw for a 20,000 volt-amp heater on a 240 vac single phase circuit?";
choices[4] = new Array();
choices[4][0] = "141";
choices[4][1] = "144";
choices[4][2] = "87";
choices[4][3] = "83";
answers[4] = choices[4][3];

questions[5] = "6) A Delta-WYE 480-208/120v 3-phase transformer has a secondary line current of 225 amps. What is the primary line current?";
choices[5] = new Array();
choices[5][0] = "97.5 A";
choices[5][1] = "519.2";
choices[5][2] = "259.6";
choices[5][3] = "195";
answers[5] = choices[5][0];

questions[6] = "7) A 40 amp, 240 volt branch circuit feeding an electric range is found to have a poor connection at one of the splices. The resistance at this connection is 0.1 ohm. The power loss in watts is?";
choices[6] = new Array();
choices[6][0] = "1600";
choices[6][1] = "160";
choices[6][2] = "9600";
choices[6][3] = "24";
answers[6] = choices[6][1];

questions[7] = "8) A branch circuit feeding an appliance is rated 240V, 2400W. What would the wattage of the circuit be if the voltage was changed to 120V?";
choices[7] = new Array();
choices[7][0] = "1200 W";
choices[7][1] = "2400 W";
choices[7][2] = "600 W";
choices[7][3] = "4800 W";
answers[7] = choices[7][2];

questions[8] = "9) What is the % voltage drop for a 240 vac, two wire, single phase circuit supplying a 4800 watt resistance heater? The conductor is a 8 AWG THWN uncoated copper stranded and is 150 feet long one way.";
choices[8] = new Array();
choices[8][0] = "3.2%";
choices[8][1] = "1.9%";
choices[8][2] = "5.8%";
choices[8][3] = "4.7%";
answers[8] = choices[8][1];

questions[9] = "10) If an AC sine wave reaches a peak voltage of 100, what is the effective root-mean square voltage?";
choices[9] = new Array();
choices[9][0] = "57.7 volts";
choices[9][1] = "141.4 volts";
choices[9][2] = "86.6 volts";
choices[9][3] = "70.7 volts";
answers[9] = choices[9][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)!";

