how to create a num question for Moodle with R/exams with partially correct answers

人盡茶涼 提交于 2020-06-12 11:41:43

问题


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.


回答1:


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/.

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



来源:https://stackoverflow.com/questions/61864404/how-to-create-a-num-question-for-moodle-with-r-exams-with-partially-correct-answ

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!