questions=new Array();
questions[0]=new Array();	//Question 1 definition
questions[0][0]="What is the unit of inductance?";	//Question text
questions[0][1]=" Henry";	//Answer option no.1
questions[0][2]=" Farad";		//Answer option no.2
questions[0][3]=" Ohm";	//Answer option no.3
questions[0][4]="1";
questions[1]=new Array();	//Question 2 definition
questions[1][0]="Power factor is given by the ratio of:";	//Question text
questions[1][1]=" apparent power to true power";		//Answer option no.1
questions[1][2]=" true power to reactive power";	//Answer option no.2
questions[1][3]=" true power to apparent power";	//Answer option no.3
questions[1][4]="3";
questions[2]=new Array();	//Question 3 definition
questions[2][0]="The time constant of a C-R circuit is given by:";	//Question text
questions[2][1]=" C + R";	//Answer option no.1
questions[2][2]=" C / R";		//Answer option no.2
questions[2][3]=" C x R";	//Answer option no.3
questions[2][4]="3";
questions[3]=new Array();	//Question 4 definition
questions[3][0]="The phase angle in a purely reactive circuit is:";	//Question text
questions[3][1]=" 0&#176";	//Answer option no.1
questions[3][2]=" 45&#176";		//Answer option no.2
questions[3][3]=" 90&#176";	//Answer option no.3
questions[3][4]="3";
questions[4]=new Array();	//Question 5 definition
questions[4][0]="The peak value of a 200 V AC supply is:";	//Question text
questions[4][1]=" 200 V";	//Answer option no.1
questions[4][2]=" 282 V";		//Answer option no.2
questions[4][3]=" 400 V";	//Answer option no.3
questions[4][4]="2";
questions[5]=new Array();	//Question 6 definition
questions[5][0]="A simple low-pass L-C filter would have:";	//Question text
questions[5][1]=" L in series and C in parallel";	//Answer option no.1
questions[5][2]=" C in series and L in parallel";		//Answer option no.2
questions[5][3]=" both L and C in series.";	//Answer option no.3
questions[5][4]="1";
questions[6]=new Array();	//Question 7 definition
questions[6][0]="The periodic time of a 400 Hz a.c. supply is:";	//Question text
questions[6][1]=" 2.5 ms";		//Answer option no.1
questions[6][2]=" 0.04 s";	//Answer option no.2
questions[6][3]=" 400 ms.";	//Answer option no.3
questions[6][4]="1";
questions[7]=new Array();	//Question 8 definition
questions[7][0]="What power will be dissipated when a current of 0.5 A is supplied to a 50 ohm load?";	//Question text
questions[7][1]=" 12.5 W";	//Answer option no.1
questions[7][2]=" 25 W";		//Answer option no.2
questions[7][3]=" 100 W";	//Answer option no.3
questions[7][4]="1";
questions[8]=new Array();	//Question 9 definition
questions[8][0]="The angle between successive phases of a three-phase a.c. supply is:";	//Question text
questions[8][1]=" 60&#176";	//Answer option no.1
questions[8][2]=" 90&#176";		//Answer option no.2
questions[8][3]=" 120&#176";	//Answer option no.3
questions[8][4]="3";
questions[9]=new Array();	//Question 10 definition
questions[9][0]="Capacitors of 4 nF and 6 nF are connected in series. What is the capacitance of the combination?";	//Question text
questions[9][1]=" 2 nF";	//Answer option no.1
questions[9][2]=" 2.4 nF";		//Answer option no.2
questions[9][3]=" 10 nF";	//Answer option no.3
questions[9][4]="2";
document.write("<div id=\"quiz\">");
document.write("<form onSubmit=\"quizResult(this,questions);\">");
document.write("<input type=\"hidden\" value=\""+questions.length+"\" name=\"totalQuestions\">");
for(counter0=0;counter0<questions.length;counter0++){
	document.write("<p>"+questions[counter0][0]+"<br>");
	document.write("<input type=\"radio\" value=\"1\" name=\"Q"+counter0+"\">"+questions[counter0][1]+"<br>");
	document.write("<input type=\"radio\" value=\"2\" name=\"Q"+counter0+"\">"+questions[counter0][2]+"<br>");
	document.write("<input type=\"radio\" value=\"3\" name=\"Q"+counter0+"\">"+questions[counter0][3]+"<br>");
	document.write("<input type=\"hidden\" value=\""+questions[counter0][4]+"\" name=\"A"+counter0+"\"></p>");
}document.write("<input type=\"submit\" value=\"Check My Result\"><input type=\"reset\" value=\"Start Over Again\">");
document.write("</form>");
document.write("</div>");