﻿<?xml version="1.0" encoding="utf-8"?>
<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="fitb_exercise_20382" title="31" adaptive="false" timeDependent="false">
  <!--RESPONSE DECLARATIONS-->
  <responseDeclaration identifier="RESPONSE_1" cardinality="single" baseType="string">
    <mapping defaultValue="0.0">
      <mapEntry mapKey="per la" mappedValue="1.0" caseSensitive="false" />
      <mapEntry mapKey="per" mappedValue="0.0" caseSensitive="false" />
      <mapEntry mapKey="per il" mappedValue="0.0" caseSensitive="false" />
      <mapEntry mapKey="per lo" mappedValue="0.0" caseSensitive="false" />
      <mapEntry mapKey="in" mappedValue="0.0" caseSensitive="false" />
      <mapEntry mapKey="nella" mappedValue="0.0" caseSensitive="false" />
      <mapEntry mapKey="a" mappedValue="0.0" caseSensitive="false" />
      <mapEntry mapKey="alla" mappedValue="0.0" caseSensitive="false" />
    </mapping>
  </responseDeclaration>
  <responseDeclaration identifier="RESPONSE_2" cardinality="single" baseType="string">
    <mapping defaultValue="0.0">
      <mapEntry mapKey="in" mappedValue="1.0" caseSensitive="false" />
      <mapEntry mapKey="a" mappedValue="0.0" caseSensitive="false" />
      <mapEntry mapKey="nell'" mappedValue="0.0" caseSensitive="false" />
      <mapEntry mapKey="per l'" mappedValue="0.0" caseSensitive="false" />
      <mapEntry mapKey="all'" mappedValue="0.0" caseSensitive="false" />
      <mapEntry mapKey="ad" mappedValue="0.0" caseSensitive="false" />
    </mapping>
  </responseDeclaration>
  <responseDeclaration identifier="RESPONSE_3" cardinality="single" baseType="string">
    <mapping defaultValue="0.0">
      <mapEntry mapKey="nella" mappedValue="1.0" caseSensitive="false" />
      <mapEntry mapKey="alla" mappedValue="1.0" caseSensitive="false" />
      <mapEntry mapKey="in" mappedValue="0.0" caseSensitive="false" />
      <mapEntry mapKey="dalla" mappedValue="0.0" caseSensitive="false" />
      <mapEntry mapKey="da" mappedValue="0.0" caseSensitive="false" />
      <mapEntry mapKey="nel" mappedValue="0.0" caseSensitive="false" />
      <mapEntry mapKey="nello" mappedValue="0.0" caseSensitive="false" />
      <mapEntry mapKey="nela" mappedValue="0.0" caseSensitive="false" />
    </mapping>
  </responseDeclaration>
  <responseDeclaration identifier="RESPONSE_4" cardinality="single" baseType="string">
    <mapping defaultValue="0.0">
      <mapEntry mapKey="in" mappedValue="1.0" caseSensitive="false" />
      <mapEntry mapKey="alla" mappedValue="1.0" caseSensitive="false" />
      <mapEntry mapKey="nella" mappedValue="0.0" caseSensitive="false" />
      <mapEntry mapKey="a" mappedValue="0.0" caseSensitive="false" />
      <mapEntry mapKey="da" mappedValue="0.0" caseSensitive="false" />
      <mapEntry mapKey="dalla" mappedValue="0.0" caseSensitive="false" />
      <mapEntry mapKey="su" mappedValue="0.0" caseSensitive="false" />
      <mapEntry mapKey="sulla" mappedValue="0.0" caseSensitive="false" />
    </mapping>
  </responseDeclaration>
  <responseDeclaration identifier="RESPONSE_5" cardinality="single" baseType="string">
    <mapping defaultValue="0.0">
      <mapEntry mapKey="di" mappedValue="0.0" caseSensitive="false" />
      <mapEntry mapKey="dalla" mappedValue="0.0" caseSensitive="false" />
      <mapEntry mapKey="dal" mappedValue="0.0" caseSensitive="false" />
      <mapEntry mapKey="per" mappedValue="0.0" caseSensitive="false" />
      <mapEntry mapKey="a" mappedValue="0.0" caseSensitive="false" />
      <mapEntry mapKey="da" mappedValue="1.0" caseSensitive="false" />
    </mapping>
  </responseDeclaration>
  <responseDeclaration identifier="RESPONSE_6" cardinality="single" baseType="string">
    <mapping defaultValue="0.0">
      <mapEntry mapKey="nell'" mappedValue="1.0" caseSensitive="false" />
      <mapEntry mapKey="all'" mappedValue="1.0" caseSensitive="false" />
      <mapEntry mapKey="per l'" mappedValue="1.0" caseSensitive="false" />
      <mapEntry mapKey="in" mappedValue="0.0" caseSensitive="false" />
      <mapEntry mapKey="a" mappedValue="0.0" caseSensitive="false" />
      <mapEntry mapKey="per" mappedValue="0.0" caseSensitive="false" />
      <mapEntry mapKey="nel" mappedValue="0.0" caseSensitive="false" />
      <mapEntry mapKey="nel'" mappedValue="0.0" caseSensitive="false" />
      <mapEntry mapKey="al" mappedValue="0.0" caseSensitive="false" />
      <mapEntry mapKey="al'" mappedValue="0.0" caseSensitive="false" />
    </mapping>
  </responseDeclaration>
  <responseDeclaration identifier="RESPONSE_7" cardinality="single" baseType="string">
    <mapping defaultValue="0.0">
      <mapEntry mapKey="a" mappedValue="1.0" caseSensitive="false" />
      <mapEntry mapKey="in" mappedValue="0.0" caseSensitive="false" />
      <mapEntry mapKey="alla" mappedValue="0.0" caseSensitive="false" />
      <mapEntry mapKey="al" mappedValue="0.0" caseSensitive="false" />
      <mapEntry mapKey="nella" mappedValue="0.0" caseSensitive="false" />
      <mapEntry mapKey="nel" mappedValue="0.0" caseSensitive="false" />
    </mapping>
  </responseDeclaration>
  <responseDeclaration identifier="RESPONSE_8" cardinality="single" baseType="string">
    <mapping defaultValue="0.0">
      <mapEntry mapKey="in" mappedValue="1.0" caseSensitive="false" />
      <mapEntry mapKey="nel" mappedValue="0.0" caseSensitive="false" />
      <mapEntry mapKey="nello" mappedValue="0.0" caseSensitive="false" />
      <mapEntry mapKey="al" mappedValue="0.0" caseSensitive="false" />
    </mapping>
  </responseDeclaration>
  <responseDeclaration identifier="RESPONSE_9" cardinality="single" baseType="string">
    <mapping defaultValue="0.0">
      <mapEntry mapKey="al" mappedValue="1.0" caseSensitive="false" />
      <mapEntry mapKey="nel" mappedValue="0.0" caseSensitive="false" />
      <mapEntry mapKey="a" mappedValue="0.0" caseSensitive="false" />
      <mapEntry mapKey="all" mappedValue="0.0" caseSensitive="false" />
      <mapEntry mapKey="all'" mappedValue="0.0" caseSensitive="false" />
      <mapEntry mapKey="in" mappedValue="0.0" caseSensitive="false" />
    </mapping>
  </responseDeclaration>
  <responseDeclaration identifier="RESPONSE_10" cardinality="single" baseType="string">
    <mapping defaultValue="0.0">
      <mapEntry mapKey="in" mappedValue="1.0" caseSensitive="false" />
      <mapEntry mapKey="alla" mappedValue="1.0" caseSensitive="false" />
      <mapEntry mapKey="nella" mappedValue="0.0" caseSensitive="false" />
      <mapEntry mapKey="nel" mappedValue="0.0" caseSensitive="false" />
      <mapEntry mapKey="a" mappedValue="0.0" caseSensitive="false" />
      <mapEntry mapKey="al" mappedValue="0.0" caseSensitive="false" />
      <mapEntry mapKey="ala" mappedValue="0.0" caseSensitive="false" />
      <mapEntry mapKey="all" mappedValue="0.0" caseSensitive="false" />
      <mapEntry mapKey="all'" mappedValue="0.0" caseSensitive="false" />
    </mapping>
  </responseDeclaration>
  <!--OUTCOME DECLARATIONS-->
  <outcomeDeclaration identifier="NGAPS" cardinality="single" baseType="float">
    <defaultValue>
      <value>10</value>
    </defaultValue>
  </outcomeDeclaration>
  <outcomeDeclaration identifier="RIGHT" cardinality="single" baseType="float" />
  <outcomeDeclaration identifier="SCORE" cardinality="single" baseType="float" />
  <outcomeDeclaration identifier="MAXSCORE" cardinality="single" baseType="float">
    <defaultValue>
      <value>1</value>
    </defaultValue>
  </outcomeDeclaration>
  <outcomeDeclaration identifier="FEEDBACK" cardinality="single" baseType="identifier" />
  <!--ITEM BODY-->
  <itemBody>
    <div>
      <p>
        <strong>Completare le frasi con le preposizioni semplici o articolate.</strong>
      </p>
    </div>
    <div>
      <p>
        <strong>1. Anch'io vado in vacanza, parto <textEntryInteraction responseIdentifier="RESPONSE_1" expectedLength="6" /> Spagna fra due settimane.</strong>
      </p>
      <p>
        <strong>2. Il professor Lepschy insegna a Reading, <textEntryInteraction responseIdentifier="RESPONSE_2" expectedLength="2" /> Inghilterra.</strong>
      </p>
      <p>
        <strong>3. Ad Assisi <textEntryInteraction responseIdentifier="RESPONSE_3" expectedLength="5" /> chiesa di San Francesco ci sono dei bellissimi affreschi.</strong>
      </p>
      <p>
        <strong>4. Domani devo aprire un conto <textEntryInteraction responseIdentifier="RESPONSE_4" expectedLength="2" /> banca.</strong>
      </p>
      <p>
        <strong>5. Il viaggio <textEntryInteraction responseIdentifier="RESPONSE_5" expectedLength="2" /> Milano a Roma dura circa un'ora in aereo.</strong>
      </p>
      <p>
        <strong>6. Il signor Zolla lavora <textEntryInteraction responseIdentifier="RESPONSE_6" expectedLength="5" /> ufficio commerciale della ditta "Gamma".</strong>
      </p>
      <p>
        <strong>7. Andiamo <textEntryInteraction responseIdentifier="RESPONSE_7" expectedLength="1" /> Torino dove ci aspetta una nostra amica.</strong>
      </p>
      <p>
        <strong>8. Con questo traffico, preferisco andare a piedi <textEntryInteraction responseIdentifier="RESPONSE_8" expectedLength="2" /> centro.</strong>
      </p>
      <p>
        <strong>9. Prima passiamo una settimana <textEntryInteraction responseIdentifier="RESPONSE_9" expectedLength="2" /> lago, poi andiamo in montagna.</strong>
      </p>
      <p>
        <strong>10. Maria e Angelo, venite <textEntryInteraction responseIdentifier="RESPONSE_10" expectedLength="2" /> discoteca con noi stasera?</strong>
      </p>
    </div>
  </itemBody>
  <!--RESPONSE PROCESSING-->
  <responseProcessing>
    <!-- RESPONSE_1 -->
    <responseCondition>
      <responseIf>
        <not>
          <isNull>
            <variable identifier="RESPONSE_1" />
          </isNull>
        </not>
        <setOutcomeValue identifier="RIGHT">
          <sum>
            <variable identifier="RIGHT" />
            <mapResponse identifier="RESPONSE_1" />
          </sum>
        </setOutcomeValue>
      </responseIf>
    </responseCondition>
    <!-- RESPONSE_2 -->
    <responseCondition>
      <responseIf>
        <not>
          <isNull>
            <variable identifier="RESPONSE_2" />
          </isNull>
        </not>
        <setOutcomeValue identifier="RIGHT">
          <sum>
            <variable identifier="RIGHT" />
            <mapResponse identifier="RESPONSE_2" />
          </sum>
        </setOutcomeValue>
      </responseIf>
    </responseCondition>
    <!-- RESPONSE_3 -->
    <responseCondition>
      <responseIf>
        <not>
          <isNull>
            <variable identifier="RESPONSE_3" />
          </isNull>
        </not>
        <setOutcomeValue identifier="RIGHT">
          <sum>
            <variable identifier="RIGHT" />
            <mapResponse identifier="RESPONSE_3" />
          </sum>
        </setOutcomeValue>
      </responseIf>
    </responseCondition>
    <!-- RESPONSE_4 -->
    <responseCondition>
      <responseIf>
        <not>
          <isNull>
            <variable identifier="RESPONSE_4" />
          </isNull>
        </not>
        <setOutcomeValue identifier="RIGHT">
          <sum>
            <variable identifier="RIGHT" />
            <mapResponse identifier="RESPONSE_4" />
          </sum>
        </setOutcomeValue>
      </responseIf>
    </responseCondition>
    <!-- RESPONSE_5 -->
    <responseCondition>
      <responseIf>
        <not>
          <isNull>
            <variable identifier="RESPONSE_5" />
          </isNull>
        </not>
        <setOutcomeValue identifier="RIGHT">
          <sum>
            <variable identifier="RIGHT" />
            <mapResponse identifier="RESPONSE_5" />
          </sum>
        </setOutcomeValue>
      </responseIf>
    </responseCondition>
    <!-- RESPONSE_6 -->
    <responseCondition>
      <responseIf>
        <not>
          <isNull>
            <variable identifier="RESPONSE_6" />
          </isNull>
        </not>
        <setOutcomeValue identifier="RIGHT">
          <sum>
            <variable identifier="RIGHT" />
            <mapResponse identifier="RESPONSE_6" />
          </sum>
        </setOutcomeValue>
      </responseIf>
    </responseCondition>
    <!-- RESPONSE_7 -->
    <responseCondition>
      <responseIf>
        <not>
          <isNull>
            <variable identifier="RESPONSE_7" />
          </isNull>
        </not>
        <setOutcomeValue identifier="RIGHT">
          <sum>
            <variable identifier="RIGHT" />
            <mapResponse identifier="RESPONSE_7" />
          </sum>
        </setOutcomeValue>
      </responseIf>
    </responseCondition>
    <!-- RESPONSE_8 -->
    <responseCondition>
      <responseIf>
        <not>
          <isNull>
            <variable identifier="RESPONSE_8" />
          </isNull>
        </not>
        <setOutcomeValue identifier="RIGHT">
          <sum>
            <variable identifier="RIGHT" />
            <mapResponse identifier="RESPONSE_8" />
          </sum>
        </setOutcomeValue>
      </responseIf>
    </responseCondition>
    <!-- RESPONSE_9 -->
    <responseCondition>
      <responseIf>
        <not>
          <isNull>
            <variable identifier="RESPONSE_9" />
          </isNull>
        </not>
        <setOutcomeValue identifier="RIGHT">
          <sum>
            <variable identifier="RIGHT" />
            <mapResponse identifier="RESPONSE_9" />
          </sum>
        </setOutcomeValue>
      </responseIf>
    </responseCondition>
    <!-- RESPONSE_10 -->
    <responseCondition>
      <responseIf>
        <not>
          <isNull>
            <variable identifier="RESPONSE_10" />
          </isNull>
        </not>
        <setOutcomeValue identifier="RIGHT">
          <sum>
            <variable identifier="RIGHT" />
            <mapResponse identifier="RESPONSE_10" />
          </sum>
        </setOutcomeValue>
      </responseIf>
    </responseCondition>
    <!-- CALCULATE SCORE -->
    <setOutcomeValue identifier="SCORE">
      <divide>
        <variable identifier="RIGHT" />
        <variable identifier="NGAPS" />
      </divide>
    </setOutcomeValue>
    <!-- FEEDBACK -->
    <responseCondition>
      <responseIf>
        <equal>
          <variable identifier="SCORE" />
          <variable identifier="MAXSCORE" />
        </equal>
        <setOutcomeValue identifier="FEEDBACK">
          <baseValue baseType="identifier">correct</baseValue>
        </setOutcomeValue>
      </responseIf>
      <responseElse>
        <setOutcomeValue identifier="FEEDBACK">
          <baseValue baseType="identifier">incorrect</baseValue>
        </setOutcomeValue>
      </responseElse>
    </responseCondition>
  </responseProcessing>
  <!--MODAL FEEDBACK-->
  <modalFeedback identifier="correct" outcomeIdentifier="FEEDBACK" showHide="show" title="Correct">
    <div>All questions are answered correctly!</div>
  </modalFeedback>
  <modalFeedback identifier="incorrect" outcomeIdentifier="FEEDBACK" showHide="show" title="Incorrect">
    <div>
      <p>Not all questions are answered correctly!!</p>
      <p>Try again.</p>
    </div>
  </modalFeedback>
</assessmentItem>