questions=new Array();
questions[0]=new Array();	//Question 1 definition
questions[0][0]="The SI unit of energy is the:";	//Question text
questions[0][1]=" Joule (J)";	//Answer option no.1
questions[0][2]=" Watt (W)";		//Answer option no.2
questions[0][3]=" Pascal (Pa).";	//Answer option no.3
questions[0][4]="1";
questions[1]=new Array();	//Question 2 definition
questions[1][0]="A vector has:";	//Question text
questions[1][1]=" magnitude but no direction";		//Answer option no.1
questions[1][2]=" direction but no magnitude";	//Answer option no.2
questions[1][3]=" magnitude and direction.";	//Answer option no.3
questions[1][4]="3";
questions[2]=new Array();	//Question 3 definition
questions[2][0]="A temperature of 373 K is the same as:";	//Question text
questions[2][1]=" 0&#176C";	//Answer option no.1
questions[2][2]=" 100&#176C";		//Answer option no.2
questions[2][3]=" 273&#176C";	//Answer option no.3
questions[2][4]="2";
questions[3]=new Array();	//Question 4 definition
questions[3][0]="An HF radio signal has a frequency of 15 MHz. What is its wavelength?";	//Question text
questions[3][1]=" 10 m";	//Answer option no.1
questions[3][2]=" 15 m";		//Answer option no.2
questions[3][3]=" 20 m";	//Answer option no.3
questions[3][4]="3";
questions[4]=new Array();	//Question 5 definition
questions[4][0]="Hooke's Law states that within the elastic limit:";	//Question text
questions[4][1]=" stress allows a material to return to its orginal state";	//Answer option no.1
questions[4][2]=" strain remains constant until the elastic limit is reached";		//Answer option no.2
questions[4][3]=" the extension of a material is proportional to the force applied.";	//Answer option no.3
questions[4][4]="3";
questions[5]=new Array();	//Question 6 definition
questions[5][0]="The mass of a body:";	//Question text
questions[5][1]=" is a constant that does not change with position";  //Answer option no.1
questions[5][2]=" varies according to the gravitational force present";		//Answer option no.2
questions[5][3]=" increases as the body gets closer to the centre of the earth.";	//Answer option no.3
questions[5][4]="1";
questions[6]=new Array();	//Question 7 definition
questions[6][0]="The density of an aluminium alloy is 6,900 kg/m&#179. What is its relative density?";	//Question text
questions[6][1]=" 0.69";		//Answer option no.1
questions[6][2]=" 6.9";	//Answer option no.2
questions[6][3]=" 69";	//Answer option no.3
questions[6][4]="2";
questions[7]=new Array();	//Question 8 definition
questions[7][0]="The output of a light emitting diode (LED) transmitter peaks in the:";	//Question text
questions[7][1]=" visible spectrum";	//Answer option no.1
questions[7][2]=" ultraviolet region";		//Answer option no.2
questions[7][3]=" infrared region.";	//Answer option no.3
questions[7][4]="3";
questions[8]=new Array();	//Question 9 definition
questions[8][0]="Which one of the following gives the speed of light?";	//Question text
questions[8][1]=" 300 m/s";	//Answer option no.1
questions[8][2]=" 300,000 m/s";		//Answer option no.2
questions[8][3]=" 300,000,000 m/s";	//Answer option no.3
questions[8][4]="3";
questions[9]=new Array();	//Question 10 definition
questions[9][0]="A force of 20 N is applied to a mass of 4 kg. What acceleration is produced?";	//Question text
questions[9][1]=" 5 m/s&#178";	//Answer option no.1
questions[9][2]=" 40 m/s&#178";		//Answer option no.2
questions[9][3]=" 80 m/s&#178";	//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>");