Stack : the same question in a quiz with different instances of this question (random variables) ?

Stack : the same question in a quiz with different instances of this question (random variables) ?

by Laurent BRIEND -
Number of replies: 4

With Stack, it is possible to generate différente instances of the same question : we use random variables. I would like to realize a quiz with ten instances of a unique question with different values of the random variable. Of course, I could duplicate the question ten times and add them to the quiz, but it isn't very comfortable if I want to change this question a little. The problem is that I can't add the same question twice in a quiz. So what can I do ?

Thanks for your reply.

lcc77 from France.

Moodle 2.5

 

Average of ratings: -
In reply to Laurent BRIEND

This forum post has been removed

The content of this forum post has been removed and can no longer be accessed.
In reply to Deleted user

Re: Stack : the same question in a quiz with different instances of this question (random variables) ?

by Laurent BRIEND -

Thanks Pierre,

however, I don't think it solve the problem because in the question it could be instances of the random variable and I don't want to do myself the 10 instances of the question. With Stack, you can do a single question added to the Question Bank, for example "develop (ax+b)^2", where a and b change every time when the student do the quiz where there is this question, and the ansver is analysed by Maxima (Computer Algebra System). Stack is probably like Wiris, but it's free.

Laurent

In reply to Laurent BRIEND

Re: Stack : the same question in a quiz with different instances of this question (random variables) ?

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Strangely, you are the second person to ask for this today. The other person making the request was from South Africa. Here is a copy and paste of my previous answer.

Your raise a good point. For questions with variants, (like STACK, but also Moodle's calculated question type, and some of the custom question types) it would be sensible to add one question to the quiz multiple times, and Moodle should be enhanced so that is possible.

This is an issue for how you build the quiz from questions, not for the questions themselves. Therefore, the parts of Moodle that would be affected are just the Edit quiz screen, and what happens when the student clicks 'Start attempt'.

(Well, in the past there was another issue, which was that the back-end database structure would have had a nervous break-down in you added the same question to the quiz twice, but that area was fixed in Moodle 2.1.)

(Oh, and the quiz statistics report might also need to be adjusted to handle the same question appearing in the quiz in different places, but it already handles other similar cases correctly.)

So, when might the Edit quiz page be enhanced to support this? Well, as it happens the OU is planning to do some work there over the next six months. However, this specific feature request is not on our todo list. I will bear this in mind, and see if we can slip it in with the other work. It was first requested a long time ago: MDL-15596.

Average of ratings: Useful (2)
In reply to Tim Hunt

Re: Stack : the same question in a quiz with different instances of this question (random variables) ?

by Laurent BRIEND -

Thanks a lot,

yes, this is an issue for how you build the quiz from questions, not for the questions themselves, and I don't know this friend of South Africa ;)

I hope it will not to hard to program this for the next version of Moodle.