Graphic Associate (QTI)
A graphic associate interaction is a graphic interaction with a corresponding set of choices that are defined as areas of the graphic image. The candidate’s task is to associate the areas (hotspots) with each other. The graphic associate interaction should only be used when the graphical relationship of the choices with respect to each other (as represented by the graphic image) is important to the needs of the item. Otherwise, associateInteraction should be used instead with separate Material for each option. The delivery engine must clearly indicate all defined area(s) of the image. The graphicAssociateInteraction must be bound to a response variable with base-type pair and either single or multiple cardinality. The relevant classes are:
Data Model


Examples

This example illustrates the graphicAssociateInteraction. The task is similar to Shakespearian Rivals except that the choices are presented as hotspots on a graphic image. Notice that matchMax is set to three for each of the hotspots allowing the candidate to associate each hotspot up to three times (in other words, with all the other hotspots if desired).
<assessmentItem xsi:schemaLocation="http://www.imsglobal.org/xsd/imsqti_v2p2 http://www.imsglobal.org/xsd/qti/qtiv2p2/imsqti_v2p2p2.xsd" identifier="graphicAssociate" title="Low-cost Flying" adaptive="false" timeDependent="false">
<responseDeclaration identifier="RESPONSE" cardinality="multiple" baseType="pair">
<correctResponse>
<value>C B</value>
<value>C D</value>
</correctResponse>
<mapping lowerBound="0" defaultValue="0">
<mapEntry mapKey="A B" mappedValue="-1"/>
<mapEntry mapKey="A C" mappedValue="-1"/>
<mapEntry mapKey="A D" mappedValue="-1"/>
<mapEntry mapKey="B C" mappedValue="1"/>
<mapEntry mapKey="B D" mappedValue="-1"/>
<mapEntry mapKey="C D" mappedValue="1"/>
</mapping>
</responseDeclaration>
<outcomeDeclaration identifier="SCORE" cardinality="single" baseType="float"/>
<itemBody>
<p>
Frizz, a new low cost airline, already operates a service connecting Manchester and Edinburgh but has recently opened two new routes: a service between London and Edinburgh and one between London and Manchester.
</p>
<graphicAssociateInteraction responseIdentifier="RESPONSE" maxAssociations="3">
<prompt>Mark the airline's new routes on the airport map:</prompt>
<object type="image/png" width="206" height="280" data="images/ukair.png">UK Map</object>
<associableHotspot shape="circle" coords="77,115,8" identifier="A" matchMax="3"/>
<associableHotspot shape="circle" coords="118,184,8" identifier="B" matchMax="3"/>
<associableHotspot shape="circle" coords="150,235,8" identifier="C" matchMax="3"/>
<associableHotspot shape="circle" coords="96,114,8" identifier="D" matchMax="3"/>
</graphicAssociateInteraction>
</itemBody>
<responseProcessing template="http://www.imsglobal.org/question/qti_v2p2/rptemplates/map_response"/>
</assessmentItem>