[QTI] Response processing of text entry interaction

Graham Smith G.H.Smith at leeds.ac.uk
Sun Sep 14 11:24:30 BST 2008


Quoting Jean Pierre Malrieu <jp.malrieu at free.fr>:

> Hi,
>
> let's assume I am asking the following question: "What are the causes
> of productivity growth in agriculture?", and model it as a text entry
> Interaction. Let's also assume I am expecting an answer like "It is due
> to mecanisation and fertilization". I would like to rate 0.5 an answer
> which contains only one of the words  "mecanization" and
> "fertilization" and 1 if both words are present.
> That is, I would like the score to be proportional to the number of
> expected words contained in the candidate's response.
>
> How should I model the responseProcessing part of the assessment item?
>
> Thanks in advance.
>
> JPM
>
>
>
>
>
>
>
>
> _______________________________________________
> IMS-QTI mailing list
> IMS-QTI at lists.ucles.org.uk
> http://lists.ucles.org.uk/lists/listinfo/ims-qti

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




More information about the IMS-QTI mailing list