[QTI] question on preConditions
Steve Lay
swl10 at cam.ac.uk
Fri Sep 28 15:52:07 BST 2007
Anthony,
This is an interesting use case. If there is no responseProcessing
element in an item then you won't need outcomes and nothing will happen
when the student submits their responses. (At the test level,
outcomeProcessing might be triggered but you are not required to include
that either.)
So there doesn't appear to be any reason why you shouldn't use
preCondition in the way you suggest. The only thing to point out is
that you could even use the <correct identifier="item1.RESPONSE"/>
instead of the baseValue element if you wanted.
Steve
Anthony Lymer wrote:
> Hello everybody,
>
>
>
> Thank you very much for all the answers on my previous question..
>
>
>
> I have another question about preconditions in QTI 2.1…
>
> As I said in my other mail, I don’t consider to use the QTI element
> responseProcessing or any outcomeVariables.
>
> Would it be conform to QTI 2.1 if I don’t use responseProcessing, but
> still use preconditions?
>
> I would save the answers during the test in a database and if a
> precondition has to be evaluated, get the saved response and check if
> the user answered the question correctly…
>
>
>
> Below are sample xml docs, to make my idea clear (hopefully :-)):
>
>
>
> *AssessmentItem:*
>
>
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <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=" item1" title="item1" adaptive="false"
> timeDependent="false">
>
> <responseDeclaration identifier="RESPONSE"
> cardinality="multiple" baseType="identifier">
>
> <correctResponse>
>
> <value>answer1</value>
>
> </correctResponse>
>
> </responseDeclaration>
>
> <itemBody>
>
> <choiceInteraction
> responseIdentifier="RESPONSE" shuffle="false" maxChoices="0">
>
> <simpleChoice
> identifier="answer1"> answer text 1 </simpleChoice>
>
> <simpleChoice
> identifier="answer2"> answer text 2 </simpleChoice>
>
> </choiceInteraction>
>
> </itemBody>
>
> </assessmentItem>
>
>
>
>
>
> *AssessmentSection (the AssessmentTest part and other assessmentSections
> were left out, to make the mail shorter):*
>
>
>
> <assessmentSection identifier="section1" visible="true" title=" section1">
>
> <preCondition>
>
> <match>
>
> <baseValue baseType="identifier">answer1</baseValue>
>
> <variable identifier=" item1.RESPONSE"/>
>
> </match>
>
> </preCondition>
>
> <assessmentItemRef identifier="item2" href=" item2.xml"/>
>
> <assessmentItemRef identifier="item3 " href=" item3.xml "/>
>
> </assessmentSection>
>
>
>
> Thanks a lot,
>
>
>
> Anthony
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> IMS-QTI mailing list
> IMS-QTI at lists.ucles.org.uk
> http://lists.ucles.org.uk/lists/listinfo/ims-qti
More information about the IMS-QTI
mailing list