| 1 |
\documentclass[theme=vibrant]{webquiz} |
| 2 |
\title{A multiple choice example with zero or more correct answers} |
| 3 |
\renewcommand\thechoice{\roman{choice})} |
| 4 |
\begin{document} |
| 5 |
\begin{question} % a quiz question |
| 6 |
Which of the following integers are prime? |
| 7 |
% multiple (0 or more) correct answers rendered in three columns |
| 8 |
\begin{choice}[multiple, columns=3] |
| 9 |
\correct $17$ \feedback Yes, the only divisors of $17$ are $1$ |
| 10 |
and $17$ |
| 11 |
\incorrect $12$ \feedback No, $12 = 3\times 4$ |
| 12 |
\incorrect $27$ \feedback No, $27=3^3$ |
| 13 |
\incorrect $91$ \feedback No, $91 = 3\times 17$ |
| 14 |
\incorrect $1$ \feedback One is not a prime number because it |
| 15 |
is invertible |
| 16 |
\correct $97$ \feedback Yes, the only divisors of $97$ are $1$ |
| 17 |
and $97$ |
| 18 |
\end{choice} |
| 19 |
\end{question} |
| 20 |
\end{document} |