Moodle plugins directory: Formulas question type | Moodle.org
Formulas question type
Question types ::: qtype_formulas
Maintained by Dominique Bauer, Philipp Imhof
This is a question type plugin for Moodle with random values and multiple answer fields.
Latest release:
1861 sites
431 downloads
74 fans
Current versions available: 3
This is a question type plugin for Moodle with random values and multiple answer fields.
The answer fields can be placed anywhere in the question so that we can create questions involving various answer structures such as coordinate, polynomial and matrix.
Other features such as unit checking and multiple subquestions are also available.
These functionalities can simplify the creation of questions in many fields related to mathematics, numbers and units, such as physics and engineering.
Contributors
Dominique Bauer (Lead maintainer)
Philipp Imhof: Co-maintainer
Jean-Michel Védrine: Former maintainer
hon wai lau: Original creator
Please login to view contributors details and/or to contact them
https://moodle.org/mod/forum/discuss.php?d=405377
You will find a question submitted by Dominique with some javascript code you can copy and paste into your questions.
https://moodleformulas.org/course/view.php?id=22§ion=25
There is a .txt file called "JavaScript code for decimal comma.txt". When you create a new Formulas Question in your question bank, you have to include that javascript code in the text part of the question.
Before copying and pasting that code, you have to enter the "Edit HTML" mode (in your question editor it could be a button showing "html" or "<>"). Just add the code included in the .txt file at the bottom of the html code of the question.
In that same section you will find an example question "Decimal Comma". You could import this question and use it as reference. Edit it, enter the html mode, and you will find the javascript code included in that question.
Not an ideal situation when testing students if that is the case.
Students have no way to access what you call the "source code" of the question. Otherwise, virtually ALL of Moodle's question types (except e.g. essay questions and the like) would become obsolete, because the answer is always stored somewhere, no?
is there a Chance that Support is continued? And an Update für moodle 4.X?
Birgit from Germany
I opened an issue in the bug tracker: https://github.com/FormulasQuestion/moodle-qtype_formulas/issues/43 and will add them (or bring them back) with the next update. Can you please confirm you have had them working and tell me what version that was? (Preferably in the bug tracker)