var questions = new Array();
var choices = new Array();
var answers = new Array();
var response = new Array();
questions[0] = "1) Determine the size overcurrent device needed to protect the motor described - 3 Hp, 240 V, single phase, running current 15.2 amperes and 40 degree C rise.";
choices[0] = new Array();
choices[0][0] = "17.48";
choices[0][1] = "19.55";
choices[0][2] = "19.00";
choices[0][3] = "21.25";
answers[0] = choices[0][2];

questions[1] = "2) What size overcurrent protective device is needed for the motor following motor - 10 Hp, 460 V, 3 phase, 12.9 full load amp, 1.0 SF?";
choices[1] = new Array();
choices[1][0] = "14.835";
choices[1][1] = "16.125";
choices[1][2] = "16.100";
choices[1][3] = "17.500";
answers[1] = choices[1][0];

questions[2] = "3) Size the branch circuit conductor for a 10 HP, single phase, 240 V motor.  Assume TW Copper and 60 degree terminals.";
choices[2] = new Array();
choices[2][0] = "2";
choices[2][1] = "3";
choices[2][2] = "4";
choices[2][3] = "6";
answers[2] = choices[2][2];

questions[3] = "4)  Size the branch circuit conductor for the 100 HP, 460 V three phase motor.  Assume THHN Copper and 75 degree terminals.";
choices[3] = new Array();
choices[3][0] = " 2";
choices[3][1] = " 1";
choices[3][2] = " 1/0";
choices[3][3] = " 2/0";
answers[3] = choices[3][3];

questions[4] = "5)  What size dual element fuse is needed for ground fault short circuit protection of the 200 HP, 575 volt three phase squirrel cage design A motor?  Assume that the overcurrent devices specified in 240.6 are available.";
choices[4] = new Array();
choices[4][0] = " 300";
choices[4][1] = " 350";
choices[4][2] = " 400";
choices[4][3] = " 450";
answers[4] = choices[4][1];

questions[5] = "6) What size inverse time breaker is needed for ground fault short circuit protection of the 200 HP, 575 volt three phase wound rotor motor?  Assume that the overcurrent devices specified in 240.6 are available.";
choices[5] = new Array();
choices[5][0] = "200";
choices[5][1] = "225";
choices[5][2] = "250";
choices[5][3] = "300";
answers[5] = choices[5][3];

questions[6] = "7) What size inverse time breaker is needed for ground fault short circuit protection of the 10 HP, 240 volt single phase squirrel cage  motor?  Assume that the overcurrent devices specified in 240.6 are available.";
choices[6] = new Array();
choices[6][0] = "100";
choices[6][1] = "110";
choices[6][2] = "125";
choices[6][3] = "150";
answers[6] = choices[6][2];

questions[7] = "8) Size the feeder conductor that is supplying current to a 10 Hp 208 V, three phase motor and a 5 Hp, 208 three phase motor.  Assume THWN conductor and 75 degree terminals.";
choices[7] = new Array();
choices[7][0] = "8";
choices[7][1] = "6";
choices[7][2] = "4";
choices[7][3] = "3";
answers[7] = choices[7][1];

questions[8] = "9) Size the feeder protection for a motor feeder that is supplying current to a 10 Hp, 208 V, three phase motor and a 5 Hp, 208 three phase motor.";
choices[8] = new Array();
choices[8][0] = "50";
choices[8][1] = "60";
choices[8][2] = "70";
choices[8][3] = "80";
answers[8] = choices[8][2];

questions[9] = "10) The disconnecting means for a motor shall have an ampere rating not less than ____ percent of the full-load current rating of the motor.";
choices[9] = new Array();
choices[9][0] = "100";
choices[9][1] = "115";
choices[9][2] = "125";
choices[9][3] = "200";
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)!";

