Utility for Cloze syntax

Utility for Cloze syntax

by Marcus Green -
Number of replies: 1
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

I have always found it hard to remember the syntax for Cloze questions and thought it would be useful to create a utility to allow the generation of simple examples. I have created a prototype of a simplified form that generates basic drop down questions with a single correct answer and feedback items. I would appreciate feedback to see if other people think this might be useful. See the attached screen shot of the form in action. The code is a single php method in the edit_multiuser_form.php file.

Attachment convert.png
Average of ratings: -
In reply to Marcus Green

Re: Utility for Cloze syntax

by Pierre Pichet -

This is another interesting suggestion on how to help people create Cloze questions.

I think that first the Cloze help page should be improved and perhaps normal users could do a better job than specialists wink.

We could add an external editor and there are some of them in Module and plug-ins as http://moodle.org/mod/data/view.php?d=13&rid=3959&filter=1

Doing it inside the Cloze moodle form, we will have to do it following the Moodle form standards and include a complete validation code for all question types.

Just think of having the shortanswer, numerical and multiple choice question interface on one form.

As a compromise we add the decode and verify function to at least show you the result of your code so that you can do yourself the corrections in a self learning process which is quite in agreement with moodle philosophy.

 

Pierre