questions=new Array();
questions[0]=new Array();	//Question 1 definition
questions[0][0]="Which one of the following gives the value of sin 180°";	//Question text
questions[0][1]=" 0";	//Answer option no.1
questions[0][2]=" 0.5";		//Answer option no.2
questions[0][3]=" 1";	//Answer option no.3
questions[0][4]="1";
questions[1]=new Array();	//Question 2 definition
questions[1][0]="Which one of the following gives the binary equivalent of A1 hexadecimal?";	//Question text
questions[1][1]=" 10101";		//Answer option no.1
questions[1][2]=" 1010001";	//Answer option no.2
questions[1][3]=" 10100001";	//Answer option no.3
questions[1][4]="3";
questions[2]=new Array();	//Question 3 definition
questions[2][0]="If x = –1 which one of the following gives the value of 2x&#178 – 4 is";	//Question text
questions[2][1]=" 0";	//Answer option no.1
questions[2][2]=" –1";		//Answer option no.2
questions[2][3]=" –2";	//Answer option no.3
questions[2][4]="3";
questions[3]=new Array();	//Question 4 definition
questions[3][0]="A is 10 m NE of B. C is 10 m SE of B. The bearing of C from A is:";	//Question text
questions[3][1]=" 10 m due S";	//Answer option no.1
questions[3][2]=" 14.14 due E";		//Answer option no.2
questions[3][3]=" 20 m due W.";	//Answer option no.3
questions[3][4]="2";
questions[4]=new Array();	//Question 5 definition
questions[4][0]="Which one of the following gives the value of (3/16 + 10/32)?";	//Question text
questions[4][1]=" 0.5";	//Answer option no.1
questions[4][2]=" 5/8";		//Answer option no.2
questions[4][3]=" 3/4";	//Answer option no.3
questions[4][4]="1";
questions[5]=new Array();	//Question 6 definition
questions[5][0]="0.5 is the same as:";	//Question text
questions[5][1]=" sin 60°";	//Answer option no.1
questions[5][2]=" cos 60°";		//Answer option no.2
questions[5][3]=" sin 45°";	//Answer option no.3
questions[5][4]="2";
questions[6]=new Array();	//Question 7 definition
questions[6][0]="Expressed in decimal the binary number 100011 is:";	//Question text
questions[6][1]=" 19";		//Answer option no.1
questions[6][2]=" 35";	//Answer option no.2
questions[6][3]=" 67";	//Answer option no.3
questions[6][4]="2";
questions[7]=new Array();	//Question 8 definition
questions[7][0]="What is the volume of a cube having a side of 0.2 m?";	//Question text
questions[7][1]=" 0.008 m&#179";	//Answer option no.1
questions[7][2]=" 0.04 m&#179";		//Answer option no.2
questions[7][3]=" 0.6 m&#179";	//Answer option no.3
questions[7][4]="1";
questions[8]=new Array();	//Question 9 definition
questions[8][0]="The area of an equilateral triangle having sides of 8 m is:";	//Question text
questions[8][1]=" 16&#178";	//Answer option no.1
questions[8][2]=" 32m&#178";		//Answer option no.2
questions[8][3]=" 64m&#178";	//Answer option no.3
questions[8][4]="2";
questions[9]=new Array();	//Question 10 definition
questions[9][0]="Expressed as a fraction 0.375 is:";	//Question text
questions[9][1]=" 3/16";	//Answer option no.1
questions[9][2]=" 3/8";		//Answer option no.2
questions[9][3]=" 5/32";	//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>");