Formulas question type: Using Words as Numbers for Calculations

Formulas question type: Using Words as Numbers for Calculations

by Dipo Adeniyi -
Number of replies: 2

Good Evening,

Pls, just wondering if this is possible using Formulas Question type:

Question: What is two-fifths of twenty-five?

I guess I should have already defined the variables such as: {two = 2, three = 3, four = 4, five = 5}, etc. 

The question should be randomly select and display to quiz takers like: 

What is: "two" "fifths" of twenty five or, What is "three" "fourth" of sixteen?

However, the answer should be worked correctly by the systems as: 2/5 x 25 = 10 or 3/4 x 16 = 12, etc and marked according to quiz taker response.

I have already done this using numbers correctly. Just wondering if the above could also be achieved using words instead of numbers.

Any help/guidance using the Formulas Question type or another Moodle Question type deeply appreciated.

Many thanks.

Average of ratings: -
In reply to Dipo Adeniyi

Re: Formulas question type: Using Words as Numbers for Calculations

by Dominique Bauer -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers
In reply to Dominique Bauer

Re: Formulas question type: Using Words as Numbers for Calculations

by Dipo Adeniyi -
Thanks so much Dominique. I deeply appreciate.