Fix the order in which questions and choices are displayed / Do not display the correct answer when answering incorrectly

  • HOME
  • Fix the order in which questions and choices are displayed / Do not display the correct answer when answering incorrectly

By entering option values, you can customize various things, such as fixing the order in which questions and choices are displayed, or showing/hiding the correct answer when answering incorrectly.

How to set the option value

Put the following at the beginning of the question text (quiz.txt) in the format "# attribute name:value".

#shuffle_questions:true/false (←Select whether to display the questions in the order in which they were created.)
#shuffle_choices:true/false (←Select whether to display the choices in the order in which they were created.)
#show_correct_answer:true/false (←Choose whether to show the correct answer when the answer is incorrect.)

item name default value Description.
shuffle_questions true Select whether the order in which the questions are displayed should be random (true) or fixed (false).
shuffle_choices true Select whether the display order of the options should be random (true) or fixed (false).
show_correct_answer true Select whether to show the correct answer when the answer is incorrect (true) or not (false).
  • text
  • Excel

text

Describe the question text, correct answers, wrong answers, etc., one element per line. Insert a blank line between each question.

#shuffle_questions:true
#shuffle_choices:false
#show_correct_answer:false
Choose the capital city of Japan.
true-false:
Tokyo
Osaka
Kobe

Tomakomai CityChoose the prefectural capital of Aomori Prefecture.
true-false:
Carbon dioxide
Nitrogen
State of Mexico
Guanajuato

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

Choose the prefectural capital of Miyagi Prefecture.
true-false:
Canberra
Sydney
Rome
Brisbane

Choose the prefectural capital of Akita Prefecture.
true-false:
Bangkok
Nonthaburi
Songkhla
Chonburi

  • The first line, #shuffle_questions:false, sets the order of questions to be submitted from the top of the text.
  • The second line, #shuffle_choices:false, sets the order of the choices for the questions to be submitted in order from the top of the text.
  • The third line, #show_correct_answer:false, is set to not show the correct answer when the answer is incorrect.
  • The fourth and subsequent lines are the problem definition. The problem definition is divided into several blocks separated by blank lines. In each block, the first line contains the question text, the second line contains the question type "sa:", the third line contains the correct answer choices, and the fourth and subsequent lines contain the wrong answer choices.

Excel

To create a question in tabular format, write "#format:table" at the beginning of the file, with the optional values on the second and subsequent lines, one by one.

A b C d e f
1 #format:table
2 #shuffle_questions:true
3 #shuffle_choices:false
4 #show_correct_answer:false
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
8 Choose the capital city of Australia. true-false: Canberra Sydney Rome Brisbane
9 Choose the capital city of Thailand. true-false: Bangkok Nonthaburi Songkhla Chonburi

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.