|IMS GLC Public Forums and Resources|
Topic Title: Multiple text entry interactions
Topic Summary: How to define multiple text entry interactions
Created On: 05/22/2012 06:27 AM
Status: Post and Reply
|Linear : Threading : Single : Branch|
05/22/2012 06:27 AM
I'm new to QTI and after having read the specs am having trouble implementing them in tests that i am creating by hand.
My assessmentItem consists in paragraph of text with multiple blank spaces that the user must fill.
Each blank space corresponds to exactly one correct result.
The outcome of the assessmentItem should be 1 if all results are correct and 0 otherwise.
I am trying to construct my assessmentItem with multiple responseDeclarations and a custom responseProcessor that checks that all are correct.
Is this the right way to do it?
05/23/2012 11:27 AM
Yes, that's exactly what you need to do
So for each textEntryInteraction, you make a response variable and check the value of that variable against the correctResponse value that you can set inside the responseDeclaration, e.g.:
Your response variables are declared like this:
<responseDeclaration identifier="RESPONSE1" cardinality="single" baseType="string">
Then you have a chunk of text in the itemBody:
<p>The best kind of cookie is <textEntryInteraction expectedLength="20" responseIdentifier="RESPONSE1"/>, but ....</p>
And somewhere in the response processing you put:
and set the score and feedback suitably
Remember SCORE should bea float variable.
FuseTalk Standard Edition v3.2 - © 1999-2013 FuseTalk Inc. All rights reserved.