Multiple Choice Questions
Front matter and answer-list format for multiple choice questions in Markdown Quizzes.
Going to start off with this one since it's probably the one you'll use most often. Multiple choice questions have a type of either MC or Multiple Choice.
| Property | Notes |
|---|---|
| type | MC |
| answer | The correct answer for the question. Answers are listed below the ---answers header and the value for this property matches the answers in the order listed. It can be either a letter — A-Z — or a number. |
| shuffle | If true, the answers will be shuffled. Defaults to true. |
Example
---
title: A multiple choice question
type: MC
answer: A
shuffle: true
---
Which one of these is the biggest number?
---answers
100
---
25
---
60
---
-5
This question will have 4 options — 100, 25, 60 and -5. The correct answer is 100. The answers will be shuffled when shown to students.
Note the ---answers section break. The answers are listed below that heading and separated by --- (3 dashes).