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
  • tabular form

text

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

#shuffle_questions:false
#shuffle_choices:false
#show_correct_answer:false
Choose the prefectural capital of Hokkaido.
sa:
Sapporo City
Hakodate City
Obihiro City

Tomakomai CityChoose the prefectural capital of Aomori Prefecture.
sa:
Aomori city
Hachinohe City
Tsugaru City
Tokai Village

Choose the prefectural capital of Iwate Prefecture.
sa:
Morioka City
Iwate City
Hanamaki City
Ichinoseki City

Choose the prefectural capital of Miyagi Prefecture.
sa:
Sendai city
City of Miyagi
Morioka City
Natori City

Choose the prefectural capital of Akita Prefecture.
sa:
Akita City
Yuzawa City
Oga City
Daisen City

  • 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.

tabular form

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:false
3 #shuffle_choices:false
4 #show_correct_answer:false
5 Hokkaido (northernmost of the four main islands of Japan) sa: Sapporo City Hakodate City Obihiro City Tomakomai City
6 Aomori prefecture (Tohoku area) sa: Aomori city Hachinohe City Tsugaru City Tokai Village
7 Iwate prefecture (Tohoku area) sa: Morioka City Iwate City Hanamaki City Ichinoseki City
8 Miyagi prefecture (Tohoku area) sa: Sendai city City of Miyagi Morioka City Natori City
9 Akita prefecture (Tohoku area) sa: Akita City Yuzawa City Oga City Daisen City

Various optional values are available

You can create more flexible quizzes by setting optional values.
The list of optional items isthis way (direction close to the speaker or towards the speaker)for more information.

 

en_USEN