| 1 |
% !TeX encoding = UTF-8 |
| 2 |
% !TeX spellcheck = en_US |
| 3 |
% !TEX TS-program = lualatex |
| 4 |
\documentclass{article} |
| 5 |
\usepackage[nostamp]{moodle} |
| 6 |
\ifPDFTeX % FOR LATEX and PDFLATEX |
| 7 |
\usepackage[utf8]{inputenc} % necessary |
| 8 |
\usepackage[T1]{fontenc} % necessary |
| 9 |
\else % assuming XELATEX or LUALATEX |
| 10 |
\usepackage{fontspec} |
| 11 |
\fi |
| 12 |
\begin{document} |
| 13 |
|
| 14 |
\section*{Introduction} |
| 15 |
|
| 16 |
This document is intended to check the scoring strategies in multi-choice |
| 17 |
questions with multiple answers allowed. |
| 18 |
|
| 19 |
\begin{quiz}[multiple]{Example Quiz} |
| 20 |
\begin{multi}{All correct} |
| 21 |
100\% is distributed uniformly. |
| 22 |
\item* A |
| 23 |
\item* B |
| 24 |
\item* C |
| 25 |
\end{multi} |
| 26 |
\begin{multi}{Auto sanction} |
| 27 |
Without the star, an error shall be issued because correct answers should add |
| 28 |
up to 100\%. |
| 29 |
\item* A |
| 30 |
\item B |
| 31 |
\item C |
| 32 |
\end{multi} |
| 33 |
\begin{multi}{All correct but total $\geq 100$} |
| 34 |
A warning shall be issued because correct answers must add up to 100\%. |
| 35 |
\item[fraction=50] A |
| 36 |
\item[fraction=50] B |
| 37 |
\item[fraction=50] C |
| 38 |
\end{multi} |
| 39 |
\begin{multi}{Multiple Choice} |
| 40 |
Select the following numbers that are prime. |
| 41 |
\item[fraction=20] 2 |
| 42 |
\item* 5 |
| 43 |
\item* 7 |
| 44 |
\item[fraction=-50] 1 |
| 45 |
\item 6 |
| 46 |
\item 8 |
| 47 |
\end{multi} |
| 48 |
\begin{multi}{Fruits (automatic scores)} |
| 49 |
Select the fruits |
| 50 |
\item* Apple% (100% scaled to +1/3) |
| 51 |
\item Burger% (-100% scaled to -1/3) |
| 52 |
\item Hot dog% (-100% scaled to -1/3) |
| 53 |
\item Pizza% (-100% scaled to -1/3) |
| 54 |
\item* Orange% (100% scaled to +1/3) |
| 55 |
\item* Banana% (100% scaled to +1/3) |
| 56 |
\end{multi} |
| 57 |
\begin{multi}{Vegetables (advanced scores)} |
| 58 |
Select the vegetables |
| 59 |
\item[fraction=10,feedback={Good}] Radish% (10% scaled to 1/11=9.1%) |
| 60 |
\item[fraction=-20] Chocolate% (-20% unchanged) |
| 61 |
\item[fraction=-20] Biscuit% (-30% unchanged) |
| 62 |
\item[fraction=-10] Cheese% (-10% unchanged) |
| 63 |
\item[fraction=100] Carrot% (100% scaled to 10/11=91%) |
| 64 |
%\item* Test |
| 65 |
\end{multi} |
| 66 |
\begin{cloze}{Embedded questions} |
| 67 |
\begin{multi}%{Fruits (automatic scores)} |
| 68 |
Select the fruits |
| 69 |
\item* Apple% (100% scaled to +1/3) |
| 70 |
\item Burger% (-100% scaled to -1/3) |
| 71 |
\item Hot dog% (-100% scaled to -1/3) |
| 72 |
\item Pizza% (-100% scaled to -1/3) |
| 73 |
\item* Orange% (100% scaled to +1/3) |
| 74 |
\item* Banana% (100% scaled to +1/3) |
| 75 |
\end{multi} |
| 76 |
\begin{multi}%{Vegetables (advanced scores)} |
| 77 |
Select the vegetables |
| 78 |
\item[fraction=10,feedback={Good}] Radish% (10% scaled to 1/11=9.1%) |
| 79 |
\item[fraction=-20] Chocolate% (-20% unchanged) |
| 80 |
\item[fraction=-20] Biscuit% (-30% unchanged) |
| 81 |
\item[fraction=-10] Cheese% (-10% unchanged) |
| 82 |
\item[fraction=100] Carrot% (100% scaled to 10/11=91%) |
| 83 |
%\item* Test |
| 84 |
\end{multi} |
| 85 |
\end{cloze} |
| 86 |
\end{quiz} |
| 87 |
\end{document} |