Does quiz1.5 have "adding random question" like quiz 1.4?

Does quiz1.5 have "adding random question" like quiz 1.4?

by Chiang Sabrina -
Number of replies: 11

Hello!

I used moodle 1.4 last year, it has "adding random  question" (random choosing question from lots of question)  to quiz. But I can't find the same function in moodle 1.53, right?

How can I find it? Thank you so much!

Average of ratings: -
In reply to Chiang Sabrina

Re: Does quiz1.5 have "adding random question" like quiz 1.4?

by Art Lader -
Hello, Sabrina,

I think this is what you mean:
http://docs.moodle.org/en/Editing_a_quiz#Adding_random_questions

Hope that helps,
Art
In reply to Art Lader

Re: Does quiz1.5 have "adding random question" like quiz 1.4?

by Gustav W Delius -
Art, thank you very much for your work on the quiz module documentation. That is very helpful and important.

Sabrina, in Moodle 1.4 random questions were added as another question type. In Moodle 1.5 the interface has changed and you add a chosen number of random questions from the currently shown category to the quiz using the controls BELOW the list of questions on the right-hand side of the quiz editing page.

Perhaps Art will add a screenshot of this to MoodleDocs.

Note that random questions are not to be confused with random short-answer questions. The latter are still viewed as a question type even in Moodle 1.5.
In reply to Gustav W Delius

Re: Does quiz1.5 have "adding random question" like quiz 1.4?

by Art Lader -
Hi, Gustav,

Thanks. I think I actually uploaded the wrong screen shot (one for random short answer questions) and will have another look at it. blush

-- Art
In reply to Chiang Sabrina

Re: Does quiz1.5 have "adding random question" like quiz 1.4?

by Chiang Sabrina -

Thank you all!

I delete all my moodle's subdirectories, and reupload the "moodle 1.53."

It works correctly and super fine, and resolved my the other problem "can't import or export".

Thank you all!smile

In reply to Chiang Sabrina

Why "adding random questions" somethime will disappear?

by Chiang Sabrina -

Oh! I got a silly problem.

I create  a quiz with adding 20 random questions from 3 catogeries succesfully. But when I want to create the other quiz, why the "adding random" picture disappear?

What should I do ?

Attachment Random.gif
In reply to Chiang Sabrina

Why "adding random questions"l disappear in "zh_tw_utf8"?

by Chiang Sabrina -

Why the adding randon questions will disappear in "zh_tw_utf8"?

When I use in en language ,I found the "adding random question", but disappear in zh_tw_utf8?

Which program  should I edit?

Attachment random2.JPG
In reply to Chiang Sabrina

Re: Why "adding random questions"l disappear in "zh_tw_utf8"?

by Gustav W Delius -
The line in lang/en_utf8/quiz.php which is responsible for printing that is

$string['addrandom'] = 'Add $a random questions';

The important bit is the $a in the string which is where the drop-down menu will go. The corresponding string in zh_tw_utf8 is probably missing that. If you post about that in the translation forum or in the bug tracker then someone will be able to fix it.
In reply to Gustav W Delius

Re: Why "adding random questions"l disappear in "zh_tw_utf8"?

by Chiang Sabrina -
Thank you, I will post it!
In reply to Chiang Sabrina

Re: Why "adding random questions"l disappear in "zh_tw_utf8"?

by koen roggemans -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Translators
Gustav is right. The $a is missing in the string. I'll contact the translator.
In reply to Chiang Sabrina

Re: Why "adding random questions"l disappear in "zh_tw_utf8"?

by koen roggemans -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Translators
It is fixed in CVS just now: there were spaces missing before and after $a.
So there are two things you can do:
  • in admin, lang, edit strings, quiz.php you add in the string 'addrandom' a space before and after $a
  • you wait until tomorrow and update your language pack by downloading a fresh copy from http://download.moodle.org/lang