ZedAI XForms QTI Example 7

From zedwiki

Jump to: navigation, search

Example 7

Image:Example7.jpg

XForms

Question 1 (the main focus of this example) cannot be represented in XForms, as such, an XForms example is not provided.

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 03</title>
  </head>
  <body>
    <h>A Short Article</h>
    <p>Here's a short article that has questions related to it.</p>
    <!--Due to the structure of hottextInteraction, the entire reading passage must be a 
      part of the question.  This is a very problematic situation.-->
    <qti:assessmentItem identifier="page57" title="Lorem Ipsum" adaptive="false" 
      timeDependent="false">
      <qti:responseDeclaration identifier="q1" cardinality="multiple" 
        baseType="identifier"/>
      <qti:responseDeclaration identifier="q2" cardinality="single"/>
      <qti:itemBody>
        <qti:h1>Lorem Ipsum Heading</qti:h1>
        <qti:hottextInteraction responseIdentifier="q1" maxChoices="0">
          <qti:p>
            <qti:hottext identifier="1">Mauris eu diam vitae risus placerat 
              commodo.</qti:hottext> 
            <qti:hottext identifier="2">Duis bibendum.</qti:hottext> 
            <qti:hottext identifier="3">Vivamus nec ante.</qti:hottext> 
            <qti:hottext identifier="4">Donec sed arcu sit amet nulla faucibus 
              ultrices.</qti:hottext> 
            <qti:hottext identifier="5">Lorem ipsum dolor sit amet, consectetur 
              adipiscing elit.</qti:hottext>
            <!--Several sentences are omitted for brevity.-->
            <qti:hottext identifier="6">Duis nec odio.</qti:hottext>
          </qti:p>
          <qti:p>
            <qti:hottext identifier="7">Vestibulum aliquet enim nec neque.
              </qti:hottext> 
            <qti:hottext identifier="8">Maecenas pharetra nisi non tellus.
              </qti:hottext> 
            <qti:hottext identifier="9">Cras laoreet nunc et magna.
              </qti:hottext> 
            <qti:hottext identifier="10">Vestibulum sed elit.</qti:hottext>
            <qti:hottext identifier="11">Donec hendrerit.</qti:hottext>
            <!--Several sentences are omitted for brevity.-->
            <qti:hottext identifier="12">Donec consequat felis vitae nulla.
              </qti:hottext> 
          </qti:p>
          <qti:rubricBlock view="candidate">
            <qti:ol>
              <qti:li>Underline three words that start with the letter "N".</qti:li>
              <qti:li>What is the last word of the first paragraph?
                <qti:textEntryInteraction responseIdentifier="name"/>
              </qti:li>
            </qti:ol>
          </qti:rubricBlock>
        </qti:hottextInteraction>
      </qti:itemBody>
    </qti:assessmentItem>
  </body>
</html>
Personal tools