Extension quiz

A multiple choice questions that can be solved directly in the page.

Must have exactly one correct answer.

Python typeQuiz
typequiz
LanguageYAML
Required fieldscorrect, false-1
Optional fieldsquestion, title, false-2, false-3, result-correct, result-false, result-false-1, result-false-2, result-false-3
Post-Yaml Sectionoptional

Example 1

Example Quiz 1

Which of the alternatives is the best one?

  1. This is the right answer.
  2. A fake answer.
  3. Another fake answer.
  4. Yet another fake anser.

Source Code

---
type: quiz
title: Example Quiz 1
question: Which of the alternatives is the best one?
correct: This is the right answer.
false-1: A fake answer.
false-2: Another fake answer.
false-3: Yet another fake anser.
result-correct: Correct. You selected the 
result-false-1: False. You selected a fake answer.
result-false-2: False. You selected another fake answer.
result-false-2: False. You selected yet another fake answer.
---
---
type: quiz
title: Example Quiz 1
question: Which of the alternatives is the best one?
correct: This is the right answer.
false-1: A fake answer.
false-2: Another fake answer.
false-3: Yet another fake anser.
result-correct: Correct. You selected the 
result-false-1: False. You selected a fake answer.
result-false-2: False. You selected another fake answer.
result-false-2: False. You selected yet another fake answer.
---

Example 2

Example Quiz 2

Which of the alternatives is the best one?

  • A list with one item
  • Another item
  1. This is the right answer.
  2. A fake answer.
  3. Another fake answer.
  4. Yet another fake anser.

Source Code

---
type: quiz
title: Example Quiz 2
correct: This is the right answer.
false-1: A fake answer.
false-2: Another fake answer.
false-3: Yet another fake anser.
result-correct: Correct. You selected the 
result-false-1: False. You selected a fake answer.
result-false-2: False. You selected another fake answer.
result-false-2: False. You selected yet another fake answer.
---
Which of the alternatives is the best one?

* A list with one item
* Another item
---
type: quiz
title: Example Quiz 2
correct: This is the right answer.
false-1: A fake answer.
false-2: Another fake answer.
false-3: Yet another fake anser.
result-correct: Correct. You selected the 
result-false-1: False. You selected a fake answer.
result-false-2: False. You selected another fake answer.
result-false-2: False. You selected yet another fake answer.
---
Which of the alternatives is the best one?

* A list with one item
* Another item
Edit this page