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

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

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!

評比平均分數: -
In reply to Chiang Sabrina

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

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?

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?

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?

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?

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 ?

附件 Random.gif
In reply to Chiang Sabrina

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

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?

附件 random2.JPG
In reply to Chiang Sabrina

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

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"?

Chiang Sabrina發表於
Thank you, I will post it!
In reply to Chiang Sabrina

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

koen roggemans發表於
Core developers的相片 Documentation writers的相片 Moodle HQ的相片 Particularly helpful Moodlers的相片 Plugin developers的相片 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"?

koen roggemans發表於
Core developers的相片 Documentation writers的相片 Moodle HQ的相片 Particularly helpful Moodlers的相片 Plugin developers的相片 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