Formulas question type

Question types ::: qtype_formulas
Maintained by dynamiccourseware.orgDominique 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.

Screenshots

Screenshot #0
Screenshot #1

Contributors

dynamiccourseware.org
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

Comments RSS

Comments

  • Edgardo Palazzo
    Thu, 5 Aug 2021, 12:33 AM
    Sasha, there is a different approach in this discussion:

    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.
  • Sasha Bogachyk
    Thu, 5 Aug 2021, 2:15 PM
    Thank you Edgardo for the quick reply! Unfortunately, I'm not programmer and didn't understand that messaging very well. I would be grateful if you can point me directly where is Dominique script and how I can correct comma problem.
  • Edgardo Palazzo
    Thu, 5 Aug 2021, 11:15 PM
    Check this section in moodleformulas.org:
    https://moodleformulas.org/course/view.php?id=22&section=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.
  • Sasha Bogachyk
    Fri, 6 Aug 2021, 4:28 PM
    Edgardo thank you again! Everything works! smile
  • Mostafizur Rahman
    Sun, 19 Sep 2021, 1:11 AM
    We are planning to upgrade our Moodle to version 3.11. Is the current version of the Formulas Question Type plugin compatible with the latest version of Moodle?
  • Denise Pernigotti
    Sun, 19 Sep 2021, 4:41 PM
    I have the same question as Mostafizur, thanks
  • Jakob Heinemann
    Mon, 14 Mar 2022, 4:32 AM
    I created a pull request on github for Moodle mobile support. It would be nice to have it merged.
  • david berger
    Tue, 12 Apr 2022, 10:28 PM
    Hey folks, short question: is there a chance that this wonderful plugin gets an update for the next longtime release 4.1 ? Do you know anything? Kind regards David
  • Ivan Harton
    Wed, 18 May 2022, 9:54 AM
    I may be wrong here, and please correct me if I am, but could the students just click on the page that these type questions are displayed and look at the source code to get the answer?
    Not an ideal situation when testing students if that is the case.
  • Philipp Imhof
    Wed, 18 May 2022, 1:06 PM
    As a rule of thumb, whenever you think you found a trivial way of cheating a well-established, extensively tested and highly used system, you should always double check, because you're probably wrong.

    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?
  • Birgit Lachner
    Wed, 14 Sep 2022, 5:56 PM
    Hi ...
    is there a Chance that Support is continued? And an Update für moodle 4.X?
    Birgit from Germany
  • Philipp Imhof
    Wed, 14 Sep 2022, 6:09 PM
    This plugin is still maintained by Prof. Dominique Bauer. There will be an update in a few weeks, hopefully with full support for Moodle 4.0.
  • Robin Young
    Tue, 27 Sep 2022, 7:42 PM
    Hi - does anyone know what has happened to the moodleformulas dot org website? It was a great resource and had all the documentation.
  • Hicham Chelbat
    Sat, 22 Oct 2022, 3:28 PM
    Does anyone know why formulas no longer recognizes the decbin or decoct function?
  • Philipp Imhof
    Sat, 22 Oct 2022, 4:01 PM
    Thanks for spotting this. While the source code contains references to functions bindec(), decbin(), decoct() and octdec(), these are AFAICS not documented anywhere. I have also never seen them working, at least not in 4.91. A quick check in the repository makes me believe, they have never been recognized as functions. (This explains the error message: they are being treated as variables.)

    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)
Please login to post comments