var questions = new Array();
var choices = new Array();
var answers = new Array();
var response = new Array();
questions[0] = "1) What size grounding electrode conductor is required for a service supplied by a 350 MCM THHW Copper service conductor when the ground electrode connects to a grounding ring?";
choices[0] = new Array();
choices[0][0] = "1/0 Copper";
choices[0][1] = "3/0 Aluminum";
choices[0][2] = "2 AWG Copper";
choices[0][3] = "8 AWG Copper";
answers[0] = choices[0][2];

questions[1] = "2) A grounding ring must be at least ____ feet long and not smaller than ____AWG Copper conductor.";
choices[1] = new Array();
choices[1][0] = "10   3";
choices[1][1] = "20   4";
choices[1][2] = "35   2";
choices[1][3] = "20   2";
answers[1] = choices[1][3];

questions[2] = "3) What size grounding electrode conductor is required for 4/0 THHN Aluminum service conductor when the grounding electrode connects to a driven ground rod?";
choices[2] = new Array();
choices[2][0] = "2 Copper";
choices[2][1] = "1/0 Aluminum";
choices[2][2] = "6 AWG Copper";
choices[2][3] = "3/0 AWG Aluminum";
answers[2] = choices[2][2];

questions[3] = "4) What size grounding electrode conductor is required for a 400 MCM THHN Copper service conductor when the grounding conductor connects to rebar in the footers?";
choices[3] = new Array();
choices[3][0] = "1/0 Copper";
choices[3][1] = "3/0 Aluminum";
choices[3][2] = "4 AWG Copper";
choices[3][3] = "6 AWG Aluminum";
answers[3] = choices[3][2];

questions[4] = "5) Determine the size grounding electrode conductor a condition where there are four servies and the grounding device is a metal water pipe.  The services are copper and sized as follows:  3/0, 250 MCM, 300 MCM and 4/0?";
choices[4] = new Array();
choices[4][0] = "4";
choices[4][1] = "2";
choices[4][2] = "1/0";
choices[4][3] = "2/0";
answers[4] = choices[4][3];

questions[5] = "6) A metal water pipe is used for a ground electrode what size grounding electrode conductor is required if the service is supplied by 2/0 copper conductors?";
choices[5] = new Array();
choices[5][0] = "8";
choices[5][1] = "6";
choices[5][2] = "4";
choices[5][3] = "2";
answers[5] = choices[5][2];

questions[6] = "7) What size grounding electrode conductor is needed to connect to the building steel?  When the service is 400 MCM Aluminum.";
choices[6] = new Array();
choices[6][0] = "8";
choices[6][1] = "6";
choices[6][2] = "4";
choices[6][3] = "2";
answers[6] = choices[6][3];

questions[7] = "8) A driven ground rod must be at least ______ ft long.";
choices[7] = new Array();
choices[7][0] = "4";
choices[7][1] = "6";
choices[7][2] = "8";
choices[7][3] = "12";
answers[7] = choices[7][2];

questions[8] = "9) The resistance to ground for a single driven rod pipe or plate electrode must be at least _____ Ohms?";
choices[8] = new Array();
choices[8][0] = "5";
choices[8][1] = "15";
choices[8][2] = "25";
choices[8][3] = "50";
answers[8] = choices[8][2];

questions[9] = "10) What size Equipment Grounding Conductor is needed for a load protected by a 100 Ampere over current device?";
choices[9] = new Array();
choices[9][0] = "12";
choices[9][1] = "10";
choices[9][2] = "8";
choices[9][3] = "6";
answers[9] = choices[9][2];

questions[10] = "11) Which one of the following is not an approved method for connecting grounding conductor?";
choices[10] = new Array();
choices[10][0] = "Listed pressure connector";
choices[10][1] = "Terminal bars";
choices[10][2] = "Machine screw-type fasteners that engage at least one thread";
choices[10][3] = "Exothermic welding";
answers[10] = choices[10][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)!";

