Aportación realizada por Itamar Tzadok

You need to lock the gradebook item. When a quiz is submitted it tries to update its gradebook item and then the gradebook item is awaken and shown. If it is locked it remains asleep. If you need these items to get updated you can unlock and relock. sonrisa
Few/dozens/hundreds questions, not question types. Even those who use only MC questions are quickly discouraged by the tediousness of adding questions through the standard interface. But I still have to look into what Moodle 2 offers on this front. sonrisa
Maybe, but it comes with a price. With each question type added to the core Moodle becomes heavier and harder to maintain. Now, consider this question type. All it does is pasting a string from an applet to a short answer field. There are many more applets out there, so why this one and not others? And if others too, should we add a question type for each one? Perhaps we need a generic question type for applets. But we already have that - the Cloze question type. So perhaps we just need simple interfaces for creating such embedded questions. At any rate, judging by colleagues' reactions, the standard Moodle interface for adding questions only appears to make things simpler. The harsh reality hits the excited user when a few questions become a few dozens and then a few hundreds. sonrisa
You need to disable editor (in the Moodle profile). Then go the question bank and create a CLOZE question and paste the following (remove X from Xonclick in the code):


<p>Write the equation for three carrots and two apples</p>
<div> <applet height="270" width="540" archive="Project.jar,AbsoluteLayout.jar,swing-layout-1.0.jar,jdom.jar,jep.jar" code="Display.MainApplet.class" codebase="http://moodle.yours.u/moodle/file.php/XXX/dmr/classes"> <param value="en" name="language" /> <param value="false" name="showOutputToolBar" /> <param value="Latex" name="outputFormat" /> To use this page you need a Java-enabled browser. Download the latest Java plug-in from <a href="http://www.java.com">Java.com</a></applet>
<div align="center"><input type="button" Xonclick='holder= this.parentNode.parentNode;txt=holder.getElementsByTagName("applet")[0].getMathExpression();holder.getElementsByTagName("div")[1].getElementsByTagName("input")[0].value=txt;' value="Insert from editor" /></div>
<br /><div align="center">{:SHORTANSWER:=3+2#~--------------------------------------------------------------------------------------#}</div> </div>

Replace codebase (red) with the correct path to the dmr classes. The files can be stored in the site Files or in a course Files (you can extract the classes from the zip of the dmr19 plugin you tried to install). Replace correct answer (blue) with the desired answer. Replace question description (green) with the desired one. Add question name, save, open and with some luck it will work.

Because of the javascript you cannot edit this question with the editor enabled. A simple interface for creating and editing such questions for import can be constructed in Excel or with Moodle database activity.

Hope this helps. sonrisa