questions=new Array();
questions[0]=new Array();	//Question 1 definition
questions[0][0]="The SI unit of power 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]="2";
questions[1]=new Array();	//Question 2 definition
questions[1][0]="A scalar 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]="1";
questions[2]=new Array();	//Question 3 definition
questions[2][0]="A force of 20 N acts over an area of 0.25 m&#178. The pressure will be:";	//Question text
questions[2][1]=" 5 Pa";	//Answer option no.1
questions[2][2]=" 40 Pa";		//Answer option no.2
questions[2][3]=" 80 Pa";	//Answer option no.3
questions[2][4]="3";
questions[3]=new Array();	//Question 4 definition
questions[3][0]="A VHF radio signal has a wavelength of 0.5 m. What is its frequency?";	//Question text
questions[3][1]=" 0.5 MHz";	//Answer option no.1
questions[3][2]=" 300 MHz";		//Answer option no.2
questions[3][3]=" 500 MHz";	//Answer option no.3
questions[3][4]="2";
questions[4]=new Array();	//Question 5 definition
questions[4][0]="The energy required to convert 3 kg of ice at 0&#176C to water at 30&#176C is:";	//Question text
questions[4][1]=" 0.38 MJ";	//Answer option no.1
questions[4][2]=" 1 MJ";		//Answer option no.2
questions[4][3]=" 1.38 MJ";	//Answer option no.3
questions[4][4]="3";
questions[5]=new Array();	//Question 6 definition
questions[5][0]="The enthalpy of a system fluid is its:";	//Question text
questions[5][1]=" internal energy plus its pressure-volume energy";  //Answer option no.1
questions[5][2]=" internal energy minus its pressure-volume energy";		//Answer option no.2
questions[5][3]=" internal pressure-volume energy minus its internal energy.";	//Answer option no.3
questions[5][4]="1";
questions[6]=new Array();	//Question 7 definition
questions[6][0]="A manometer is a device for measuring:";	//Question text
questions[6][1]=" pressure";		//Answer option no.1
questions[6][2]=" volume";	//Answer option no.2
questions[6][3]=" temperature.";	//Answer option no.3
questions[6][4]="1";
questions[7]=new Array();	//Question 8 definition
questions[7][0]="Mechanical advantage is defined as:";	//Question text
questions[7][1]=" effort/load";	//Answer option no.1
questions[7][2]=" load/effort";		//Answer option no.2
questions[7][3]=" effort - load";	//Answer option no.3
questions[7][4]="2";
questions[8]=new Array();	//Question 9 definition
questions[8][0]="A force of 4 kN acts at an angle of 60&#176 to the horizontal. The force will have:";	//Question text
questions[8][1]=" a vertical component of 2 kN";	//Answer option no.1
questions[8][2]=" a vertical component of 3 kN";		//Answer option no.2
questions[8][3]=" a vertical component of 3.46 kN.";	//Answer option no.3
questions[8][4]="1";
questions[9]=new Array();	//Question 10 definition
questions[9][0]="Modulus of rigidity is defined as:";	//Question text
questions[9][1]=" shear strain divided by shear stress";	//Answer option no.1
questions[9][2]=" shear stress divided by shear strain";		//Answer option no.2
questions[9][3]=" shear stress multiplied by shear strain.";	//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>");