By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,930 Members | 1,383 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,930 IT Pros & Developers. It's quick & easy.

Design a quiz - help

P: n/a
Hi, I am trying to create a quiz,
Code is as follows:

<html>
<head>
<title>Quiz</title>
</head>

<BODY>
<Center><TABLE 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>&nbsp;Multiple 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><INPUT type=radio value=2 name=quiz></TD>
<TD>Alt + F4</TD></TR>
<TR>
<TD vAlign=top><INPUT type=radio value=3 name=quiz></TD>
<TD>Ctrl + P</TD></TR>
<TR>
<TD vAlign=top><INPUT type=radio value=4 name=quiz></TD>
<TD>Ctrl + S</TD></TR>
<TR>
<TD vAlign=top><INPUT type=radio value=1 name=quiz></TD>
<TD>Shift + F3</TD></TR></TBODY></TABLE><BR>&nbsp;<INPUT type=submit value=" Next ">
<BR><BR></TD></TR>
<TR>
<TH class=front align=left bgcolor=#0099CC>&nbsp;Total 20 questions</TH>
<TH class=front align=right bgcolor=#0099CC>Time spent
0:00&nbsp;</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.
Jul 23 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Sketcher wrote:
Hi, I am trying to create a quiz,
Code is as follows:

<html>
<head>
<title>Quiz</title>
</head>

http://mickweb.com/quiz/

http://www.mickweb.com/javascript/tu..._tutorial.html

Mick
Jul 23 '05 #2

P: n/a
In article <8c******************@news.indigo.ie>, Sketcher
<sk******@eircom.net> wrote:
Hi, I am trying to create a quiz,
Code is as follows:

<html>
<head>
<title>Quiz</title>
</head>

<BODY>
<Center><TABLE 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>&nbsp;Multiple
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><INPUT type=radio value=2 name=quiz></TD>
<TD>Alt + F4</TD></TR>
<TR>
<TD vAlign=top><INPUT type=radio value=3 name=quiz></TD>
<TD>Ctrl + P</TD></TR>
<TR>
<TD vAlign=top><INPUT type=radio value=4 name=quiz></TD>
<TD>Ctrl + S</TD></TR>
<TR>
<TD vAlign=top><INPUT type=radio value=1 name=quiz></TD>
<TD>Shift +
F3</TD></TR></TBODY></TABLE><BR>&nbsp;<INPUT type=submit value=" Next ">
<BR><BR></TD></TR>
<TR>
<TH class=front align=left bgcolor=#0099CC>&nbsp;Total 20
questions</TH>
<TH class=front align=right bgcolor=#0099CC>Time spent
0:00&nbsp;</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.

Before you add more code you should correct what you have. There is no
need for multiple levels of table. There is no need for tbody without
thead and tfoot. All tags should be lowercase. All parameters should be
within quotes. You have an end of form but no beginning. There are many
prebuilt quiz layouts on the web. Just do a search for quiz html.

--
Dennis M. Marks
http://www.dcs-chico.com/~denmarks/
Replace domain.invalid with dcsi.net
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Jul 23 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.