Design a quiz - help

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Sketcher

    Design a quiz - help

    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 >&nbsp;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>&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.
  • Mick White

    #2
    Re: Design a quiz - help

    Sketcher wrote:
    [color=blue]
    > Hi, I am trying to create a quiz,
    > Code is as follows:
    >
    > <html>
    > <head>
    > <title>Quiz</title>
    > </head>
    >[/color]




    Mick

    Comment

    • Dennis M. Marks

      #3
      Re: Design a quiz - help

      In article <8cyic.5515$qP2 .13428@news.ind igo.ie>, Sketcher
      <sketcher@eirco m.net> wrote:
      [color=blue]
      > 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 >&nbsp;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>&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.[/color]
      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

      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! =-----

      Comment

      Working...