Match Interaction - Cloning and Limits

Match interaction are those that operate in much the same way as multiple choice interaction, however the presentation is such that the student must move the items from an initial bay of selections into the proper bay locations. These interactions are the electronic kin to pen-and-paper matching questions where draw lines connecting items in a list on one side of the page to the corresponding items on the other side of the page.

A match interaction is comprised of two sets of of items (i.e., simpleAssociableChoice items) grouped within simpleMatchSet tags. The first set defines the draggers which will begin in a single origin bay. The second set defines the various target bays in which the draggers can be placed. Each dragger can be moved into a target bay to create a directedPair answer.

Starting with TN8 version 8.3, the draggers will maintain their initial order within the origin bay if they are removed from a target bay, dropped outside of the various defined bays, or returned to the origin bay.

Cloning

You can specify cloning/limit options for your sources/targets by adjusting the matchMax attribute of each simpleAssociableChoice. Settings for matchMax follow standard QTI conventions:

  • matchMax="0" — means that you can create an unlimited number of cloned choices
  • matchMax="1" — indicates one choice
  • matchMax="2" — indicates two choices
  • etc.
Get Responses: [ Click Get Responses ]
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<assessmentItem 
  xmlns="http://www.imsglobal.org/xsd/imsqti_v2p1" xmlns:xi="http://www.w3.org/2001/XInclude"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
  adaptive="false" identifier="match-cloning-limits" timeDependent="false" 
  title="match" xsi:schemaLocation="http://www.imsglobal.org/xsd/imsqti_v2p1 http://www.imsglobal.org/xsd/imsqti_v2p1.xsd">
  <responseDeclaration baseType="directedPair" cardinality="multiple" identifier="RESPONSE"/>
  <outcomeDeclaration baseType="float" cardinality="single" identifier="SCORE" />
  <itemBody>
    <p>
      This is a demonstration of cloning and limits.  Here are the rules for the <strong>source draggers</strong>:
      1.  You can only drag/drop one Capulet and one Demetrius.  2.  You can only drag/drop two Lysander's.  3.  You can drag/drop any number of Prospero's.<br /><br />
      The rules for the <strong>targets</strong> are:  1.  Midsummer-Night's Dream can only hold up to two source draggers.  2.  Romeo and Juliet can only hold up to one source dragger.
      3.  The Tempest can hold any number of source draggers.
    </p>
    <matchInteraction maxAssociations="0" responseIdentifier="RESPONSE" shuffle="true">
      <simpleMatchSet>
        <simpleAssociableChoice identifier="C" matchMax="1">Capulet</simpleAssociableChoice>
        <simpleAssociableChoice identifier="D" matchMax="1">Demetrius</simpleAssociableChoice>
        <simpleAssociableChoice identifier="L" matchMax="2">Lysander</simpleAssociableChoice>
        <simpleAssociableChoice identifier="P" matchMax="0">Prospero</simpleAssociableChoice>
      </simpleMatchSet>
      <simpleMatchSet>
        <simpleAssociableChoice identifier="M" matchMax="2">A Midsummer-Night's Dream</simpleAssociableChoice>
        <simpleAssociableChoice identifier="R" matchMax="1">Romeo and Juliet</simpleAssociableChoice>
        <simpleAssociableChoice identifier="T" matchMax="0">The Tempest</simpleAssociableChoice>
      </simpleMatchSet>
    </matchInteraction>
  </itemBody>
</assessmentItem>

This is a demonstration of cloning and limits. Here are the rules for the source draggers:

  1. You can only drag/drop one Capulet and one Demetrius.
  2. You can only drag/drop two Lysander's.
  3. You can drag/drop any number of Prospero's.

The rules for the target bays are:

  1. Midsummer-Night's Dream can only hold up to two source draggers.
  2. Romeo and Juliet can only hold up to one source dragger.
  3. The Tempest can hold any number of source draggers.
  • Capulet
  • Demetrius
  • Lysander
  • Prospero
  • A Midsummer-Night's Dream
  • Romeo and Juliet
  • The Tempest