[QTI] Response processing of text entry interaction
Graham Smith
G.H.Smith at leeds.ac.uk
Sun Sep 14 12:11:49 BST 2008
Quoting Jean Pierre Malrieu <jp.malrieu at free.fr>:
> Le 14 sept. 08 à 12:24, Graham Smith a écrit :
>>
>>
>> You could do it like this:
>>
>> Use the substring operator to see if 'mechanization' and/or
>> 'fertilization' are present in the response string (You might like
>> to offer alternative spellings)
>>
>> Then you could do something like (this is pseudocode only)
>>
>> SCORE = 0
>> if(mechanization is present) SCORE = SCORE + 0.5
>> if(fertilization is present) SCORE = SCORE + 0.5
>>
>> It is not difficult to translate this code into response processing XML
>>
>> Graham Smith
>
> Thanks for your help.
>
> But hum, I am afraid the semantics of the response processing tags are
> not very clear to me, and I did not find a lot of examples around.
> First of all, how do you translate the several sucessive "if" of your
> pseudo-code? It seems that it is not possible to have two <responseIf>
> elements in the same response condition... So what is the way to go?
> several response conditions? Or one compound response condition with
> several <and> in the same responseIf element?
> Then, I suppose the sum is supposed to be handled by means of the <sum>
> element, but I wouldn't mind having an example too.
>
> So basically, if this is "not difficult" to you, an example of
> translation would be welcome!
>
>
>
> Jean Pierre
>
>
>
>
>
>
> _______________________________________________
> IMS-QTI mailing list
> IMS-QTI at lists.ucles.org.uk
> http://lists.ucles.org.uk/lists/listinfo/ims-qti
Sorry :I am pressed for time for next few days: may be able to help
further at end of next week.
But in the meantime you might like to look at the JAssess demo site,
which has very many examples, including some complex ones.
http://qtitools.caret.cam.ac.uk/qtiv2/examples/V2examples.html
These may not solve your main problem; but will give you some ideas
and may help with other problems
Graham
More information about the IMS-QTI
mailing list