Response template for short-answer questions

Response template for short-answer questions

Napisane bez: Rick Van Camp ()
Liczba ôdpowiedzi: 6

Moodle 2.7

I am a heavy user of short answer questions and, more recently, regex questions. I also use the possibility of a response template in the essay question occasionally. However, what I really desire is to combine these, e.g. to populate the short answer field with text that students can then manipulate. This would have a range of applications. In punctuation exercises, for example, a student could just enter a comma in a ready sentence which would then be checked with a regular expression. 

Is something like this already doable? If not, to which forum should I post a suggestion for this feature?

Thanks,
Rick

W ôdpowiedzi na Rick Van Camp

Re: Response template for short-answer questions

Napisane bez: Tim Hunt ()
Ôbrŏz Core developers Ôbrŏz Documentation writers Ôbrŏz Particularly helpful Moodlers Ôbrŏz Peer reviewers Ôbrŏz Plugin developers

It would take a small change to the code. For comparsion, here is what it took to implement this in the Essay question type: https://github.com/moodle/moodle/commit/60527d0c340a34079823c6a586f68c9d792e36ee. (It's not as bad as it looks, half of that is unit tests.)

Anyway, it is a good idea. By all means create a feature request for it. (I just searched, and I don't think there is one yet.)


W ôdpowiedzi na Tim Hunt

Re: Response template for short-answer questions

Napisane bez: Rick Van Camp ()

Hi again,

I just noticed from Github that the guys replying actually made the Regexp plugin. Thanks a bunch and if you are ever in Finland, dinner is on me. I can't tell you how useful and fun it is to use! But where is the appropriate place to post feature requests of this kind? There are so many forums here, or should I do it in Github?

Rick

W ôdpowiedzi na Rick Van Camp

Re: Response template for short-answer questions

Napisane bez: Joseph Rézeau ()
Ôbrŏz Core developers Ôbrŏz Particularly helpful Moodlers Ôbrŏz Plugin developers Ôbrŏz Testers Ôbrŏz Translators

Hi Rick,

I agree that the feature you request might be useful when using a short answer (or regexp) question type. However, not quite as useful as in the case of the Essay question type.

A very simple workaround is to provide in your question text the "response template" and instruct the student to select that template sentence and copy & paste OR drag & drop it into the Response field, where it can be edited.

Joseph

Example with the REGEXP question type:

screenshot #1

W ôdpowiedzi na Joseph Rézeau

Re: Response template for short-answer questions

Napisane bez: Rick Van Camp ()

Hi Josesph,

Thanks for the tip. While I have used the workaround of having them cut and paste (with the occasional missing part), it never occurred to me that drap and drop was possible. I assume I need to add a particular plugin for this functionalility, correct?

Rick