Hi,

I'm looking for a computer-algebra-system (CAS) - moodle plug-in, which might help me in creating mathematical quizzes in moodle.

For example:

The students should solve the following exercice:

Calculate x in:

4a²+8ab+3b² = ( x + b ) * (2a + 3b)

Of course, x is 2a.

What I'm looking for, is a plugin, which accepts all logical solutions, e.g

"a2", "a+a", "2*a" or "(4a)/2" should also be accepted as correct solution.

For this, I need a computer-algebra-system-plugin in moodle.

During a little research I found WIRIS as a CAS-plugin for moodle, but I think, WIRIS could not be included in quizzes for checking, wheater an input is correct or not, or?

Are there any projects, who work on this problem? Or do you already have a solution (commercial solutions are welcome, too)

Thanks

Jan

### Computer-Algabra-System for math-tests in moodle

Number of replies: 5### Re: Computer-Algabra-System for math-tests in moodle

### Re: Computer-Algabra-System for math-tests in moodle

I understand what you are looking for, but from an instructional stance, since stating the answer in the "appropriate form" , 2a, is the target of preceding instruction in most situations, the answer $$4a/2$$ would be neither the best nor the correct answer (assuming 2a was present.....)

I believe that with some of the more complex lesson systems you can test against multiple options for the same response.

From the standpoint of rolling out simple quizzes I would suggest using multiple choice and asciimathml which will embed in either hotpot or moodle quiz (in fact I have just been doing up some examples and have attached a 5 question moodle quiz in GIFT format using asciimathml and svg). You could add as many options as you wishedand give full credit for anything approaching correct, or full credit for the best answer, half credit for equivaent values not properly stated, etc.

One nice point about asciimath is that it is a display technology as well as a text expression technology that is simpler than tex, and you can use dragmath to create asciimath expressions. And, if you want to use a fill in the blank quiz, you can test as against the asciimath text expression, as well as against the d.svg expressions.

I believe that with some of the more complex lesson systems you can test against multiple options for the same response.

From the standpoint of rolling out simple quizzes I would suggest using multiple choice and asciimathml which will embed in either hotpot or moodle quiz (in fact I have just been doing up some examples and have attached a 5 question moodle quiz in GIFT format using asciimathml and svg). You could add as many options as you wishedand give full credit for anything approaching correct, or full credit for the best answer, half credit for equivaent values not properly stated, etc.

One nice point about asciimath is that it is a display technology as well as a text expression technology that is simpler than tex, and you can use dragmath to create asciimath expressions. And, if you want to use a fill in the blank quiz, you can test as against the asciimath text expression, as well as against the d.svg expressions.

### Re: Computer-Algabra-System for math-tests in moodle

Hi,

thanks for your reply and the idea with STACK and thanks to Marc for the example.

> since stating the answer in the "appropriate form" , 2a, is the target of

> preceding instruction in most situations, the answer would be neither

> the best nor the correct answer

Yes, in this case I would agree with you. But let's have a look on a more complex example. If the correct answer is "a^2 + 2a", forms like "a+(a^2)+a" should also be correct (or anyway it should not be marked as wrong).

We're working with multipe-choice-tests at the moment, but it's not totally satisfied.

Best regards

Jan

thanks for your reply and the idea with STACK and thanks to Marc for the example.

> since stating the answer in the "appropriate form" , 2a, is the target of

> preceding instruction in most situations, the answer would be neither

> the best nor the correct answer

Yes, in this case I would agree with you. But let's have a look on a more complex example. If the correct answer is "a^2 + 2a", forms like "a+(a^2)+a" should also be correct (or anyway it should not be marked as wrong).

We're working with multipe-choice-tests at the moment, but it's not totally satisfied.

Best regards

Jan

### Re: Computer-Algabra-System for math-tests in moodle

Hi again both,

If the question wanted the answer in its simplest terms then Marc is right - I wouldn't (and don't) accept $$\frac{4a}{2}$$ as an answer - I would want it as $$2a$$. But I'm not sure that's the issue: the big problem for computer systems (especially Moodle out of the box) when marking algebra is with associativity (groupings) and commutativity (order). I would accept $$3a + 2b$$ as equally as I would accept $$2b + 3a$$. Convention kind of dictates that it should be $$3a + 2b$$, but $$2b + 3a$$ isn't wrong. That's where Chris Sangwin's deomonstration of STACK was so impressive at the Moodle Moot last year. STACK seemed to handle these situations very well indeed.

Hope this helps,

Ian.

If the question wanted the answer in its simplest terms then Marc is right - I wouldn't (and don't) accept $$\frac{4a}{2}$$ as an answer - I would want it as $$2a$$. But I'm not sure that's the issue: the big problem for computer systems (especially Moodle out of the box) when marking algebra is with associativity (groupings) and commutativity (order). I would accept $$3a + 2b$$ as equally as I would accept $$2b + 3a$$. Convention kind of dictates that it should be $$3a + 2b$$, but $$2b + 3a$$ isn't wrong. That's where Chris Sangwin's deomonstration of STACK was so impressive at the Moodle Moot last year. STACK seemed to handle these situations very well indeed.

Hope this helps,

Ian.

### Ang: Computer-Algabra-System for math-tests in moodle

Jan,

Take a look at the new algebra question type:

http://moodle.org/mod/forum/discuss.php?d=99401

It should cover your needs.

Best regards

Morten