如何创建包含单项选择和多项选择的完形填空问题类型?
How do I create a cloze question type with a combination of single and multiple choices?
我的问题出现在导出到 moodle 的问题中。
我打算创建一个完形填空题,其中一部分是单选题 (schoice),另一部分是多项选择题 (mchoice)。使用 exams2moodle 函数导出时,我有两种可能的行为:所有问题都显示为选择(下拉菜单)或所有问题都显示为 mchoice(复选框)。从视觉上看,第二种情况甚至可能有效,但它不能正确得分或罚分,因为无论其定义如何,问题都被视为 mchoice。
这些不同的行为是如何发生的?第一项定义问题的行为,如果第一项是选择,那么每个人都会出现,反之亦然。
最小示例(所有问题在 moodle 中显示为 mchoice)
\begin{question}
This is the question. This is the question
\begin{answerlist}
\item Multiple choice answer 1.
\item Multiple choice answer 2.
\item Multiple choice answer 3.
\item Multiple choice answer 4.
\item Single choice 1.
\item Single choice 2.
\end{answerlist}
\end{question}
\exname{cloze_schoice_mchoice}
\extype{cloze}
\exclozetype{mchoice|schoice}
\exsolution{1100|10}
最小示例(所有问题在 moodle 中显示为选择)
\begin{question}
This is the question. This is the question
\begin{answerlist}
\item Single choice 1.
\item Single choice 2.
\item Multiple choice answer 1.
\item Multiple choice answer 2.
\item Multiple choice answer 3.
\item Multiple choice answer 4.
\end{answerlist}
\end{question}
\exname{cloze_schoice_mchoice}
\extype{cloze}
\exclozetype{schoice|mchoice}
\exsolution{10|1100}
是否有可能获得正确的行为或做一些解决方法?
这是 exams2moodle()
中的错误,感谢您指出这一点。我已在 exams
2.4-0 中修复它,即 R-Forge 上的当前开发版本。如果您安装它,运行 exams2moodle()
会为您提供 mchoice
问题的复选框和 schoice
问题的 drop-down 菜单。这些默认值可以通过
修改
exams2moodle(...,
cloze = list(cloze_mchoice_display = ..., cloze_schoice_display = ...))
我的问题出现在导出到 moodle 的问题中。 我打算创建一个完形填空题,其中一部分是单选题 (schoice),另一部分是多项选择题 (mchoice)。使用 exams2moodle 函数导出时,我有两种可能的行为:所有问题都显示为选择(下拉菜单)或所有问题都显示为 mchoice(复选框)。从视觉上看,第二种情况甚至可能有效,但它不能正确得分或罚分,因为无论其定义如何,问题都被视为 mchoice。
这些不同的行为是如何发生的?第一项定义问题的行为,如果第一项是选择,那么每个人都会出现,反之亦然。
最小示例(所有问题在 moodle 中显示为 mchoice)
\begin{question}
This is the question. This is the question
\begin{answerlist}
\item Multiple choice answer 1.
\item Multiple choice answer 2.
\item Multiple choice answer 3.
\item Multiple choice answer 4.
\item Single choice 1.
\item Single choice 2.
\end{answerlist}
\end{question}
\exname{cloze_schoice_mchoice}
\extype{cloze}
\exclozetype{mchoice|schoice}
\exsolution{1100|10}
最小示例(所有问题在 moodle 中显示为选择)
\begin{question}
This is the question. This is the question
\begin{answerlist}
\item Single choice 1.
\item Single choice 2.
\item Multiple choice answer 1.
\item Multiple choice answer 2.
\item Multiple choice answer 3.
\item Multiple choice answer 4.
\end{answerlist}
\end{question}
\exname{cloze_schoice_mchoice}
\extype{cloze}
\exclozetype{schoice|mchoice}
\exsolution{10|1100}
是否有可能获得正确的行为或做一些解决方法?
这是 exams2moodle()
中的错误,感谢您指出这一点。我已在 exams
2.4-0 中修复它,即 R-Forge 上的当前开发版本。如果您安装它,运行 exams2moodle()
会为您提供 mchoice
问题的复选框和 schoice
问题的 drop-down 菜单。这些默认值可以通过
exams2moodle(...,
cloze = list(cloze_mchoice_display = ..., cloze_schoice_display = ...))