ZedAI XForms QTI Example 6

From zedwiki

Jump to: navigation, search

Example 6

Image:Example6.jpg

XForms

This question cannot be represented in XForms.

QTI

<html xmlns="http://www.w3.org/2002/06/xhtml2/" 
  xmlns:qti="http://www.imsglobal.org/xsd/imsqti_v2p0" 
  xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
  xmlns:ev="http://www.w3.org/2001/xml-events" 
  xmlns:my="SYSTEM">
  <head>
    <title>XHTML2 + QTI Impossible in XForms Example 02</title>
  </head>
  <body>
    <h>Sorting</h>
    <p>Identify what's the same about the items in the circle. Draw arrows to illustrate 
      the other items that should be in the circle.</p>
    <qti:assessmentItem identifier="graphicAssociate" title="Question" adaptive="false" 
      timeDependent="false">
      <qti:responseDeclaration identifier="q" cardinality="multiple" baseType="pair" />
      <qti:itemBody>
        <qti:graphicAssociateInteraction responseIdentifier="q" maxAssociations="11">
          <qti:prompt>Draw arrows to illustrate the other items that should be in 
            the circle.</qti:prompt>
          <qti:object type="image/png" width="206" height="280" 
            data="images/buttons.png">Group of squares.</qti:object>
          <!--Note coordinates are not set to real values.-->
          <qti:associableHotspot shape="square" coords="77,115,8" identifier="b1" 
            matchMax="1"/>
          <qti:associableHotspot shape="square" coords="77,115,8" identifier="b2" 
            matchMax="1"/>
          <qti:associableHotspot shape="square" coords="77,115,8" identifier="b3" 
            matchMax="1"/>
          <qti:associableHotspot shape="square" coords="77,115,8" identifier="b4" 
            matchMax="1"/>
        </qti:graphicAssociateInteraction>
      </qti:itemBody>
    </qti:assessmentItem>
  </body>
</html>
Personal tools