Help , Create New Plugin

Re: Help , Create New Plugin

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

Now that is useful information. I have recently been thinking myself of how it would be possible to calculate the weight of quiz questions across quizzes and I don't have any simple answers. For example should the weight be based on characteristics of users. So if you were teaching English would you want to know what the chance was of getting a question correct if you had 1,2 or 4 years of English, the age of the taker, the first language of the taker. Or would you just want to know how many people get the question correct or incorrect. If you do that some questions would rarely get a correct response simply because the question itself was faulty. But here I am guessing at what you might want. You need to explain in detail what you actually want.


I suggest you take a look at the code for adaptivequiz

https://github.com/marcusgreen/moodle-mod_adaptivequiz

and StudentQuiz

https://moodle.org/plugins/mod_studentquiz

Adaptive quiz is not currently maintained and is not up to date, but it does include a mechanism for giving weight to quiz questions through the tags system. StudentQuiz is very actively maintained and amongst its many impressive features has a system for automatically calculating the weight/difficulty of a quiz question.  

Note that the quiz and question types is one of the more complex areas of Moodle because it is the most powerful quizzing system in history, and therefore is not simple. This is to contrast it with something like text filter plugins which can be quite straightforward.