| Quiz Generator by TTI
| Original Script taken from Miva.com's template applications
| Heavily modified for TTI by George Trombley Jr.
| All Rights Reserved 1999 Trombley Takenaka International
|
| SYSTEM CONFIGURATION VARIABLES
|
|
| Background Color For Question Boxes:
| #FBFED8
|
| Color For Questions Text:
|
|
| Location of graphics
|
YesJapan.com - Hiragana Quiz Center
| This portion can be moved in or out of the comments for debugging.
PRIOR_VERS = &[ prior_vers ]
VERS = &[ vers ]
DATADIR = &[ datadir ]
QUIZLIST = &[ quizlist ]
USER MAIL = &[ email ]
SCORE = &[ percent2]
DATE = &[ date ]
| 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.
|
| The following routine is called from the main quiz list.
|
|
| 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.
|
ERROR: You did not answer the question. You can not skip a question.
&[ quiztitle ]
|
| Get the current quiz data.
|
' }">
| Display the question if we are not continuing
| from the display of possible answers for
| a prior question
|
.
| This is the section that outputs the answers.
| Determines if there is a graphic for the answer.
| IF there is it will be linked to the graphic.
| The choice radio button is also output.
| ------------------------------------------------------------------- SHOW ANSWERS FUNCTION ---------------------------------- |
Your Score on this quiz was: &[ percent2 ]%
&[ quiztitle ] ANSWER KEY
|
| Get the current quiz data.
|
| Display the question if we are not continuing
| from the display of possible answers for
| a prior question
|
.
| This is the section that outputs the answers.
| Determines if there is a graphic for the answer.
| IF there is it will be linked to the graphic.
| The choice radio button is also output.
CORRECT ANSWERYOUR ANSWER
CORRECT ANSWER
YOUR ANSWER
| ------------------------------------------------------------------- SCORE FUNCTION ---------------------------------- |
You scored &[ score ] from a possible &[ count ] in the quiz.
Your score is &[ percent2 ]%
|
| Creats quizSTATS file with statistic information.
|
' }">
|
| The Main Routine
|
|
| This calls up the user's name.
|
Hiragana Quiz Area
Hello &[ name ].
Now after each quiz you will be able to view the correct answers.
Test your Hiragana skills here. You must have Japanese support to view the text in each quiz. We are adding quizzes as fast as we can!
Choose a quiz from the list and then click Run The Quiz. Your goal should be to score perfect on every quiz.