I'm using the rexams package to create questionaries for Moodle with the exams2moodle()
function.
I would like to create an mchoice
question with, for instance, 5 true answers and 10 false answers. Ok, but I would like that this mchoice question behaves as an schoice
question; that is, that finally an schoice question is created from the mchoice.
The final created schoice question would have 1 true answer (taken randomly from the 5 true answers in the mchoice question) and 3 false answers (from the 10 false answers in the mchoice).
I think this is possible within the rexams package, at least I remember to have seen it, but I cannot do it. Thanks
See here:
exshuffle
is set to 5 so that 1 correct and 4 random wrong alternatives are subsampled and shuffled
An MWE (in .Rnw
):
\exname{Test}
\extype{schoice}
\exsolution{11100000} % true, true, true and the others are false
\exshuffle{5}
\begin{question}
Question text.
\begin{answerlist}
\item a
\item b
\item c
\item 1
\item 2
\item 3
\item 4
\item 5
\end{answerlist}
\end{question}