<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE assessmentItem>
<assessmentItem xmlns="http://www.imsglobal.org/xsd/imsqti_v2p1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.imsglobal.org/xsd/imsqti_v2p1 http://www.imsglobal.org/xsd/qti/qtiv2p1/imsqti_v2p1.xsd" identifier="sc1d" title="sc1d" adaptive="false" timeDependent="false">
  <responseDeclaration identifier="RESPONSE" cardinality="single" baseType="identifier">
    <correctResponse>
      <value>ChoiceA</value>
    </correctResponse>
  </responseDeclaration>
  <outcomeDeclaration identifier="SCORE" cardinality="single" baseType="float">
    <defaultValue>
      <value>0</value>
    </defaultValue>
  </outcomeDeclaration>
  <outcomeDeclaration identifier="MAXSCORE" cardinality="single" baseType="float">
    <defaultValue>
      <value>1</value>
    </defaultValue>
  </outcomeDeclaration>
  <outcomeDeclaration identifier="MINSCORE" cardinality="single" baseType="float">
    <defaultValue>
      <value>0</value>
    </defaultValue>
  </outcomeDeclaration>
  <outcomeDeclaration identifier="FEEDBACKBASIC" cardinality="single" baseType="identifier">
    <defaultValue>
      <value>empty</value>
    </defaultValue>
  </outcomeDeclaration>
  <outcomeDeclaration identifier="FEEDBACKMODAL" cardinality="multiple" baseType="identifier"/>
  <itemBody>
    <p>Which version of the QTI standard is used by the R package rqti?</p>
    <choiceInteraction responseIdentifier="RESPONSE" shuffle="false" maxChoices="1" orientation="vertical">
      <simpleChoice identifier="ChoiceA">2.1</simpleChoice>
      <simpleChoice identifier="ChoiceB">1.2</simpleChoice>
      <simpleChoice identifier="ChoiceC">3.0</simpleChoice>
      <simpleChoice identifier="ChoiceD">2.2</simpleChoice>
    </choiceInteraction>
  </itemBody>
  <responseProcessing>
    <responseCondition>
      <responseIf>
        <isNull>
          <variable identifier="RESPONSE"/>
        </isNull>
      </responseIf>
      <responseElseIf>
        <match>
          <variable identifier="RESPONSE"/>
          <correct identifier="RESPONSE"/>
        </match>
        <setOutcomeValue identifier="SCORE">
          <variable identifier="MAXSCORE"/>
        </setOutcomeValue>
      </responseElseIf>
    </responseCondition>
    <responseCondition>
      <responseIf>
        <gt>
          <variable identifier="SCORE"/>
          <variable identifier="MAXSCORE"/>
        </gt>
        <setOutcomeValue identifier="SCORE">
          <variable identifier="MAXSCORE"/>
        </setOutcomeValue>
      </responseIf>
    </responseCondition>
    <responseCondition>
      <responseIf>
        <lt>
          <variable identifier="SCORE"/>
          <variable identifier="MINSCORE"/>
        </lt>
        <setOutcomeValue identifier="SCORE">
          <variable identifier="MINSCORE"/>
        </setOutcomeValue>
      </responseIf>
    </responseCondition>
    <responseCondition>
      <responseIf>
        <isNull>
          <variable identifier="RESPONSE"/>
        </isNull>
        <setOutcomeValue identifier="FEEDBACKBASIC">
          <baseValue baseType="identifier">empty</baseValue>
        </setOutcomeValue>
      </responseIf>
      <responseElseIf>
        <lt>
          <variable identifier="SCORE"/>
          <variable identifier="MAXSCORE"/>
        </lt>
        <setOutcomeValue identifier="FEEDBACKBASIC">
          <baseValue baseType="identifier">incorrect</baseValue>
        </setOutcomeValue>
      </responseElseIf>
      <responseElse>
        <setOutcomeValue identifier="FEEDBACKBASIC">
          <baseValue baseType="identifier">correct</baseValue>
        </setOutcomeValue>
      </responseElse>
    </responseCondition>
    <responseCondition>
      <responseIf>
        <and>
          <gte>
            <variable identifier="SCORE"/>
            <baseValue baseType="float">0</baseValue>
          </gte>
        </and>
        <setOutcomeValue identifier="FEEDBACKMODAL">
          <multiple>
            <variable identifier="FEEDBACKMODAL"/>
            <baseValue baseType="identifier">modal_feedback</baseValue>
          </multiple>
        </setOutcomeValue>
      </responseIf>
    </responseCondition>
  </responseProcessing>
  <modalFeedback identifier="modal_feedback" outcomeIdentifier="FEEDBACKMODAL" showHide="show">
    <p>The used qti version is 2.1.</p>
  </modalFeedback>
</assessmentItem>
