Répondre à : Peut-on vérifier une réponse OEF avec maxima ?

Accueil Forums Programmation WIMS Programmation d’exercices OEF Peut-on vérifier une réponse OEF avec maxima ? Répondre à : Peut-on vérifier une réponse OEF avec maxima ?

#2195
jm.evers
Participant
Up
0
Down
::

I don’t use OEF , but in any case you should apply the same ‘maxima’ operations on both correct answer and student reply.
So for OEF you should build you own local ‘anstype’. (written in wims-phtml)
For example a single call to maxima :


#############
test=!exec maxima if trigrat(reply$i) = trigrat(answer$i) then yes else no;\
if float(reply$i) = float(answer$i) then yes else no;\
if some_operation_A(reply$i) = some_operation_A(answer$i) then yes else no;\
....;
if some_operation_Z(reply$i) = some_operation_Z(answer$i) then yes else no;

!if yes isin $test
score=1
!else
score=0
!endif
############

But I guess Bernadette is the one you should consult about these specific OEF things.
joke