Forum: support


RE: exams - cloze - rounding [ Reply ] By: Arno Kimeswenger on 2025-06-18 14:54 | [forum:50092] |
Thank you! This works for me. |
RE: exams - cloze - rounding [ Reply ] By: Achim Zeileis on 2025-06-18 13:38 | [forum:50091] |
For exams2moodle() you can set the exclozetype to "verbatim" and then enter the Moodle instructions for scoring this answer. In your example: extype: cloze exclozetype: verbatim exsolution: :NM:=3.19~%75%3.18 See also https://www.R-exams.org/templates/confint3/ for a somewhat more elaborate example where the Moodle code is built programmatically in the R code. |
exams - cloze - rounding [ Reply ] By: Arno Kimeswenger on 2025-06-18 13:17 | [forum:50090] |
Hi, I want to use exam2moodle for a cloze question in moodle like {1:NM:=3.19~%75%3.18} So 3.19 is the numerical solution but due to rounding errors quite often students answer with 3.18. If the answer is 3.18 students should get 75% of the points. Till now I have something like Question ======== Round 3.187 to 2 decimal places. ##ANSWER1## Meta-information ================ extype: cloze exclozetype: num exsolution: 3.19 exname: ex1a expoints: 1 extol: 0.01 Do you know if this is possible? Thank you for your ideas! Arno |