To post messages, you must join the IMS Public Community (free).   |   You also can also join the Common Cartridge Alliance.
IMS GLC Public Forums and Resources
Decrease font size
Increase font size
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
Topic Tools Topic Tools
View topic in raw text format. Print this topic.
 05/22/2012 06:27 AM
User is offline View Users Profile Print this message

Author Icon
maxmil

Posts: 1
Joined: 05/22/2012

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
User is offline View Users Profile Print this message

Author Icon
suem

Posts: 2
Joined: 02/08/2011

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">
<correctResponse>
<value>chocolate chip</value>
</correctResponse>
</responseDeclaration>

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:

<match>
<variable identifier="RESPONSE1"/>
<correct identifier="RESPONSE1"/>
</match>

and set the score and feedback suitably

<setOutcomeValue identifier="FEEDBACK">
<baseValue baseType="identifier">CORRECT</baseValue>
</setOutcomeValue>
<setOutcomeValue identifier="SCORE">
<baseValue baseType="float">1.0</baseValue>
</setOutcomeValue>

Remember SCORE should bea float variable.

HTH
Sue
Statistics
2927 users are registered to the IMS GLC Public Forums and Resources forum.
There are currently 0 users logged in.

FuseTalk Standard Edition v3.2 - © 1999-2013 FuseTalk Inc. All rights reserved.

By participating in the forum, you agree to the abide by forum rules. You can view the IMS GLC Privacy Statement