Random Question

Random Question

Sanjeev Kumar -
回帖数:8

Moodle 2.4

I created quiz with random question. I have big Question Bank and I made Question Bank and that is category wise.

Suppose Under Category Z two more Sub Category X and Sub Category Y has total 10 Questions if I took 2 questions from category Z then it randomly chose 2 out of 10 but I want it chose from any category but both question from the same category is it possible or not?

Purpose: Like Graph question we gave more than 1 question from one graph but from the random question it mix from more than one.

Is there any other way also to do?

回复Sanjeev Kumar

Re: Random Question

Sanjeev Kumar -

Moodle expert where are you?

回复Sanjeev Kumar

Re: Random Question

Emma Richardson -
Documentation writers的头像 Particularly helpful Moodlers的头像 Plugin developers的头像

So, if I understand you right, you want the question to either pull two questions from X or two questions from Y but not one question from X and one question from Y.

Tim might correct me but my understanding is that the random question will only pull from the category - so there is no way to do this without writing some code.  You might just have to pull directly from Category X or Category Y to keep your questions unified.  

The other thing you could do is to create a question that has both parts in it (kind of combine two questions into one using Cloze) and then just use Category Z to pull questions from.

回复Emma Richardson

Re: Random Question

Sanjeev Kumar -

First thank you for your reply...

I made X and Y category under category Z and select questions from Z so from both category question is taking out randomly.

Now I wish if question will take from category X then do not take from Y because in Maths we took minimum five question from One Graph so what I do for one graph I allotted one category. 

If you have any better idea then kindly share me (my all question is MCQ)

回复Sanjeev Kumar

Re: Random Question

Emma Richardson -
Documentation writers的头像 Particularly helpful Moodlers的头像 Plugin developers的头像

As stated before, you cannot set it up this way. 

I suggest just pulling from either Category X or Y to keep your questions together.

Or use the Cloze question to include graph and ask multiple questions about the graph (but you will not get randomization this way).

 

回复Emma Richardson

Re: Random Question

Sanjeev Kumar -

Once again Thank You I will try to use if any difficulty come then I will once again come up with that other wise with thank you.

回复Emma Richardson

Re: Random Question

Sanjeev Kumar -

I do not think Cloze type will resolve my issue and I am not use too of that so I am pasting the sample what I want every question from 71 to 75 come in single page.


回复Sanjeev Kumar

Re: Random Question

Emma Richardson -
Documentation writers的头像 Particularly helpful Moodlers的头像 Plugin developers的头像

The cloze question will allow you to do this.  See instructions here:

http://docs.moodle.org/23/en/Embedded_Answers_(Cloze)_question_type

回复Emma Richardson

Re: Random Question

Sanjeev Kumar -

will this solve my Random issue also?

I have same type of question in English Paragraph also and Random issue will save my lots of work.

Please Please Please Guide me