Question types: Formulas question type

qtype_formulas
Maintained by Picture of Dominique BauerDominique Bauer
This is a question type plugin for Moodle with random values and multiple answer fields.
1119 sites
517 downloads
49 fans
Current versions available: 2

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

Picture of Dominique Bauer
Dominique Bauer (Lead maintainer)
Picture of Jean-Michel Védrine
Jean-Michel Védrine: Former maintainer
Picture of hon wai lau
hon wai lau: Original creator
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of stefan weber
    Fri, May 15, 2020, 4:48 PM
    is it possible to use a student's answer to a previous question part as a variable in another question part? we want to make sure that just because they make an initial mistake, all of their other parts are automatically wrong.
  • Picture of Dominique Bauer
    Sun, May 24, 2020, 10:57 AM
    Hello Miro,
    I just applied to be the next maintainer of the plugin and I could soon submit the upgrade for Moodle 3.7 and 3.8. Obviously, the agreement of Moodle.org is required. I will keep you posted.
  • Picture of Dominique Bauer
    Sun, May 24, 2020, 12:02 PM
    Hello Stefan,
    Yes, it is possible to use a student's answer to a previous question part as a variable in another question part, by defining Grading variables and a grading criterion. You will find a first example at https://moodleformulas.org/course/view.php?id=22&section=22#tdm_20200320_2358_1. Unfortunately, I have not yet figured out how to account for units.
  • Picture of Cormac Quigley
    Tue, May 26, 2020, 6:25 AM
    Is it possible to get this plugin validated for Moodle 3.8? Is there any way of validating the current version without an update?
  • Picture of David Mudrák
    Tue, May 26, 2020, 7:21 PM

    Many thanks to Dominique Bauer for the offer to adopt this plugin - https://moodle.org/mod/forum/discuss.php?d=404092

  • Picture of Dominique Bauer
    Thu, May 28, 2020, 10:25 PM
    Version 4.9 for Moodle 3.0 to 3.8 is now available.
  • Picture of Dominique Bauer
    Mon, Jun 1, 2020, 11:50 AM
    David,

    Thank you for trusting me and entrusting me with the maintenance of the Formulas plugin.

    Jean-Michel has done remarkable work for many years as the maintainer not only of the Formulas plugin but also of many others. I and many other moodlers owe him a lot. Now that he's taken a well-deserved retreat, I wish him health, happiness and good times in his beautiful rooftop terrace in Montpellier, in the south of France. smile

    The maintenance of this wonderful plugin, brilliantly written ten years ago by Hon Wai Lau, is truly an honor for me, and a task that I will strive to carry out as best as possible.
  • Picture of Giulio Peruginelli
    Fri, Jun 12, 2020, 6:22 PM
    is it possible to assign a negative feedback to a wrong answer, as for example in the multiple choice question?
  • Picture of hon wai lau
    Thu, Jun 25, 2020, 5:27 PM
    It is great to hear that the plugin got a new maintainer, Dominique Bauer. I expected his works would keep the plugin alive, and this would benefit for many teachers and students.

    It takes years of my work to finish the core part of the plugin, and many more years of work from Jean-Michel to port and maintain it in the new version of Moodle. Let me take this time to thank him for his great work again.
  • Picture of Lina Al - Saleh
    Wed, Jul 29, 2020, 4:54 AM
    Can I install formula's plugin on Windows server ?
    I requested the installtion of stack plugin previously , but turns out It isn't supported on Windows .
  • Picture of Harri Holappa
    Wed, Jul 29, 2020, 11:01 PM
    Does the relative error variable in grading criterion accept "== 0"? We tested a simple multiplying and division question with the Number answer type, and the correct answer was marked as incorrect in the preview window - seemingly randomly. The problem vanished when we switched the grading criterion to "Relative error < 0.001" or "Absolute error < 0.000001. Is this a bug or working as intended?

    The random variables we used were:
    firstthing={16,24,28,32,48,56,64};
    secondthing={8,10,20,40}

    The global variables we used were:
    answer=(4*firstthing)/secondthing*7
  • Picture of Florian Leupold
    Fri, Nov 6, 2020, 7:51 PM
    Thanks so much for this great plugin! Might I suggest two features?
    1) It would be great to have a function to return the number of significant figures of a number.
    2) To me, it would be helpful to fix an absolute number of points to be deducted in case of wrong units instead of a relative amount.
    Thanks for considering..!
  • Picture of Сергей Ардуинов
    Sun, Nov 8, 2020, 9:46 PM
  • Picture of Florian Leupold
    Sun, Nov 29, 2020, 11:45 PM
    I have switched to Marklar editor in order to properly save JSXGraph code in Formulas questions (it gets overly sanitized by Atto HTML editor). Strangely, Markdown input does not seem to get parsed as Markdown but rather HTML in Formulas questions, whereas it is parsed as Markdown in other activities. Can you confirm this?
  • Picture of Cl GHILARDI
    Fri, Jan 22, 2021, 4:29 PM
    It would be useful to integrate the script that resizes text boxes while users are typing (see https://moodle.org/mod/forum/discuss.php?d=390574) in a new version of the plugin. Maybe with a check box in the question creation form : Auto resize (Yes/No).
1 2
Please login to post comments