[QTI] r2q2: Problem with example that contains more than one
<responseCondition>
Markus Schmitt
markus.schmitt33333 at yahoo.de
Tue Sep 25 16:28:25 BST 2007
Hello,
Does anyone know why the example above (I have
downloaded here:
http://qtitools.caret.cam.ac.uk/qtiv2/examples/V2langexamples.html)
doesn't work in the programme R2Q2.
If I remove the last <responseCondition> it works, but
I don't know why. Is there an error in the
<responseCondition> or is this a bug in R2Q2.
Many thanks for your answers.
--------------------------------------------
<assessmentItem
xmlns="http://www.imsglobal.org/xsd/imsqti_v2p0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.imsglobal.org/xsd/imsqti_v2p0
imsqti_v2p0.xsd"
identifier="Conjugation_of_haben"
title="Conjugation of haben" adaptive="false"
timeDependent="false">
<responseDeclaration identifier="SINGLEFIRST"
cardinality="single" baseType="string">
<correctResponse>
<value>habe</value>
</correctResponse>
</responseDeclaration>
<responseDeclaration identifier="SINGLESECOND"
cardinality="single" baseType="string">
<correctResponse>
<value>hast</value>
</correctResponse>
</responseDeclaration>
<outcomeDeclaration identifier="SCORE"
cardinality="single" baseType="integer">
<defaultValue>
<value>0</value>
</defaultValue>
</outcomeDeclaration>
<outcomeDeclaration identifier="FEEDBACK"
cardinality="single" baseType="identifier"/>
<itemBody>
<h2>Conjugate the verb 'haben': </h2>
<h3>Single</h3>
<p>
<strong>ich</strong>
<textEntryInteraction responseIdentifier="SINGLEFIRST"
expectedLength="8" placeholderText = "haben"/><br
/><br />
<strong>du</strong>
<textEntryInteraction
responseIdentifier="SINGLESECOND" expectedLength="8"
placeholderText = "haben"/><br /><br />
</p>
</itemBody>
<responseProcessing>
<responseCondition>
<responseIf>
<match>
<variable
identifier="SINGLEFIRST"/>
<correct
identifier="SINGLEFIRST"/>
</match>
<setOutcomeValue identifier="SCORE">
<sum>
<variable identifier="SCORE"/>
<baseValue baseType="integer">1</baseValue>
</sum>
</setOutcomeValue>
</responseIf>
</responseCondition>
<responseCondition>
<responseIf>
<match>
<variable
identifier="SINGLESECOND"/>
<correct
identifier="SINGLESECOND"/>
</match>
<setOutcomeValue identifier="SCORE">
<sum>
<variable identifier="SCORE"/>
<baseValue baseType="integer">1</baseValue>
</sum>
</setOutcomeValue>
</responseIf>
</responseCondition>
<responseCondition>
<responseIf>
<match>
<variable
identifier="SINGLETHIRD"/>
<correct
identifier="SINGLETHIRD"/>
</match>
<setOutcomeValue identifier="SCORE">
<sum>
<variable identifier="SCORE"/>
<baseValue baseType="integer">1</baseValue>
</sum>
</setOutcomeValue>
</responseIf>
</responseCondition>
<responseCondition>
<responseIf>
<match>
<variable
identifier="PLURALFIRST"/>
<correct
identifier="PLURALFIRST"/>
</match>
<setOutcomeValue identifier="SCORE">
<sum>
<variable identifier="SCORE"/>
<baseValue baseType="integer">1</baseValue>
</sum>
</setOutcomeValue>
</responseIf>
</responseCondition>
<responseCondition>
<responseIf>
<match>
<variable
identifier="PLURALSECOND"/>
<correct
identifier="PLURALSECOND"/>
</match>
<setOutcomeValue identifier="SCORE">
<sum>
<variable identifier="SCORE"/>
<baseValue baseType="integer">1</baseValue>
</sum>
</setOutcomeValue>
</responseIf>
</responseCondition>
<responseCondition>
<responseIf>
<match>
<variable
identifier="PLURALTHIRD"/>
<correct
identifier="PLURALTHIRD"/>
</match>
<setOutcomeValue identifier="SCORE">
<sum>
<variable identifier="SCORE"/>
<baseValue baseType="integer">1</baseValue>
</sum>
</setOutcomeValue>
</responseIf>
</responseCondition>
<responseCondition>
<responseIf>
<match>
<variable identifier="SCORE"/>
<baseValue
baseType="integer">6</baseValue>
</match>
<setOutcomeValue
identifier="FEEDBACK">
<baseValue
baseType="identifier">ALLCORRECT</baseValue>
</setOutcomeValue>
</responseIf>
<responseElseIf>
<gte>
<variable identifier="SCORE"/>
<baseValue
baseType="integer">4</baseValue>
</gte>
<setOutcomeValue identifier="FEEDBACK">
<multiple>
<baseValue
baseType="identifier">MOSTCORRECT</baseValue>
<baseValue
baseType="identifier">CONJUGATION</baseValue>
</multiple>
</setOutcomeValue>
</responseElseIf>
<responseElse>
<setOutcomeValue identifier="FEEDBACK">
<multiple>
<baseValue baseType="identifier">WRONG</baseValue>
<baseValue
baseType="identifier">CONJUGATION</baseValue>
</multiple>
</setOutcomeValue>
</responseElse>
</responseCondition>
</responseProcessing>
<modalFeedback outcomeIdentifier="FEEDBACK"
identifier="ALLCORRECT" showHide="show">
Yes, you have all the forms correct.</modalFeedback>
<modalFeedback outcomeIdentifier="FEEDBACK"
identifier="MOSTCORRECT" showHide="show">
You have most of the forms correct.</modalFeedback>
<modalFeedback outcomeIdentifier="FEEDBACK"
identifier="WRONG" showHide="show">
You have fewer than four forms correct
.</modalFeedback>
<modalFeedback outcomeIdentifier="FEEDBACK"
identifier="CONJUGATION" showHide="show">
Here is the conjugation of 'haben':
</modalFeedback>
</assessmentItem>
________
Yahoo! Clever: Stellen Sie Fragen und finden Sie Antworten. Teilen Sie Ihr Wissen. www.yahoo.de/clever
More information about the IMS-QTI
mailing list