[QTI] feedbackInline for <textEntryInteraction>
Markus Schmitt
markus.schmitt33333 at yahoo.de
Mon Sep 17 16:15:56 BST 2007
Hello,
Is it possible to display an feedbackInline for
textEntryInteractions?
The example below should dislay the text "correct"
beside textEntryInteraction textBox if the user
inserted the correct term.
Another question. Can anyone tell me if the
implementation of responseProcessing and modalFeedback
in my example is correct. The Question Item should
have the following behaviour: If the user inserted 4
correct answers, he gets one point and the
modalFeedback "all correct". For 3 correct answers the
feedback "most correct". The modalFeedback GENERAL is
shown for all cases.
Many thanks for your answers,
Markus
code of the example
-------------------------------------------------
<assessmentItem
xmlns="http://www.imsglobal.org/xsd/imsqti_v2p1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
identifier="A446" title="Conjugation of haben"
adaptive="false" timeDependent="false"
xsi:schemaLocation="http://www.imsglobal.org/xsd/imsqti_v2p1
..\imsqti_v2p1.xsd">
<responseDeclaration identifier="RESPONSE_F1"
cardinality="single" baseType="string">
<correctResponse>
<value>philen</value>
</correctResponse>
</responseDeclaration>
<responseDeclaration identifier="RESPONSE_F2"
cardinality="single" baseType="string">
<correctResponse>
<value>a</value>
</correctResponse>
</responseDeclaration>
<responseDeclaration identifier="RESPONSE_F3"
cardinality="single" baseType="string">
<correctResponse>
<value>philen</value>
</correctResponse>
</responseDeclaration>
<responseDeclaration identifier="RESPONSE_F3"
cardinality="single" baseType="string">
<correctResponse>
<value></value>
</correctResponse>
</responseDeclaration>
<outcomeDeclaration identifier="SCORE"
cardinality="single" baseType="float">
<defaultValue>
<value>0</value>
</defaultValue>
</outcomeDeclaration>
<outcomeDeclaration identifier="FEEDBACK"
cardinality="single" baseType="identifier"/>
<itemBody>
<h2>Bitte vervollständigen Sie den Lückentext.
Manche Lücken können auch leer richtig sein.</h2>
<p>
Die lipo
<textEntryInteraction
responseIdentifier="RESPONSE_F1" expectedLength="8"/>
Schwänze der Doppellipidschicht sind zu einander
gekehrt. Sie sind
<textEntryInteraction
responseIdentifier="RESPONSE_F2" expectedLength="8"/>
polar, im Gegensatz zu den hydro <textEntryInteraction
responseIdentifier="RESPONSE_F3" expectedLength="8"/>
Enden. Die sind <textEntryInteraction
responseIdentifier="RESPONSE_F4" expectedLength="8"/>
polar und ragen in das wässrige Umgebungsmillieu.
</p>
</itemBody>
<responseProcessing>
<responseCondition>
<responseIf>
<match>
<variable identifier="RESPONSE_F1"/>
<correct identifier="RESPONSE_F1"/>
</match>
<setOutcomeValue identifier="SCORE">
<sum>
<variable identifier="SCORE"/>
<baseValue baseType="float">0,25</baseValue>
</sum>
</setOutcomeValue>
</responseIf>
</responseCondition>
<responseCondition>
<responseIf>
<match>
<variable identifier="RESPONSE_F2"/>
<correct identifier="RESPONSE_F2"/>
</match>
<setOutcomeValue identifier="SCORE">
<sum>
<variable identifier="SCORE"/>
<baseValue baseType="float">0,25</baseValue>
</sum>
</setOutcomeValue>
</responseIf>
</responseCondition>
<responseCondition>
<responseIf>
<match>
<variable identifier="RESPONSE_F5"/>
<correct identifier="RESPONSE_F5"/>
</match>
<setOutcomeValue identifier="SCORE">
<sum>
<variable identifier="SCORE"/>
<baseValue baseType="float">0,25</baseValue>
</sum>
</setOutcomeValue>
</responseIf>
</responseCondition>
<responseCondition>
<responseIf>
<match>
<variable identifier="RESPONSE_F4"/>
<correct identifier="RESPONSE_F4"/>
</match>
<setOutcomeValue identifier="SCORE">
<sum>
<variable identifier="SCORE"/>
<baseValue baseType="float">0,25</baseValue>
</sum>
</setOutcomeValue>
</responseIf>
</responseCondition>
<responseCondition>
<responseIf>
<match>
<variable identifier="SCORE"/>
<baseValue baseType="float">1</baseValue>
</match>
<setOutcomeValue identifier="FEEDBACK">
<baseValue
baseType="identifier">ALLCORRECT</baseValue>
</setOutcomeValue>
</responseIf>
<responseElseIf>
<gt>
<variable identifier="SCORE"/>
<baseValue baseType="float">0.75</baseValue>
</gt>
<setOutcomeValue identifier="FEEDBACK">
<baseValue
baseType="identifier">MOSTCORRECT</baseValue>
</setOutcomeValue>
</responseElse>
</responseCondition>
<setOutcomeValue identifier="FEEDBACK">
<baseValue
baseType="identifier">GENERAL</baseValue>
</setOutcomeValue>
</responseProcessing>
<modalFeedback outcomeIdentifier="FEEDBACK"
identifier="GENERAL" showHide="show">
General Text
</modalFeedback>
<modalFeedback outcomeIdentifier="FEEDBACK"
identifier="ALLCORRECT" showHide="show">
all Correct
</modalFeedback>
<modalFeedback outcomeIdentifier="FEEDBACK"
identifier="MOSTCORRECT" showHide="show">
most Correct
</modalFeedback>
</assessmentItem>
__________________________________
Yahoo! Clever - Der einfachste Weg, Fragen zu stellen und Wissenswertes mit Anderen zu teilen. www.yahoo.de/clever
More information about the IMS-QTI
mailing list