Numerical Question in Lesson Module

Numerical Question in Lesson Module

- Chris Wheatland の投稿
返信数: 12

I'm having a bit of difficulty with the syntax of answers in the numerical question type inside the lesson module. The documentation says I can enter a range of values for an acceptable answer but it does not provide the syntax for doing so. I tried using the same syntax as the cloze question module, i.e. 34:1 for a range from 33-35, and this didn't work.

I would also like to do a 'catch all' feedback and redirection for any wrong answers typed by a pupil, which I also can't figure out how to do.

Does there exist anywhere a list of commands and syntax that the numerical question inside the lesson module will accept or does it actually only accept precise numbers?

Chris Wheatland への返信

Re: Numerical Question in Lesson Module

- AL Rachels の投稿
画像 Core developers 画像 Particularly helpful Moodlers 画像 Plugin developers 画像 Testers

You were close to being right. Instead of 34:1 to get 33-35 you need to put in 33:35 for the acceptable range, then it should work.

As far as your other two questions, I'm sorry I don't know.

 

HTH

AL

AL Rachels への返信

Re: Numerical Question in Lesson Module

- Chris Wheatland の投稿

Brilliant, thanks. It worked a treat.

Unit handling would be a nice feature for the numerical questions, like in the quiz module. Writing maths lessons, and particularly maths of physics lessons relies very heavily on units being correct and training pupils to use the correct ones.

Incidentally, it would be useful to have more question types available for the lesson module, I could make use of cloze in particular.

Chris Wheatland への返信

Re: Numerical Question in Lesson Module

- Joseph Rézeau の投稿
画像 Core developers 画像 Particularly helpful Moodlers 画像 Plugin developers 画像 Testers 画像 Translators

Chris, glad it helped.

As for having a more sophisticated Numerical question type in the Lesson module, or a Cloze question type, you should not count on it. The fact is that - unlike the Quiz module, which has a very active maintainer (Tim Hunt) and a large community of users - the Lesson module has been an almost "orphaned" module in Moodle for a number of years. It currently does not have a dedicated maintainer and only bug fixes and occasional maintainance operations are conducted, e.g. to make it forward compatible with new versions of Moodle.

Joseph

Joseph Rézeau への返信

Re: Numerical Question in Lesson Module

- Mary Cooch の投稿
画像 Documentation writers 画像 Moodle HQ 画像 Particularly helpful Moodlers 画像 Testers 画像 Translators

Yes - and it's a shame, because the Lesson module is a great module悲しい

Mary Cooch への返信

Re: Numerical Question in Lesson Module

- Debbie McDonald の投稿

Is this still the case? Everything we are doing is in a Lesson, I thought the Lesson module was basically the backbone of the system?


Debbie McDonald への返信

Re: Numerical Question in Lesson Module

- Joseph Rézeau の投稿
画像 Core developers 画像 Particularly helpful Moodlers 画像 Plugin developers 画像 Testers 画像 Translators

Hi Debbie,

I don't think the Lesson activity ever was the "backbone" of Moodle. I was probably one of the very first modules to be included in Moodle, which may explain it tries to do (too?) many things. But now there is a plethora of activities, resources and modules to choose from and "doing everything in Lesson" loks to me like using a tiny fraction of what Moodle offers, which seems a pity.

Joseph

Joseph Rézeau への返信

Re: Numerical Question in Lesson Module

- Debbie McDonald の投稿
We use many of the other activities but are using the Lesson Module to launch the reading content. Is it possible this module will go away?
Chris Wheatland への返信

Re: Numerical Question in Lesson Module

- Peter Halverson の投稿

There aren't many answers to the good questions you asked.  Just by trial and error, I have found that the range -1E99:1E99 works pretty well as a catch-all for wrong answers.