[QTI] question on preConditions
Anthony Lymer
a.lymer at gmx.ch
Sun Sep 23 19:57:09 BST 2007
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /public/ims-qti/attachments/20070923/7bce7de4/attachment.html
More information about the IMS-QTI
mailing list