| quiz.hts - multiple choice quiz system for Miva | | This active document automates the creation of multiple choices | quizes and provides a facility to run and score the quiz. | | PROCEDURE FOR INSTALLING THIS ACTIVE DOCUMENT: | | 1. Copy the sample datafiles "quiz*.dat" to the directory | where htmlscript data is stored. If you are uncertain what | this means, then contact your site administrator. | | 2. Copy the sample active document file "quiz.mv" to the | directory where Miva active documents are stored. | | 3. Change the SYSTEM CONFIGURATION VARIABLES | (search for "SYSTEM" in this document to find the section) | | 4. The active document should run!! | | WHERE TO GET HELP: | | Htmlscript maintains an open list server for the Miva | users group. You can post messages to this list with questions | and items of interest for other htmlscript users. To subscribe | to this list send email to majordomo@htmlscript.com with the | following on the *first line* of the message body (not the subject): | | subscribe hts-users [your email address] | | To post messages to the list send email to miva-users@htmlscript.com | | NOTE TO HTMLSCRIPT USERS: The miva-users group is an alias for the | hts-users group. There is no need to subscribe to both. Messages | posted to either group are visible to the other. | | SYSTEM CONFIGURATION VARIABLES | | | Background Color For Question Boxes: | | | Color For Questions Text: | | | Location of graphics | CLOH.Org Quiz Area | The 'nextaction' variable contains a word that | tells the active document where to begin execution. | It is passed on the URL command line from | one iteration of the active document to another. | If there are no arguments on the command line, then | the current iteration of the active document is | assumed to be the first. | | ...from FORM submit | | | The following routine is called from the main quiz list. | | | Log the quiz selection. | | | This should not be possible, but check anyway. |

ERROR

The selected title &[ quizname ] does not exist in the system. | | Now that we have a quiz, run the quiz. |
&[ quiztitle ]
| | Get the current quiz data. |

| Display the question if we are not continuing | from the display of possible answers for | a prior question
 
   





You scored &[ score ] from a possible &[ count ] in the quiz.


Quiz Creation

&[ message ]

Quiz Title

INSTRUCTIONS: After entering a title, you will be presented with a form asking you for the first question and a possible answer for the question. You will also be provided with the options of making the possible answer TRUE or FALSE and the option of adding additional possible answers for the question.

Once you have created all of the possible answers for the question (one of the answers must be TRUE), then you can either add another question and repeat the process of making possible answers or completing the quiz.

Once your quiz has been completed, then your quiz will automatically be added to the list of available quizs on the opening page.

IMPORTANT NOTE: The questions and possible answers are written as you create the quiz. Do Not use the back button in your browser to attempt to edit an entry. Once an entry is committed it is permanent and cannot be edited -- think your questions and possible answers through carefully before entering them into the system!



Quiz Title: &[ quiztitle ]

What Do You Want To Do Next?


Create Question &[ qnumber ]
possible answer

INSTRUCTIONS (READ CAREFULLY):

A quiz is constructed of multiple questions with each question having multiple possible answers. Only one possible answer can be true.

Before proceeding with this system, it would be a good idea to construct an outline of your questions and possible answers as follows:

    Question 1 (Which animal flies?)
    • Possible Answer 1(bird)(false)
    • Possible Answer 2(cat)(true)
    • Possible Answer 3(dog)(false)

    Question 2 (San Diego is in which state?)

    • Possible Answer 1(California)(true)
    • Possible Answer 2(Michigan)(false)
    • Possible Answer 3(New York)(false)
    • Possible Answer 4(Illinois)(false)

In the first form, enter in a question and the first possible answer for the question. You will have the opportunity to provide additional possible answers in subsequent screens. Select the options to define if the possible answer is true and if there are additional possible answers.

If you select NO to the radio button, "Is this the last possible answer for the question?" then you will be presented with a form that allows you to add an additional possible answer which is associated with the same question.

You can add as many possible answers to a question as you want -- when you are done adding possible answers, for the question, then select YES to the radio button, "Is this the last possible answer for the question?" -- after submitting (committing), you will be asked if you would like to add an additional question to your quiz.

Once you select True for a possible answer, you will still be allowed to enter additional possible answers for the question, but they will be assumed to be False.

Questions are added to the quiz as you go through the forms. Do Not use the back button in your browser to attempt to edit a question or possible answer. Once a question and/or a possible answer is committed, it will be written to the quiz file.

Enter question

Enter possible answer for Question

Is the possible answer:
      True
      False
Is this the last possible answer for the question?
      Yes
      No


| | The Main Routine |


Select a Quiz:


     

Select one of the titles in the list box and Run The Quiz or use the Quiz Creation System to build your own quiz! No programming knowledge is needed to build your own mulitple choice quiz.