Hi, I am trying to create a quiz,
Code is as follows:
<html>
<head>
<title>Quiz</title>
</head>
<BODY>
<Center><TABL E cellSpacing=3 cellPadding=0 border=0>
<TBODY>
<TR>
<TD vAlign=top width=490>
<TABLE cellSpacing=0 cellPadding=5 width="100%" bgColor=#ffffff
border=0><TBODY >
<TR>
<TD>
<H1>Word 2000</H1>
<TABLE class=front cellSpacing=0 cellPadding=1 width="100%"
border=0>
<TBODY>
<TR>
<TH class=front align=left bgcolor=#0099CC > Multip le Choice </TH>
<TH class=front
align=right bgcolor=#0099CC >Level 1</TH></TR>
<TR>
<TD class=front colSpan=2><BR>
<TABLE>
<TBODY>
<TR>
<TD vAlign=top><B>& nbsp;1. </B></TD>
<TD vAlign=top><B>& nbsp;Which shortcut key combination
could be used to save a document?</B></TD></TR></TBODY></TABLE><BR>
<TABLE border=0>
<TBODY>
<TR>
<TD vAlign=top><INP UT type=radio value=2 name=quiz></TD>
<TD>Alt + F4</TD></TR>
<TR>
<TD vAlign=top><INP UT type=radio value=3 name=quiz></TD>
<TD>Ctrl + P</TD></TR>
<TR>
<TD vAlign=top><INP UT type=radio value=4 name=quiz></TD>
<TD>Ctrl + S</TD></TR>
<TR>
<TD vAlign=top><INP UT type=radio value=1 name=quiz></TD>
<TD>Shift + F3</TD></TR></TBODY></TABLE><BR>  ;<INPUT type=submit value=" Next ">
<BR><BR></TD></TR>
<TR>
<TH class=front align=left bgcolor=#0099CC > Total 20 questions</TH>
<TH class=front align=right bgcolor=#0099CC >Time spent
0:00 </TH></TR></TBODY></TABLE></FORM></center>
I have a few problems wiht this:
Progression to next question (simplest method - least code, what are possible methods)
Link to a database with questions
Questions would be selected randomly on beginning each quiz - how is such a thing done.
It will display a working clock (digital display 0:00). As a person progresses from one question to another they can see how they are doing timewise.
Question numbering goes up sequentially - 1/20, 2/20, 3/20 and so on.
Finally at the end of the quiz a person will get a result with time length and if any questions were answered incorrectly the correct answer given.
Need help on any of the above, links, script etc.
Thanks in advance,
Sketch.
Code is as follows:
<html>
<head>
<title>Quiz</title>
</head>
<BODY>
<Center><TABL E cellSpacing=3 cellPadding=0 border=0>
<TBODY>
<TR>
<TD vAlign=top width=490>
<TABLE cellSpacing=0 cellPadding=5 width="100%" bgColor=#ffffff
border=0><TBODY >
<TR>
<TD>
<H1>Word 2000</H1>
<TABLE class=front cellSpacing=0 cellPadding=1 width="100%"
border=0>
<TBODY>
<TR>
<TH class=front align=left bgcolor=#0099CC > Multip le Choice </TH>
<TH class=front
align=right bgcolor=#0099CC >Level 1</TH></TR>
<TR>
<TD class=front colSpan=2><BR>
<TABLE>
<TBODY>
<TR>
<TD vAlign=top><B>& nbsp;1. </B></TD>
<TD vAlign=top><B>& nbsp;Which shortcut key combination
could be used to save a document?</B></TD></TR></TBODY></TABLE><BR>
<TABLE border=0>
<TBODY>
<TR>
<TD vAlign=top><INP UT type=radio value=2 name=quiz></TD>
<TD>Alt + F4</TD></TR>
<TR>
<TD vAlign=top><INP UT type=radio value=3 name=quiz></TD>
<TD>Ctrl + P</TD></TR>
<TR>
<TD vAlign=top><INP UT type=radio value=4 name=quiz></TD>
<TD>Ctrl + S</TD></TR>
<TR>
<TD vAlign=top><INP UT type=radio value=1 name=quiz></TD>
<TD>Shift + F3</TD></TR></TBODY></TABLE><BR>  ;<INPUT type=submit value=" Next ">
<BR><BR></TD></TR>
<TR>
<TH class=front align=left bgcolor=#0099CC > Total 20 questions</TH>
<TH class=front align=right bgcolor=#0099CC >Time spent
0:00 </TH></TR></TBODY></TABLE></FORM></center>
I have a few problems wiht this:
Progression to next question (simplest method - least code, what are possible methods)
Link to a database with questions
Questions would be selected randomly on beginning each quiz - how is such a thing done.
It will display a working clock (digital display 0:00). As a person progresses from one question to another they can see how they are doing timewise.
Question numbering goes up sequentially - 1/20, 2/20, 3/20 and so on.
Finally at the end of the quiz a person will get a result with time length and if any questions were answered incorrectly the correct answer given.
Need help on any of the above, links, script etc.
Thanks in advance,
Sketch.
Comment