Formulas question type: Difference between revisions
Formulas question type | |
---|---|
Type | question type |
Set | N/A |
Downloads | Formulas question type |
Issues | Tracker issues |
Discussion | See below. |
Maintainer(s) | Jean-Michel VĂ©drine |
(copied from 2.7 Docs page) |
mNo edit summary |
||
(37 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Infobox plugin | {{Infobox plugin | ||
|type = question type | |type = question type | ||
|entry = https://moodle.org/plugins/view.php?plugin=qtype_formulas | |set = N/A | ||
|tracker = https://tracker.moodle.org/ | |entry = [https://moodle.org/plugins/view.php?plugin=qtype_formulas Formulas question type] | ||
| | |tracker = [https://tracker.moodle.org/issues/?jql=project%20%3D%20CONTRIB%20AND%20component%20%3D%20%22Question%20type%3A%20Formulas%22 Tracker issues] | ||
|discussion = See below. | |||
|maintainer = [https://moodle.org/user/view.php?id=8026&course=5 Jean-Michel Védrine] | |||
|float = left | |float = left | ||
}} | }} | ||
<div style="background:#d9edf7;color:#000000;padding:8px 20px 16px;border:1px solid #d9d9d9;border-radius:4px;"> | |||
For complete, up-to-date documentation on the Formulas question type, please see [https://moodleformulas.org/ '''MoodleFormulas.org''']. | |||
</div> | |||
==Usage== | ==Usage== | ||
You would enter your 'sets' (called 'lists' in formulas questions) in the 'Random variables' field when creating question as: | You would enter your 'sets' (called 'lists' in formulas questions) in the 'Random variables' field when creating question as: | ||
Line 25: | Line 33: | ||
==Other advantages== | ==Other advantages== | ||
* Another big advantage of formulas questions is that a question can have several 'parts' and all parts using the same variables; and even more, the answer to each part can not only be a number but a vector if you want. | *Another big advantage of formulas questions is that a question can have several 'parts' and all parts using the same variables; and even more, the answer to each part can not only be a number but a vector if you want. | ||
* Last thing, formulas questions has a complete unit system that is quite useful for engineering | *Last thing, formulas questions has a complete unit system that is quite useful for engineering | ||
==Author== | ==Author== | ||
Line 38: | Line 46: | ||
==Installation== | ==Installation== | ||
* It's a Moodle plugin, so you must | *It's a Moodle plugin, so you must install it (or your administrator must do it). | ||
* Currently formulas question type plugin is not available in the Moodle plugins Directory | *Currently formulas question type plugin is not available in the Moodle plugins Directory | ||
* You must download it from | *You must download it from the author's Github repository. | ||
* And you must | *And you must install another plugin (Tim Hunt's adaptive multipart behaviour) so that it works. | ||
==Drawbacks== | ==Drawbacks== | ||
*Mastering formulas questions is difficult, there is a learning curve | |||
* | *Documentation is not very good, it was written by Hon Wai Lo (original author of the formulas questions for Moodle 1.9 and 2.0, Jean-Michel Védrine upgraded it for Moodle 2.3 to 2.8), unfortunately Jean-Michel Védrine never had time to improve it | ||
* | *It's a Moodle plugin, so you must install it (or your administrator must do it). Currently formulas question type plugin is not available in the Moodle plugins Directory, you must download it from the author's Github repository. And you must install another plugin (Tim Hunt's adaptive multipart behaviour) so that it works. | ||
* It's a Moodle plugin, so you must install it (or your administrator must do it). Currently formulas question type plugin is not available in the Moodle plugins Directory, you must download it from | *As any addon, you will be dependent in the future of the maintainer to upgrade it when a new Moodle version is released | ||
* As any addon, you will be dependent in the future of the maintainer to upgrade it when a new Moodle version is released | |||
==See also== | ==See also== | ||
* | *this forum thread. | ||
* Github documentation for the Formulas question type at | *Github documentation for the Formulas question type at https://github.com/jmvedrine/moodle-qtype_formulas | ||
[[Category:Plugin]] | |||
[[Category:Stubs]] | |||
[[Category:Contributed code]] | [[Category:Contributed code]] | ||
[[Category:Questions]] | [[Category:Questions]] | ||
[[Category:Mathematics]] | [[Category:Mathematics]] | ||
Latest revision as of 16:49, 3 January 2019
For complete, up-to-date documentation on the Formulas question type, please see MoodleFormulas.org.
Usage
You would enter your 'sets' (called 'lists' in formulas questions) in the 'Random variables' field when creating question as:
a = {100, 125, 150, 175, 200}; b = {1, 2, 3, 4, 5}; c = {10, 12, 14, 16, 18};
When an attempt is started a, b, and c will take a value drawn from the corresponding list at random.
You can then define other variables depending of these ones in the 'Global variables' field if you want. For instance if you need the value of a+2*b somewhere in your question text or Combined or general feedback, just define
d=a+2*b; in 'Global variables'
Once you have defined your variables, you can use them in all the question's texts putting them in curly braces (for instance {a}, {b} or {d}). This is true not only for the Question text but also for all feedbacks and hints when you use interactive behaviour (The author thinks that the fact that variables can't be used in calculated question's feedback is a serious problem to give students an appropriate feedback using the values they saw in their attempt)
Other advantages
- Another big advantage of formulas questions is that a question can have several 'parts' and all parts using the same variables; and even more, the answer to each part can not only be a number but a vector if you want.
- Last thing, formulas questions has a complete unit system that is quite useful for engineering
Author
Moodle versions
2012062500 (Moodle 2.3) or newer
Translations available
This plugin is also available in Mexican Spanish
Installation
- It's a Moodle plugin, so you must install it (or your administrator must do it).
- Currently formulas question type plugin is not available in the Moodle plugins Directory
- You must download it from the author's Github repository.
- And you must install another plugin (Tim Hunt's adaptive multipart behaviour) so that it works.
Drawbacks
- Mastering formulas questions is difficult, there is a learning curve
- Documentation is not very good, it was written by Hon Wai Lo (original author of the formulas questions for Moodle 1.9 and 2.0, Jean-Michel Védrine upgraded it for Moodle 2.3 to 2.8), unfortunately Jean-Michel Védrine never had time to improve it
- It's a Moodle plugin, so you must install it (or your administrator must do it). Currently formulas question type plugin is not available in the Moodle plugins Directory, you must download it from the author's Github repository. And you must install another plugin (Tim Hunt's adaptive multipart behaviour) so that it works.
- As any addon, you will be dependent in the future of the maintainer to upgrade it when a new Moodle version is released
See also
- this forum thread.
- Github documentation for the Formulas question type at https://github.com/jmvedrine/moodle-qtype_formulas