var questions = new Array();
var choices = new Array();
var answers = new Array();
var response = new Array();
questions[0] = "1) A warehouse has an area of 100,000 sq ft and 100 receptacles, what is the demand for the lighting and receptacles?";
choices[0] = new Array();
choices[0][0] = "25,000 VA";
choices[0][1] = "18,750 VA";
choices[0][2] = "10,000 VA";
choices[0][3] = "27,750 VA";
answers[0] = choices[0][3];

questions[1] = "2) An office building contains 25,000 sq feet, what is the general lighting demand?";
choices[1] = new Array();
choices[1][0] = "87,000 VA";
choices[1][1] = "75,000 VA";
choices[1][2] = "112,500 VA";
choices[1][3] = "134,375 VA";
answers[1] = choices[1][3];

questions[2] = "3) A motel has 100 rooms.  Each room is 15 x 30 what is the lighting demand?";
choices[2] = new Array();
choices[2][0] = "48,000 VA";
choices[2][1] = "90,000 VA";
choices[2][2] = "28,800 VA";
choices[2][3] = "20,000 VA";
answers[2] = choices[2][0];

questions[3] = "4) A dwelling measures 70' x 30' exterior dimensions. The walls are poured concrete 2' thick. What is the general lighting load?";
choices[3] = new Array();
choices[3][0] = "2100 VA";
choices[3][1] = "4200 Watts";
choices[3][2] = "6300 Watts";
choices[3][3] = "6300 VA";
answers[3] = choices[3][3];

questions[4] = "5) What is the minimum number of 15 amp branch circuits required for the general lighting load for a 4000 Sq. Ft. one-family dwelling?";
choices[4] = new Array();
choices[4][0] = "3";
choices[4][1] = "4";
choices[4][2] = "6";
choices[4][3] = "7";
answers[4] = choices[4][3];

questions[5] = "6) In a 40 unit apartment complex, each apartment has a 4.5 kW clothes dryer, 240/120V. What is the demand on the services for these dryers using the general method of calculation?";
choices[5] = new Array();
choices[5][0] = "180 kW";
choices[5][1] = "45 kW";
choices[5][2] = "53";
choices[5][3] = "60 kW";
answers[5] = choices[5][2];

questions[6] = "7) What is the branch circuit load for 85' of track lighting?";
choices[6] = new Array();
choices[6][0] = "6375 watts";
choices[6][1] = "7650 watts";
choices[6][2] = "12750 watts";
choices[6][3] = "need more information";
answers[6] = choices[6][0];

questions[7] = "8) What is the demand on the feeders for a restaurant with the following loads - Intermittent use or t-stat control?  two 11 kW Ranges, two 6 kW Ovens, two 3.5 KW Dishwashers, and three 3.5 kW Booster Heaters";
choices[7] = new Array();
choices[7][0] = "51.5";
choices[7][1] = "33.47 kW";
choices[7][2] = "41.2";
choices[7][3] = "None of the above";
answers[7] = choices[7][1];

questions[8] = "9) What is the calculated load on the feeder for a restaurant with the following equipment?  one 10 kW Electric space heating unit, one 7.5 kW A/C unit 240 V, one 3 Hp Ventilating unit 240 V";
choices[8] = new Array();
choices[8][0] = "9600 VA";
choices[8][1] = "23.68 kVA";
choices[8][2] = "14.08 kVA";
choices[8][3] = "18.94 kVA";
answers[8] = choices[8][2];

// 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)!";

