questions=new Array();
questions[0]=new Array();	//Question 1 definition
questions[0][0]="A suitable material for a generator brush is:";	//Question text
questions[0][1]=" carbon";	//Answer option no.1
questions[0][2]=" copper";		//Answer option no.2
questions[0][3]=" steel.";	//Answer option no.3
questions[0][4]="1";
questions[1]=new Array();	//Question 2 definition
questions[1][0]="A transformer has a star connected primary winding. The secondary winding:";	//Question text
questions[1][1]=" must also be star connected";		//Answer option no.1
questions[1][2]=" must be delta connected";	//Answer option no.2
questions[1][3]=" can be either star or delta connected.";	//Answer option no.3
questions[1][4]="3";
questions[2]=new Array();	//Question 3 definition
questions[2][0]="At resonance, a parallel L-C circuit will have:";	//Question text
questions[2][1]=" maximum impedance";	//Answer option no.1
questions[2][2]=" minimum impedance";		//Answer option no.2
questions[2][3]=" zero impedance.";	//Answer option no.3
questions[2][4]="1";
questions[3]=new Array();	//Question 4 definition
questions[3][0]="The speed of a generator with 400 Hz output and four poles will be:";	//Question text
questions[3][1]=" 6,000 rpm";	//Answer option no.1
questions[3][2]=" 8,000 rpm";		//Answer option no.2
questions[3][3]=" 12,000 rpm";	//Answer option no.3
questions[3][4]="3";
questions[4]=new Array();	//Question 5 definition
questions[4][0]="In a capacitive circuit, if the frequency of the supply is increased:";	//Question text
questions[4][1]=" the current increases";	//Answer option no.1
questions[4][2]=" the impedance increases";		//Answer option no.2
questions[4][3]=" the current decreases.";	//Answer option no.3
questions[4][4]="1";
questions[5]=new Array();	//Question 6 definition
questions[5][0]="A 10 ohm resistor connected to a sinusoidal supply of 14.14 V peak will dissipate:";	//Question text
questions[5][1]=" 141.4 W";	//Answer option no.1
questions[5][2]=" 1.414 W";		//Answer option no.2
questions[5][3]=" 10 W";	//Answer option no.3
questions[5][4]="3";
questions[6]=new Array();	//Question 7 definition
questions[6][0]="The relationship between capacitance, charge and potential difference is:";	//Question text
questions[6][1]=" Q = C V";		//Answer option no.1
questions[6][2]=" Q = C/V";	//Answer option no.2
questions[6][3]=" Q = C V&#178";	//Answer option no.3
questions[6][4]="1";
questions[7]=new Array();	//Question 8 definition
questions[7][0]="A band stop filter will:";	//Question text
questions[7][1]=" pass all frequencies either side of the band";	//Answer option no.1
questions[7][2]=" stop all frequencies either side of the band";		//Answer option no.2
questions[7][3]=" stop all frequencies.";	//Answer option no.3
questions[7][4]="1";
questions[8]=new Array();	//Question 9 definition
questions[8][0]="Magnetic poles of similar polarity will:";	//Question text
questions[8][1]=" repel one another";	//Answer option no.1
questions[8][2]=" attract one another";		//Answer option no.2
questions[8][3]=" experience no force of attraction or rpeulsion.";	//Answer option no.3
questions[8][4]="1";
questions[9]=new Array();	//Question 10 definition
questions[9][0]="The area enclosed within a hysteresis loop is proportional to:";	//Question text
questions[9][1]=" the energy lost in magnetising and demagnetising the material";	//Answer option no.1
questions[9][2]=" the ulitmate saturation point of the material";		//Answer option no.2
questions[9][3]=" the permeability of the material.";	//Answer option no.3
questions[9][4]="1";
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>");