[Plugin search]: multiple questions with precomputed answers

[Plugin search]: multiple questions with precomputed answers

by Rodrigue Roland -
Number of replies: 0

Hello,


I would like to create a large database of questions with datas and precomputed answers that are always presented on the same template. All calculations will be performed by example with Matlab. A certain amount of tolerance will be accepted on each numerical answer. I don't want to compute answers with Moodle because formulaes are too much complicated.

Despite my research, I didn't find a plugin to achieve this.

To clarify, I would provide the input data:

a = [1; 3.4; 5.6]

b = [2.7; 5.9; 4.8]

c = [1; 2; 3]

I would provide a text like this:

Either the transfer function $ H (s) = \ frac {{a}} {{b} s {c}} $, calculate its rise time.

H (s) = \ frac {{a}} {{b} {c}} s

"Moodle" will randomly choose an index, such as index 2. The variables a, b, c would be then equal to 3.4; 5.9; 2. {a}, {b} and {c} would be automatically replaced in my text and my Latex expressions.


I also would supply the answer vector:

rise_time = [9.8; 3.4; 7; 8]

and a tolerance, ie 1%


The student should answer: 3.4 +/- 1% (index vector 2).

Ideally, It would be great if I could ask multiple questions (so I would have an answer vector for each question), ie response time, peak time, etc.

The data would be provided via a csv file.


My Searches (unsuccessful):

https://moodle.org/plugins/view/qtype_combined

https://moodle.org/plugins/view/qtype_formulas

https://moodle.org/plugins/view/qtype_stack

https://moodle.org/plugins/view/qtype_varnumericset


Thank you in advance!

Average of ratings: -