Deploy
This commit is contained in:
1 parent
8bbcf8ecd9
commit
45dd65b48e
116 files changed
+20457
-1164
No files matched your search
@@ -31,6 +31,8 @@ exo:
|
||||
|
||||
quiz:
|
||||
pdf-answers: inline # PDF: answers under the quiz (default: end of chapter)
|
||||
points: 3 # points one question is worth (default 3)
|
||||
penalty: 1 # points one wrong statement costs (default 1)
|
||||
label: "Quiz" # labels follow `lang` (en/fr/de); override any of
|
||||
question: "Question" # label, question, answers, answer, check, reset,
|
||||
check: "Vérifier" # right, wrong, score, true, false, hint, page
|
||||
@@ -194,13 +196,29 @@ a single question). Numbering is chapter.n, as for exercises.
|
||||
|
||||
In HTML the options are real checkboxes and one **Check** button at the end of
|
||||
the quiz marks every option, reveals the explanations for the mistakes and
|
||||
scores the quiz; **Reset** clears it. A question counts as correct only when
|
||||
*all* of its options are in the right state — the exam's multiple-true-false
|
||||
rule.
|
||||
scores the quiz; **Reset** clears it. A question counts as correct — the
|
||||
verdict line — only when *all* of its options are in the right state, which is
|
||||
the exam's multiple-true-false rule.
|
||||
|
||||
In the PDF the boxes are empty, to tick with a pen, and the answers are
|
||||
printed at the end of the chapter with a page reference back to the quiz
|
||||
(`quiz: pdf-answers: inline` keeps them in place).
|
||||
**Points.** A question is worth `points` (default 3). Every statement whose box
|
||||
disagrees with its truth value costs `penalty` (default 1): an unticked true
|
||||
statement and a ticked false one both count as one miss. The result floors at
|
||||
zero, so three misses empty a 3-point question and a fourth cannot take the
|
||||
total negative. The quiz's headline is the sum over its questions, "4 of 6
|
||||
points". Set the pair book-wide under `quiz:` in `_quarto.yml`, or per quiz and
|
||||
per question:
|
||||
|
||||
```markdown
|
||||
::::{.quiz title="..." points="6" penalty="2"}
|
||||
::: {.question points="3"}
|
||||
```
|
||||
|
||||
A question's own attribute wins over the quiz's, which wins over the metadata.
|
||||
|
||||
In the PDF the boxes are empty, to tick with a pen, the points a question is
|
||||
worth are printed next to its heading, and the answers are printed at the end
|
||||
of the chapter with a page reference back to the quiz (`quiz: pdf-answers:
|
||||
inline` keeps them in place).
|
||||
|
||||
Correct answers are part of the built HTML, as solutions are: the quiz is a
|
||||
self-check, not an assessment.
|
||||
|
||||
Reference in new issue
Block a user