[QTI] feedbackInline for <textEntryInteraction>
Markus Schmitt
markus.schmitt33333 at yahoo.de
Tue Sep 18 15:11:48 BST 2007
Hello Niall,
Many thanks for your modifications.
Best regards,
Markus
--- Niall Barr <niall at nbsoftware.com> schrieb:
> Markus Schmitt wrote:
> > Hello,
> >
> > Is it possible to display an feedbackInline for
> > textEntryInteractions?
> >
> I think the modifications I've made to your example
> show how to do this.
>
> Niall.
>
> <assessmentItem
> xmlns="http://www.imsglobal.org/xsd/imsqti_v2p1"
> identifier="A446" title="Conjugation of haben"
> adaptive="false"
> timeDependent="false"
> xmlns:lip="http://www.imsglobal.org/xsd/imslip_v1p0"
>
> xmlns:m="http://www.w3.org/1998/Math/MathML"
> xmlns:xi="http://www.w3.org/2001/XInclude"
>
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>
>
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_F4"
> cardinality="single"
> baseType="string">
> <correctResponse>
> <value/>
> </correctResponse>
> </responseDeclaration>
> <outcomeDeclaration identifier="SCORE"
> cardinality="single"
> baseType="float">
> <defaultValue>
> <value>0</value>
> </defaultValue>
> </outcomeDeclaration>
> <outcomeDeclaration identifier="FEEDBACK"
> cardinality="single"
> baseType="identifier"/>
> <outcomeDeclaration identifier="FEEDBACK_F1"
> 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"/><feedbackInline
> outcomeIdentifier="FEEDBACK_F1"
> identifier="correct"
> showHide="show">Correct</feedbackInline>
> <span>Schwänze der Doppellipidschicht
> sind zu einander
> gekehrt. Sie sind</span>
> <textEntryInteraction
> responseIdentifier="RESPONSE_F2"
> expectedLength="8"/><span>polar, im Gegensatz zu den
> hydro </span>
> <textEntryInteraction
> responseIdentifier="RESPONSE_F3"
> expectedLength="8"/><span>Enden. Die sind </span>
> <textEntryInteraction
> responseIdentifier="RESPONSE_F4"
> expectedLength="8"/><span>
> polar und ragen in das wässrige
> Umgebungsmillieu.</span>
> </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>
> <setOutcomeValue
> identifier="FEEDBACK_F1">
> <baseValue
> baseType="identifier">correct</baseValue>
> </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_F3"/>
> <correct
> identifier="RESPONSE_F3"/>
> </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>
> </responseElseIf>
> </responseCondition>
> <setOutcomeValue identifier="FEEDBACK">
> <baseValue
> baseType="identifier">GENERAL</baseValue>
>
=== message truncated ===
__________________________________
Alles was der Gesundheit und Entspannung dient. BE A BETTER MEDIZINMANN! www.yahoo.de/clever
More information about the IMS-QTI
mailing list