New utility for creating Cloze type question from standalone questions

New utility for creating Cloze type question from standalone questions

ved Joseph Rézeau -
Antal besvarelser: 11
Billede af Core developers Billede af Plugin developers Billede af Testers Billede af Translators

The Cloze/Embedded question type is useful to create tests of the "fill in the blanks" variety. This can be done using Hot Potatoes' JCloze programme, but Moodle's Cloze question allows a wider variety of "sub-question" types: MCQ, numerical, short answer, regexp short answer (if you have installed it on your Moodle).

Unfortunately, there is no user-friendly interface for entering Cloze questions in Moodle and you have to type in the code, which is time consuming and error prone.

I am proposing the Cloze_JR utility (for Moodle 1.6+) which aims at making things slightly easier. This utility consists of a single file residing in a single directory, which you simply drop into \moodle\question\format\. It collects all the questions from a given question category in your Moodle questions bank and automatically generates a single Cloze-type question with them. It will optionally insert the blanks to be filled in their proper place.

Please download, install, test and report!

Please note that this utility does not create anything in the database and does not make any other changes to Moodle, so should be quite safe to use even on a production site (Moodle 1.6) but please use it on a test site first.

If you prefer, you can test this utility on my own test site. E-mail me for a teacher username & password and instructions.

Joseph

Gennemsnitsbedømmelse: -
I svar til Joseph Rézeau

Re: New utility for creating Cloze type question from standalone questions

ved Carl Dowse -
Hello Joseph,

Could you please let me have a username and password for your test site.

Many thanks,

Carl Dowse

PS Do you know if there is any way to have a webpage for students to navigate in, embedded into a quiz/lesson?
I svar til Joseph Rézeau

Re: New utility for creating Cloze type question from standalone questions

ved Jeff Forssell -
What a great idea!

Unfortunately the numerical question type is more flexible in the CLOZE version than in the straight version. (It has only feedback for the right answer, and the units support was buggy [maybe that's been improved]) though I know that the numerical question engine supports feedback for mutiple intervals, but one has to hack the questions XML by hand.

I would appreciate a trial login too.
I svar til Jeff Forssell

Re: New utility for creating Cloze type question from standalone questions

ved Tim Hunt -
Billede af Core developers Billede af Documentation writers Billede af Particularly helpful Moodlers Billede af Peer reviewers Billede af Plugin developers
Numerical questions will be much better in 1.7.
I svar til Tim Hunt

Re: New utility for creating Cloze type question from standalone questions

ved Jeff Forssell -
What's going on there? Are you working on it?  I'd like to be in on that.
I svar til Jeff Forssell

Re: New utility for creating Cloze type question from standalone questions

ved Tim Hunt -
Billede af Core developers Billede af Documentation writers Billede af Particularly helpful Moodlers Billede af Peer reviewers Billede af Plugin developers
I've already done some work on it, and won't doing anything else for a while. Basically it is now a bit more like the shortanswer question. You can have several possible answers, and the first matching one is used to determine the score and feedback. You can also have feedback for all wrong answers. And I cleaned up the code and the way units are applied a bit.
I svar til Tim Hunt

Re: New utility for creating Cloze type question from standalone questions

ved Jeff Forssell -
I have a number of bug/feature requests about numerical. Is there any discussion thread going on that I've missed?

Many changes in the units treatment should really be done. I'd like to help if I could.
I svar til Jeff Forssell

Re: New utility for creating Cloze type question from standalone questions

ved Tim Hunt -
Billede af Core developers Billede af Documentation writers Billede af Particularly helpful Moodlers Billede af Peer reviewers Billede af Plugin developers
There has been some discussion about it, but not recently. This forum has a search feature.
I svar til Tim Hunt

Re: New utility for creating Cloze type question from standalone questions

ved Jeff Forssell -
I see in the docs http://docs.moodle.org/en/Question_types#Numerical that someone (you?) has written up some more details about 1.7.

It says "This has changed in Moodle 1.7. Text answers are no longer allowed. that is what short answer is for."  Does that mean that "+inf, -inf" would be no longer allowed? (I haven't used them, but I would consider them numerical and could be useful in describing feedback intervals too.)

Also, if I understood right, that even in the pre 1.7, one can import multiple numerical answer intervals if one does it in the GIFT format. I wasn't aware of that. Can one write in Units in GIFT format?

I tried hacking the XML and wrote about that in the docs.

I suppose this should actually be a new thread.
I svar til Jeff Forssell

Re: New utility for creating Cloze type question from standalone questions

ved Tim Hunt -
Billede af Core developers Billede af Documentation writers Billede af Particularly helpful Moodlers Billede af Peer reviewers Billede af Plugin developers
"+inf, -inf" ... I would consider them numerical

Yes, but a computer would consider them as strings. The shortanswer question type will handle them exactly as you want, and the student's will never know the difference.

Can one write in Units in GIFT format?

I don't think so. There is nowhere in there to define what the units mean.
I svar til Joseph Rézeau

Re: New utility for creating Cloze type question from standalone questions

ved Robert Dickey -
any possibility this might also work in moodle 1.5.3?
I svar til Robert Dickey

Re: New utility for creating Cloze type question from standalone questions

ved Joseph Rézeau -
Billede af Core developers Billede af Plugin developers Billede af Testers Billede af Translators
Hi Robert,
No. Too many drastic changes in the question module have been introduced with 1.6 that my module is not compatible with previous versions.
Sorry,
Joseph