How to set the option value

  • HOME
  • How to set the option value

QuizGnerator allows you to set your own options.
Various customizations can be made to suit the application, such as changing messages, time limits, and limiting the number of questions.

How to set the option value

Here are the rules for option values.
To set an option, enter it at the beginning of the question text (quiz.txt) in the format "# attribute name:value" as shown below.
*The rules are the same for setting up in Excel.

Quiz with set option values

We will use "messages_intro", "time_limit", and "question_count" as examples.

Start message "Prefecture Quiz Simplified Version
Time limit "60".
Number of questions limit "1".

Text (Notepad)

#messages_intro: Prefectures Quiz Simplified
#time_limit:60
#question_count:1

Choose the capital city of Japan.
true-false:
Tokyo
Osaka
Kobe
Kyoto

Choose the capital city of Mexico.
true-false:
Carbon dioxide
Nitrogen
State of Mexico
Guanajuato

Choose the capital city of Italy.
true-false:
Rome
Milan
Naples
Turin

Excel

To create questions in tabular format, write "#format:table" at the beginning of the file.
After the second line, one line at a time, describe the option values.

A b C d e f
1 #format:table
2 #question_count:1
3 #messages_intro:Click on the Start button to start!
4 #time_limit:60
5 Choose the capital city of Japan. true-false: Tokyo Osaka Kobe Kyoto
6 Choose the capital city of Mexico. true-false: Carbon dioxide Nitrogen State of Mexico Guanajuato
7 Choose the capital city of Italy. true-false: Rome Milan Naples Turin

Quiz with set option values

Various optional values are available

You can create more flexible quizzes by setting optional values.
The list of optional items is list of optionsfor more information.