【发布时间】:2021-04-25 05:24:10
【问题描述】:
我使用来自 R/exams 的 exams2moodle() 使用 Sweave (Rnw) 问题。一切正常,除非我尝试将下拉问题用于 schoice 或 mchoice 问题。按照手册,我尝试使用选项cloze_mchoice_display = "MULTICHOICE",但这不起作用。
我在下面包含一个示例 Rnw 练习以及我的 R 代码。
\begin{question}
Which is a parameter?
\begin{answerlist}
\item population mean.
\item sample mean.
\item sample variance.
\item sample mode.
\item sample standard deviation.
\item population mode
\end{answerlist}
\end{question}
%% \expoints{5}
%% \extype{mchoice}
%% \exsolution{100001}
%% \exshuffle{5}
复制代码:
library("exams")
exams2moodle("cloze_dropdown.Rnw", n=3, name = "dropdown")
make_question_moodle(cloze_mchoice_display = "MULTICHOICE")
【问题讨论】: