如何用带有正确答案的R/考试为Moodle创建一个数字问题 [英] how to create a num question for Moodle with R/exams with partially correct answers
问题描述
我想使用R/考试创建随机的Moodle问题.当我手动在Moodle中创建一个数字问题时,我可以添加部分正确的答案(对于典型的小错误),我的得分为50%.我在R/考试中找不到类似的内容.如果有任何帮助,我可以提供一些有关Moodle问题的XML.
I want to use R/exams to create randomised Moodle questions. When I create - by hand - a num question in Moodle, I can add partially correct answers, for typical small mistakes, that I grade with 50%. I could not find something like that in R/exams. I can provide some XML of such a Moodle question if that is of any help.
推荐答案
对于Moodle,您可以在cloze
练习中使用verbatim
练习类型(而不是num
或schoice
等).然后,您可以直接包括所需的Moodle处理.有关工作示例,请参见 http://www.R-exams.org/templates/confint3/.
For Moodle you can use the verbatim
exercise type (instead of num
or schoice
etc.) in a cloze
exercise. Then you can include the desired Moodle processing directly. For a worked example, see http://www.R-exams.org/templates/confint3/.
您可以使用verbatim
部件,然后使用:NUMERICAL:=1.23:0.1~%50%2.34:0.1#plus feedback text
部件(如果1.23
是完全正确的,并且2.34
部分正确.有关详细信息,请参见Moodle文档:
https://docs.moodle.org/38/en/Embedded_Answers_(( Cloze)_question_type#Syntax_for_numerical_Cloze_questions
Instead of using num
parts and putting the correct number, say 1.23
into the exsolution
, you can use verbatim
parts and then put something like :NUMERICAL:=1.23:0.1~%50%2.34:0.1#plus feedback text
if 1.23
is fully correct and 2.34
is partially correct. See the Moodle documentation for details:
https://docs.moodle.org/38/en/Embedded_Answers_(Cloze)_question_type#Syntax_for_numerical_Cloze_questions
这篇关于如何用带有正确答案的R/考试为Moodle创建一个数字问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!