questions=new Array();
questions[0]=new Array();	//Question 1 definition
questions[0][0]="Whwn a pentavalent impurity is used to dope silicon material the result is:";	//Question text
questions[0][1]=" an N-type material";	//Answer option no.1
questions[0][2]=" a P-type material";		//Answer option no.2
questions[0][3]=" a pure semiconductor material.";	//Answer option no.3
questions[0][4]="1";
questions[1]=new Array();	//Question 2 definition
questions[1][0]="A diode conducts currrent:";	//Question text
questions[1][1]=" in both directions";		//Answer option no.1
questions[1][2]=" in one direction only";	//Answer option no.2
questions[1][3]=" first in one direction and then in the other direction.";	//Answer option no.3
questions[1][4]="2";
questions[2]=new Array();	//Question 3 definition
questions[2][0]="In normal operation the base-emitter junction of a transistor used as an amplifier is:";	//Question text
questions[2][1]=" forward biased";	//Answer option no.1
questions[2][2]=" reverse biased";		//Answer option no.2
questions[2][3]=" neither reverse nor forward biased.";	//Answer option no.3
questions[2][4]="1";
questions[3]=new Array();	//Question 4 definition
questions[3][0]="The connections to a thyristor (or silicon controlled rectifier) are labelled";	//Question text
questions[3][1]=" anode, cathode, gate";	//Answer option no.1
questions[3][2]=" collector, base, emitter";		//Answer option no.2
questions[3][3]=" gate, source, drain.";	//Answer option no.3
questions[3][4]="1";
questions[4]=new Array();	//Question 5 definition
questions[4][0]="The output of the two windings of an LVDT is normally connected to:";	//Question text
questions[4][1]=" a high-pass filter";	//Answer option no.1
questions[4][2]=" a high-gain amplifier";		//Answer option no.2
questions[4][3]=" a phase sensitive detector.";	//Answer option no.3
questions[4][4]="3";
questions[5]=new Array();	//Question 6 definition
questions[5][0]="When negative feedback is applied to an amplifier:";	//Question text
questions[5][1]=" the gain is increased and the bandwidth is reduced";  //Answer option no.1
questions[5][2]=" the gain is reduced and the bandwidth is increased";		//Answer option no.2
questions[5][3]=" both bandwidth and gain are increased.";	//Answer option no.3
questions[5][4]="2";
questions[6]=new Array();	//Question 7 definition
questions[6][0]="The AC supply to a synchro is applied to:";	//Question text
questions[6][1]=" the rotor; R1 and R2";		//Answer option no.1
questions[6][2]=" the stator; S1, S2 and S3";	//Answer option no.2
questions[6][3]=" the rotor and stator; R1 and S1.";	//Answer option no.3
questions[6][4]="1";
questions[7]=new Array();	//Question 8 definition
questions[7][0]="The tracks on a printed circuit board are made from:";	//Question text
questions[7][1]=" an etched copper coating";	//Answer option no.1
questions[7][2]=" an aluminium filmte applied during manufacture";		//Answer option no.2
questions[7][3]=" a metal oxide film deposited on the surface of the board.";	//Answer option no.3
questions[7][4]="1";
questions[8]=new Array();	//Question 9 definition
questions[8][0]="Printed circuit board connectors are frequently gold plated. This is because it:";	//Question text
questions[8][1]=" reduced contact friction";	//Answer option no.1
questions[8][2]=" improves contact reliability";		//Answer option no.2
questions[8][3]=" increases contact resistance.";	//Answer option no.3
questions[8][4]="2";
questions[9]=new Array();	//Question 10 definition
questions[9][0]="Three conducting silicon diodes are connected in series. The voltage drop across them will be:";	//Question text
questions[9][1]=" less than 0.5 V";	//Answer option no.1
questions[9][2]=" about 1 V";		//Answer option no.2
questions[9][3]=" between 1.8 V and 2 V.";	//Answer option no.3
questions[9][4]="3";
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>");